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!
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!
FS#5129 - DRI not happening with Openchrome drivers
Attached to Project:
Arch Linux
Opened by name withheld (Gullible Jones) - Friday, 28 July 2006, 17:31 GMT
Last edited by Jan de Groot (JGC) - Friday, 28 July 2006, 17:47 GMT
Opened by name withheld (Gullible Jones) - Friday, 28 July 2006, 17:31 GMT
Last edited by Jan de Groot (JGC) - Friday, 28 July 2006, 17:47 GMT
|
DetailsIt seems impossible to get direct rendering with the Openchrome drivers from Extra, using either XAA or EXA, even though I have the right modules loaded, X reports success at getting DRI, and xorg.conf is configured properly with a DRI section and all. 'cat /var/log/Xorg.0.log | grep -i 'direct rendering'' gives me this:
(II) VIA(0): direct rendering enabled But glxinfo gives me this: direct rendering: No I've appended my Xorg.0.log file, I haven't seen anything suspicious in it but hopefully someone else might... Until then I am switching back to xf86-video-via. |
This task depends upon
Closed by Jan de Groot (JGC)
Saturday, 12 August 2006, 12:56 GMT
Reason for closing: Fixed
Additional comments about closing: Moved from testing to current, as there's no feedback. We're switching to mesa 6.5 soon anyways due to X.Org 7.1
Saturday, 12 August 2006, 12:56 GMT
Reason for closing: Fixed
Additional comments about closing: Moved from testing to current, as there's no feedback. We're switching to mesa 6.5 soon anyways due to X.Org 7.1
Xorg.0.log
- why is the package in multimedia? it should belong in x11 (extra) or x11-drivers (current).
- DRI modules aren't included, mesa 6.5 drivers should be included
- Shouldn't the package be named xf86-video-openchrome?
- There's a conflicts on the via driver, but the unichrome driver is conflicting also
- autogen.sh is changed to run ./configure --prefix=/usr, this option can get passed to autogen aswell, it will pass all options to ./configure.
I think we've had them all now.
For starters, it *appears* that DRI IS working for me, so I have to figure out why. I wonder if I've compiled it against the wrong kernel. I'm using kernel26 2.6.17.6-1:
***
(II) VIA(0): [drm] Detected AGP vendor 0x1106, device 0x259
(II) VIA(0): [drm] Found AGP v3 compatible device. Trying AGP 8X mode.
(II) VIA(0): [drm] Trying to enable AGP fast writes.
(II) VIA(0): [drm] drmAgpEnabled succeeded
(II) VIA(0): [drm] agpAddr = 0xe0000000
(II) VIA(0): [drm] agpBase = (nil)
(II) VIA(0): [drm] agpAddr = 0xe0000000
(II) VIA(0): [drm] agpSize = 0x01e00000
(II) VIA(0): [drm] agp physical addr = 0x00000000
(II) VIA(0): [dri] use agp.
(II) VIA(0): [drm] Using 61307232 bytes for DRM memory heap.
(II) VIA(0): [dri] frame buffer initialized.
(II) VIA(0): X context handle = 0x1
(II) VIA(0): [drm] installed DRM signal handler
(II) VIA(0): [DRI] installation complete
(II) VIA(0): [dri] kernel data initialized.
(II) VIA(0): [drm] Irq handler installed, using IRQ 10.
(II) VIA(0): [drm] Initialized AGP ring-buffer, size 0x200000 at AGP offset 0x1e
00000.
(II) VIA(0): direct rendering enabled
Fulfilled via DRI at 5532480
(II) VIA(0): Benchmarking video copy. Less is better.
(--) VIA(0): Timed libc YUV420 copy... 3657166. Throughput: 129.8 MiB/s.
(--) VIA(0): Timed kernel YUV420 copy... 3642220. Throughput: 130.3 MiB/s.
(--) VIA(0): Timed SSE YUV420 copy... 2309334. Throughput: 205.6 MiB/s.
(--) VIA(0): Timed MMX YUV420 copy... 3713665. Throughput: 127.8 MiB/s.
(--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU.
(--) VIA(0): Timed MMX2 YUV420 copy... 2361538. Throughput: 201.0 MiB/s.
Freed 5532480 (pool 2)
(--) VIA(0): Using SSE YUV42X copy for video.
(II) VIA(0): [XvMC] Registering viaXvMCPro.
(II) VIA(0): [XvMC] Initialized XvMC extension.
(II) VIA(0): - Done
***
To the other points:
1) Multimedia? It is related to multimedia. It's also related to x11. I don't have a strong preference; I'll move it to x11 if everyone would like.
2) I guess I need to learn more about mesa and DRI modules. Can someone explain why it's working for me? I thought via DRI was in the kernel and that openchrome used the same hooks.
3) I would assert that the package should definitely NOT be called xf86-video-openchrome. To me, that would suggest it's a standard part of the X driver set of packages, which it isn't. Again, happy to hear arguments to the contrary.
4) I will add a conflict with unichrome.
5) I will take the autogen suggestion. Hadn't spotted that shortcut.
2) I guess you have the DRI driver files from unichrome or via installed, those are the same
2a) You can take over the DRI build stuff from unichrome which is or was in testing, that should have mesa 6.5 drivers.
3) ok, nvidia and ati aren't named xf86-video-fglrx and xf86-video-nvidia.
2) I will check into this some more. Maybe I'm not running DRI and it just looks that way. I clearly need to look at all this some more, and once I have, I'll do something with the unichrome DRI stuff or discuss some more in this thread.
- I guess a (make)depends should be added on xorg-server, as the driver compiles stuff from xorg in it (mainly things like ABI versions, nothing special furthermore)
- You're running autogen, so add a makedepends on xorg-util-macros, as xorg-alike packages require these macros to autogenerate.
Although outdated, It builds working DRI stuff. Here DRI (with that PKGBUILD) works like a charm. Maybe It could serve as reference to fix the openchrome in extra. As I'm not the author of the PKGBUILD, I don't fully understand why (or how) it works. I'll figure out and come back to say.
I changed the package to have all the issues fixed and updated to mesa 6.5. The driver has been committed to testing because of the mesa change.
Can anyone tell me if the -2 DRI is working better for them?