FS#6103 - xf86-video-ati-6.6.3-2 contains bad r300_dri.so file

Attached to Project: Arch Linux
Opened by Jacek Poplawski (Jacek Poplawski) - Friday, 29 December 2006, 22:22 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I needed new version of xf86-video-ati to make Blender work correctly, there is very annoying rendering bug in selection mode, which has been fixed in new Mesa, and bugfix is in the Mesa-6.5.2. Thig bug makes Blender almost unusable.

I made full update of my packages, I had current version of mesa, xf86-video-ati, libdrm, libgl-dri and all that stuff. But bug was still there.

So I made very simple thing. I downloaded source of Mesa-6.5.2 from sourceforge, compiled it with command "make linux-dri-x86" then copied file r300_dri.so to the directory /usr/lib/xorg/modules/dri. Bug dissapeared.

The only explaination is that file r300_dri.so in package xf86-video-ati-6.6.3-2 has been build from old Mesa source.

Am I wrong?
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 30 December 2006, 10:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  6.6.3-3 has been built without OPT_FLAGS.
Comment by Jan de Groot (JGC) - Friday, 29 December 2006, 23:10 GMT
The r300_dri.so file in xf86-video-ati 6.6.3-2 is built from 6.5.2 sources as the PKGBUILD says. Could you try recompiling the package from abs to see if it would fix your problem?
If it doesn't: try to remove the line that adds -DGLX_USE_TLS from the PKGBUILD and compile again.
Comment by Jacek Poplawski (Jacek Poplawski) - Saturday, 30 December 2006, 01:12 GMT
I found the reason... it was OPT_FLAGS.
I build your original PKGBUILD and driver worked incorrectly.
Then I removed OPT_FLAGS and rebuild it - now driver works great.
I tried switching packages (between the one from repository and the one I build from modified PKGBUILD) and I am 100% sure that's the reason.
Could you remove OPT_FLAGS from PKGBUILD?

Loading...