Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#3777 - Cannot enable AGP DMA in Xorg 7

Attached to Project: Arch Linux
Opened by name withheld (Gullible Jones) - Saturday, 14 January 2006, 19:30 GMT
Last edited by Judd Vinet (judd) - Wednesday, 22 February 2006, 08:51 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Jan de Groot (JGC)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I've discovered that, while DRI works from the start with the "via" driver in Xorg 7, I cannot enable AGP DMA. Putting

Option "EnableAGPDMA" "true"

in xorg.conf results in this error message:

(EE) VIA(0): [drm] drmAgpAcquire failed 1023
(EE) VIA(0): [drm] Failed to initialize DMA ring-buffer: 1005

Xorg still starts, and DRI still works fine, but AGP DMA is not enabled. This is not a major issue; however, using AGP DMA significantly improves OpenGL performance, so failing to use it is not desirable.

Also... Can someone confirm this for a driver other than "via"? Does the same error occure with Savage or i810 graphics?
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 18 April 2006, 07:18 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Load your modules in the correct order next time ;)
Comment by Jan de Groot (JGC) - Sunday, 15 January 2006, 14:53 GMT
Somehow I have to use the "OldDMAInit" option for mga to get any DRI on my mga cards. For ati I didn't have problems with it, but 3D is jerky on those cards :(
Comment by name withheld (Gullible Jones) - Sunday, 15 January 2006, 20:49 GMT
Groovy. And that's not even an option for a lot of hardware. *bangs head*
Comment by name withheld (Gullible Jones) - Friday, 10 February 2006, 03:23 GMT
Problem seems to have disappeared:

(**) VIA(0): Option "EnableAGPDMA"
(**) VIA(0): Option: EnableAGPDMA - Enabling AGP DMA

And glxgears gives me 120 more FPS than it did before.

It appears that what solved the problem was removing GLCore from the list of Xorg modules to load. Why this should be, I don't know - I removed it from the list because it apparently doesn't exist as a separate module in Xorg 7, judging from what Xorg's log was saying.
Comment by Judd Vinet (judd) - Wednesday, 22 February 2006, 08:52 GMT
Re-opened by Gullible Jones:

It's back after the latest upgrade:
[proteus@localhost ~]$ cat /var/log/Xorg.0.log | grep EE
Current Operating System: Linux localhost 2.6.15-ARCH #1 SMP PREEMPT Sun Feb 12 18:36:42 CET 2006 i686 (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (II) Loading extension MIT-SCREEN-SAVER (EE) VIA(0): Unknown Card-Ids (1565|1200), report this to the driver maintainer ASAP (EE) VIA(0): [drm] drmAgpAcquire failed 1023 (EE) VIA(0): [drm] Failed to initialize DMA ring-buffer: 1005
Comment by Jan de Groot (JGC) - Saturday, 01 April 2006, 19:02 GMT
What's the status with the latest 2.6.16 kernel from testing? The DRM drivers in that one is several weeks younger than the one you tried when you (re-)opened this bug.
Comment by name withheld (Gullible Jones) - Saturday, 01 April 2006, 23:59 GMT
Still no-go, no AGP DMA. I haven't tried disabling IRQs though - I've seen DisableIRQ used in relation to Unichrome DRI stuff, and I wonder if that isn't the problem...
Comment by name withheld (Gullible Jones) - Sunday, 02 April 2006, 19:45 GMT
Nope, DisableIRQ does not rectify the situation. No idea how to get this working right again...

Loading...