Re: New ati-x11-drv packages with dkms support

Matthias Saou <thias@spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net>
Newsgroups gmane.linux.freshrpms.user
Message-ID <[email protected]>
Mike Chambers wrote :

> On Wed, 2006-10-25 at 15:45 +0200, Matthias Saou wrote:
> > Hi,
> > 
> > I've finished some dkms-enabled packages of the ATI binary display
> > drivers for FC6, which are available here for testing :
> > 
> > http://ftp.es6.freshrpms.net/pub/freshrpms/fedora/linux/testing/6/
> > 
> > As I don't have the hardware to test, I could only check that the
> > kernel module gets built properly and load/unload it. A few things are
> > left :
> > 
> > - Get feedback to know if the driver actually work :-)
> > - Find the best way to automatically enable/disable fglrx in xorg.conf
> > - Know if the /etc/fglrxrc and /etc/fglrxprofiles.csv files are useful
> > - Know if the devel sub-package is useful
> > 
> 
> Radeon 9000 Pro AGP on my system.
> 
> Upon installing the rpm and rebooting, at one point the dkms starting,
> the fglrx module (loading or installing?) and it failed with exit
> status: 10 I think it was.

Yup. I got my hands on ATI hardware and tested too. Fixes required :
- You need to replace in /usr/src/fglrx-*/Makefile :
    -DPAGE_ATTR_FIX=$(PAGE_ATTR_FIX) \
  With :
    -DPAGE_ATTR_FIX=0
  (for some reason this wasn't needed on the x86_64 I first tested)
- You need to make sure the fglrx_dri.so goes in the right place :
    /usr/lib/xorg/modules/ (wrong) to
    /usr/lib/dri/ (right)
  And that it has proper selinux context if you copy it manually :
    chcon -u system_u -t textrel_shlib_t /usr/lib/dri/fglrx_dri.so

I'll release 8.29.6-2 packages in a few hours with these fixes in. I've
gotten to the point where the driver works, desktop effects obviously
don't because of the still missing GL extensions (the
"/usr/lib/dri/fglrx_dri.so: undefined symbol:
__driCreateNewScreen_20050727" error), but hardware 3D acceleration
doesn't seem to work either, but I can't seem to figure why... as :
- I've disabled the Compositing in xorg.conf (required for fglrx dri)
- I still see the Mesa GL libs being used in the ATI panel
- I see OpenGL apps using the fglrx libGL with lsof
- I have the fglrx glxgears crash on startup
- I see no errors or warning in the xorg log about dri being off

So I've gotten to the point where the driver mostly works, which is not
bad since it enabled the use of the native LCD panel resolution (unlike
the vesa driver the install defaulted to), but I'm still missing
something to get DRI working properly for some reason...

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 6 (Rawhide) - Linux kernel 2.6.18-1.2798.fc6
Load : 0.01 0.02 0.00
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.