PDA

View Full Version : ATI-fglrx 8.29.6 and FC6


Patrik Lavén
10-12-2006, 09:59 AM
Hi!

Having trouble building the ati-fglrx drivers for FC6 with kernel 2.6.18-1.2759 also hade the same problem with the 2747 version of the kernel.

To begin with when i do
sh ./ati-driver-installer-8.29.6.run --buildpkg Fedora/FC6

this comes upp

Generating package: Fedora/FC6
install: cannot stat `fireglcontrolpanel': No such file or directory
Package build failed!

Ok so it's something wrong with the control panel or whatever realy don't care but then it starts to build the driver and then crashes. I Have been googleing around for three days now and havent found any solution.

Her is what console spits out.

Creating directory fglrx-install
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.29.6............................................ .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Fedora/FC6
install: cannot stat `fireglcontrolpanel': No such file or directory
Package build failed!
Package build utility output:
Building target platforms: i386
Building for target i386
Executing(%prep): /bin/sh -e /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/rpm-tmp.24966
+ umask 022
+ cd /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD
+ cd ATI-fglrx-8.29.6
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/rpm-tmp.24966
+ umask 022
+ cd /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD
+ cd ATI-fglrx-8.29.6
+ LANG=C
+ export LANG
+ unset DISPLAY
+ exit 0
Executing(%install): /bin/sh -e /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/rpm-tmp.24966
+ umask 022
+ cd /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD
+ cd ATI-fglrx-8.29.6
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root
+ '[' -d /etc/ld.so.conf.d ']'
+ mkdir -p /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/etc/ld.so.conf.d
+ pushd /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/etc/ld.so.conf.d
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/etc/ld.so.conf.d /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6
+ cat
+ popd
/tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6
+ mkdir -p /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/usr/share/applications
+ pushd /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/usr/share/applications
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/usr/share/applications /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6
+ cat
+ popd
/tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6
+ cp -pR /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6/etc /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6/lib /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6/usr /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root
+ find /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/usr/share/doc -type f -perm 0555 -exec chmod 0644 '{}' ';'
+ find /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root -type f -perm 0555 -exec chmod 0755 '{}' ';'
+ export AS_USER=y
+ AS_USER=y
+ pushd /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod /tmp/ATI-fglrx-8.29.6-1-13479-root/BUILD/ATI-fglrx-8.29.6
+ bash make.sh verbose
ATI module generator V 2.0
==========================
initializing...
OsRelease=2.6.18-1.2759.fc6
major=2
minor=6
patch=18
extra=-1.2759.fc6
SMP=1
smp=-SMP
iii=
AGP=1
CC=gcc
cc_version=
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.18-1.2759.fc6/build SUBDIRS=/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2759.fc6-i686'
CC [M] /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:92:26: error: linux/config.h: No such file or directory
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:459: warning: initialization from incompatible pointer type
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_stub_open':
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:582: warning: assignment discards qualifiers from pointer target type
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_smp_call_function':
/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3896: warning: passing argument 1 of 'smp_call_function' from incompatible pointer type
make[2]: *** [/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2759.fc6-i686'
make: *** [kmod_build] Error 2
build failed with return value 2
error: Bad exit status from /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/rpm-tmp.24966 (%install)


RPM build errors:
Bad exit status from /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/rpm-tmp.24966 (%install)
Removing temporary directory: fglrx-install


I also tried to build generic packages but with the same resulte.

Can someone pleas help me or if ther ar any others out there that are getting the same error.

ps. I have tried runing the ati-driver-***.run as root and non root doesent make any difference, my video card is as FireGLV3100 and this driver has worked with this card on other dist but not with a kernel 2.6.18.ds

Cheers :confused:

Michael
10-12-2006, 11:22 AM
Hi!

Having trouble building the ati-fglrx drivers for FC6 with kernel 2.6.18-1.2759 also hade the same problem with the 2747 version of the kernel.

To begin with when i do
sh ./ati-driver-installer-8.29.6.run --buildpkg Fedora/FC6

this comes upp

Generating package: Fedora/FC6
install: cannot stat `fireglcontrolpanel': No such file or directory
Package build failed!

Ok so it's something wrong with the control panel or whatever realy don't care but then it starts to build the driver and then crashes. I Have been googleing around for three days now and havent found any solution.

Her is what console spits out.

Creating directory fglrx-installVerifying archive integrity... All good.

<OUTPUT>

RPM build errors:Bad exit status from /tmp/ATI-fglrx-8.29.6-1-13479-root/tmp/rpm-tmp.24966 (%install)Removing temporary directory: fglrx-install
I also tried to build generic packages but with the same resulte.

Can someone pleas help me or if ther ar any others out there that are getting the same error.

ps. I have tried runing the ati-driver-***.run as root and non root doesent make any difference, my video card is as FireGLV3100 and this driver has worked with this card on other dist but not with a kernel 2.6.18.ds

Cheers :confused:

Patrik,

Welcome to the forums.

It looks like the problem is coming from firegl_public. The 8.29.6 drivers should support the Linux 2.6.18 kernel (in 8.28.8 there was a 2.6.18 patch found in some distribution-specific packaging scripts). I (and others) have had no problems running the drivers with FC6 after making the UTS_RELEASE modification, but I haven't updated to Rawhide in a few days for the newest kernel. I'll give the kernel version you mentioned a whirl and see if I can make it work out.

Michael
10-14-2006, 01:33 PM
Patrik,

I managed to work out the problem with the drivers and Fedora Core 6 with the newest 2.6.18 kernels. Rather than waiting for the next fglrx drivers to have these changes merged, I can probably write-up a how-to guide or patch if you are interested.

Patrik Lavén
10-15-2006, 08:58 AM
Michael,

I'd realy appreciate a how-to or a patch, what ever is more convenient for you.
Thanks for the quick replies. :)

Michael
10-15-2006, 09:24 AM
http://www.phoronix.com/redblog/?p=blog&i=NTUwMA

Wrote that up quickly. Let me know if it helps.

Patrik Lavén
10-15-2006, 11:50 AM
Hi again,

Now I get the exact same problem as in this post.

http://www.phoronix.net/forums/showthread.php?t=233

But I found that the kmod-fglrx-8.29.6 for kernel 2.6.18-1.2784 i586 and
i686 hade poped up in my repos probably from freshrpms and
xorg-x11-drv-fglrx 8.29.6 from livna. So I will give that a try

After installing the drivers from the repos i got this problem when i do cat /var/log/Xorg.0.log | grep fglrx

(EE) AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed
(/usr/lib/dri/fglrx_dri.so: cannot open shared object file: No such file
or directory)

Ok then I did ln -s ../xorg/modules/dri/fglrx_dri.so fglrx_dri.so and now Xorg.0.log givs this error instead.

(EE) AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed
(/usr/lib/dri/fglrx_dri.so: undefined symbol: __glXFindDRIScreen)

And typing fglrxinfo givs me
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)

When I installed the drivers from the repos they pulled in libstdc++-compat i think as a dependency and now I have the ati controlpanel in my menu and it works correctly but offcourse displays mesa as OpenGL Vendor.

This problem might deepend on that I don't have the agpgart module loaded, and modprobe agpgart says FATAL: Module agpgart not found.

I'l bee trying to digg some more and report back if I come up with any solution.

Cheers, ;)

Michael
10-15-2006, 11:54 AM
When fglrxinfo was reporting Mesa, did you have Option "Composite" "Disable" in your Extensions section in your xorg.conf? If not, make a "Extensions" section and then throw that option in there, restart X, and see if it works. I've had that issue with FC6 before.

Patrik Lavén
10-15-2006, 12:35 PM
Yes I have Option Composite Disable in xorg.conf.

So I don't realy know where the problem lies but I would guess that it has something to do with this error from the Xorg.0.log

(EE) AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed
(/usr/lib/dri/fglrx_dri.so: undefined symbol: __glXFindDRIScreen)

Havent hade the time to examen it, I think I have bumped in to something similar before with other distros so I will have to look around a bit and se if someone else have had the same problem.

Does anyone know why I can't load the agpgart module, has it been replaced by something else in kernel 2.6.18? Even thoug I shouldent need the agpgart module I have read in other forums that it might bee needed anyway to get the fglrx module to behave correctly.

Michael
10-15-2006, 01:50 PM
Patrik,

I have written some updated FC scripts for the fglrx 8.29.6 drivers. This mainly patches the code so it no longer requires linux/config.h, but there are also a few other modifications. If you're still running into problems, it may be worth trying out.

The script can be found @ http://www.phoronix.com/redblog/downloads/fglrx-fc6-8296-generator.sh

Throw it in the same directory as ati-driver-installer-8.29.6.run and then run the script and wait for the RPMs. If the 8.29.6 driver isn't found in the directory it will attempt to download that first from ATI.

I've tried the script on FC6 Rawhide under a fresh install and its worked flawlessly. After I carry out some additional tests I'll write something on the blog about it with more details.

Patrik Lavén
10-15-2006, 02:32 PM
Hi,

Whene I remove the kmod-fglrx drivers from the repos and then run the script you provided it exits with this error

RPM build errors:
File not found: /tmp/ATI-fglrx-8.29.6-1-4556-root/tmp/ATI-fglrx-8.29.6-1.fc6-root-root/usr/bin/fireglcontrolpanel
Removing temporary directory: fglrx-install

Also in the begining of the installation the ATI installer reports this error:

install: cannot stat `fireglcontrolpanel': No such file or directory

it is the same error that is reported in this thread http://www.phoronix.net/forums/showthread.php?t=233

I have all the QT stuff installed except from the qt-tools package wich I can't find in the repos. I might try to make a fresh install and see if I will have better luck, but doubt it.

Is there a way to just build the kmod and not the fireglcontrolpanel wich seams to be the major problem for me to get the drivers to build.

Michael
10-15-2006, 02:46 PM
I am trying to reproduce your fireglcontrolpanel problem now. I know I experienced a similar issue a while back, but am trying to recall how it was solved.

If the RPM SPEC file is modified you can get by without building fireglcontrolpanel.

Michael
10-15-2006, 04:19 PM
Just performed another fresh install and updated to Rawhide, no problems with the script or any mention of fireglcontrolpanel being lost.

Patrik Lavén
10-15-2006, 05:26 PM
Hmmm,

Thene it must bee something with my fraking installation that's acting up. Micheal do u use gnome or kde, caus I only have gnome installed and since fireglcontrolpanel is qt based maybe I don't have all the necessery stuff installed. Maybe I'l try to install kde and see if it resolves the problem but I doubt it caus it works whene installing from repos wich seams odd. Maybe I have some stuff left somewhere that shouldent bee there. I'm gonna try to erase everything that I can find to get down to a bare minimum installation and see if it fixes anything. Whil report back if I have any luck. Thanks for all the quick replies
:)

Michael
10-15-2006, 05:57 PM
die-hard GNOME user :)

The only qt package you should need is qt-devel. When installing FC6pre the install arguments were office & productivity, and then under "customize now" the other options I selected were development tools, GNOME development libraries, X software libraries, and the software development packages.

To help out more users (and to hopefully prevent a few dozen emails from new users) I am working on a short how-to guide as well as adding some additional functions to that script so 8.29.6 will run nicely with FC6.

Patrik Lavén
10-15-2006, 06:13 PM
Yes,

got it working with the drivers from the repos, still can't build the drivers becaus the fireglcontrolpanel error.

I don't realy know what I did diffrent now butt I added som stuff to the xorg.conf and now fglrxinfo works as it should. This is what i added to the xorg.conf

Section "Extension"
Option "Composite" "Disable"
EndSection

Section "Module"
Load "ddc"
Load "bitmap"
Load "extmod"
Load "freetype"
Load "type1"
Load "vbe"
Load "dri"
Load "glx"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "VideoOverlay" "on"
Option "UseInternalAGPGART" "no"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
# Option "DynamicClocks" "on"
Option "ForceMonitors" "notv"
EndSection

Section "DRI"
Mode 0666
EndSection

I didnt use the aticonfig --initial cause that only gave me
Load "glx"
Load "dri"
under the Module section.

Don't realy know why the Module section wasent even present by default in the xorg.conf and just having
Load "glx" and Load "dri" in that section didn't work.

Thanks for all the help, hope some one can figure out the fireglcontrolpanel error or it will be fixed in the next version of the driver. I also encounterd a strange thing whene trying to build the drivers sometimes the stuff stayed in /tmp and other times nothing was there to find ATI related.
But since everything seams to be working now I sattisfied, but can admit it is ignoring to havent solved the build error.
:D

Patrik Lavén
10-15-2006, 06:21 PM
I can't remember exactly wich packages i selected during installation but I think I didn't select any development packages or only a few maybe there is where my problem lies, just a guess, if I have the time during this week I'l try to make a fresh install and select some more packages and give it a go again and pray for better luck.

Michael
10-15-2006, 06:27 PM
I still haven't been able to reproduce the fireglcontrolpanel problem in this environment. The only things I can think of off hand is not having all of the development packages installed.

Here was a working config file: http://www.phoronix.com/redblog/downloads/xorg-fc6-sample.conf

I'll continue to try things out through the final release on Tuesday.

Michael
10-15-2006, 09:23 PM
For those new to Fedora 6 and ATI, I have constructed a short how-to guide and updated scripts over @ http://www.phoronix.com/redblog/?p=blog&i=NTU1MA

Patrik Lavén
10-16-2006, 05:46 AM
Hi again,

Installed some more development packages, "Development Libraries, Development tools, Gnome Software Development, Legacy Software Development and X Software Development" but still could not manage to build the driver. Tomorrow FC6 hits the market for real and I will make a clean install and see if i get any better luck this time around. and try to be more carefull whene deselecting packages during the installation.

summiter
10-16-2006, 09:26 PM
Do you by chance have SELinux enabled? I had to disable it to get the thing to build...haven't looked into the dirty details yet though.

Patrik Lavén
10-17-2006, 07:26 AM
No I'm quiet sure I disabled it during the install, caus I herd it's easier to enable than to disable, and I don't realy need it.

summiter
10-18-2006, 12:16 AM
No I'm quiet sure I disabled it during the install, caus I herd it's easier to enable than to disable, and I don't realy need it.

Hmm. I don't know what crazy confluence of things could have happened, but when I disabled SEL the RPM built successfully. I did have to get rid of the fireglcontrolpanel bit in the RPM build process tho, since it won't compile (and thus isn't "found" during install or RPM build)

I did some digging last night through the source for the control panel. When I try to build it on it's own, I get many dependency errors, both related to QT and system files. I then read in the comments from RH regarding the FDC6 delay that they had problems with files being placed properly during install..

Patrik Lavén
10-18-2006, 06:46 AM
how did you get rid of the fireglcontrolpanel for the build process? I started fiddeling with various files to try to remove the stupid controlpanel but didn't digg in to it that much. Would be nice to know how to prevent it to build so I can get the drivers to build and upp and runing.

Cheers ;)

Michael
10-18-2006, 08:58 AM
Patrik:

To eliminate the need for fireglcontrolpanel you would need to modify ati-packager.sh and ATI-fglrx.spec-tmpl.

In the packaging script there should be the following segment of code:

if [ ! -x ${TMP_RPM_BUILD_DIR}/usr/bin/fireglcontrolpanel ]; then
mkdir ${TMP_RPM_BUILD_DIR}/usr/src/ati/fglrx_panel_sources
pushd ${TMP_RPM_BUILD_DIR}/usr/src/ati/fglrx_panel_sources &> /dev/null
tar xzf ${TMP_RPM_BUILD_DIR}/usr/src/ati/fglrx_panel_sources.tgz
sed -i 's|^LIBQT_DYN = qt$|LIBQT_DYN = qt-mt|' Makefile
sed -i 's|STRIP = strip|STRIP = @echo strip is disabled for:|' Makefile
sed -i 's|BASENAME = fireglcontrol|BASENAME = fireglcontrolpanel|' Makefile
[ -n "$QTDIR" ] || . /etc/profile.d/qt.sh && make &> /dev/null
install -p -m 0755 fireglcontrolpanel ${TMP_RPM_BUILD_DIR}/usr/bin/fireglcontrolpanel
popd &> /dev/null
fi

Delete or comment out all of that. Then in the RPM spec file you can remove references to fireglcontrolpanel.

I haven't tried it out myself, but that should allow the packaging scripts to run without building (or requiring) fireglcontrolpanel.

Also, if you have never modify the packaging scripts before, here is a brief explanation how to do it:

1. With the ATI driver installer file, pass it the --extract argument. This will extract the driver contents to fglrx-install.
2. In fglrx-install/packages/Fedora are the scripts that can be modified.
3. To build with these scripts, from the fglrx-install directly do: ./ati-installer.sh 8.29.6 --buildpkg Fedora/FC6

That should do it.... you could alternatively copy the folder outside the fglrx-install and then simply pass the custom-package location, etc... but the above steps should work out fine for your needs.

Patrik Lavén
10-18-2006, 06:49 PM
Hi again,

Made a fresh install of FC6 from the rescue cd, and now, no problem building the driver with the script Michael maid. It muste have been something I deselected in the previous installation. Added all the packages that Michael said he had used and it all worked excelent.

Thanks for all the help,but for now the drivers work and I'm happy :) untill something else will turn upp that make me go on another google hunt fore solutions.

Michael
10-20-2006, 10:38 AM
I finally ran into that fireglcontrolpanel problem on an install this morning. Though interestingly enough I installed all the same packages that I had done on previous installs... I'll let you know once I figure the issue out.

Michael
10-21-2006, 06:09 PM
Patrik,

I am now on Fedora Core 6 final. The guide / script is still working appropriately.

At http://www.phoronix.com/redblog/downloads/fedora-6-packages.txt is my install.log that shows all the packages I installed (had no fireglcontrolpanel problems).

tmanops
10-24-2006, 03:30 PM
I'm having a terrible time with this. I ran yum install kernel-devel and everything downloaded and installed. However, when I run sh ./fglrx-fc6-8296-generator.sh, I get the following error:

linux/autoconf.h not found. Install kernel-devel first

If I run sh ./ati-driver-installer-8.29.6.run --buildpkg Fedora/FC6, it begins to install, then at the end I get the following error:

Generating package: Fedora/FC6
Please install an appropriate Linux kernel module build package.
Probably kernel-devel in this case.
If you've compiled a custom kernel, make sure /usr/src/linux exists
and the source tree matches the currently running kernel.
Removing temporary directory: fglrx-install

What am I doing wrong? I've disabled the firewall and the SELinux.

Michael
10-24-2006, 03:45 PM
tmanops,

Did you reboot after installing the new kernel and kernel-devel? If not, make sure you do. You may also want to install kernel-headers.

tmanops
10-24-2006, 04:06 PM
tmanops,

Did you reboot after installing the new kernel and kernel-devel? If not, make sure you do. You may also want to install kernel-headers.

Michael, thanks for the quick reply. I did reboot, but I didn't install the headers piece you mentioned. I'll do that, and retry...

Should I do this as root? I'm a newbie to Linux, so thanks for the patience.:)

Michael
10-24-2006, 04:17 PM
You need to use yum as root and when you are installing your RPMs. The script itself should work as user.

_den
10-24-2006, 04:58 PM
Hi!

I am having problems with fglrx-fc6-8296-generator.sh script. when i run it become message:

linux/autoconf.h not found. Install kernel-devel first

kernel-devel package is alredy insatlled.

Michael
10-24-2006, 05:17 PM
Hi!

I am having problems with fglrx-fc6-8296-generator.sh script. when i run it become message:

linux/autoconf.h not found. Install kernel-devel first

kernel-devel package is alredy insatlled.

Do you have kernel-headers installed?

matthewdavis
10-24-2006, 09:12 PM
Michael, thanks for the instructions on getting ATI drivers to work on FC6. However I'm running into a problem enabling the desktop effects. One of the instructions seems counter-intuitive (at least from the error messages). I was able to get the fglrx module loaded.

# fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: MOBILITY RADEON X300 Generic
OpenGL version string: 2.0.6065 (8.29.6)


But the problem comes when I try to enable the desktop effects.

# desktop-effects
gnome-window-decorator: Screen 0 on display ":0.0" already has a decoration manager; try using the --replace option to replace the current decoration manager.
compiz: No composite extension
Xlib: extension "SHAPE" missing on display ":0.0".


It seems the instructions to add Option "Composite" "Disable" to xorg.conf, disables the ability to load compiz. Am I missing something?

Michael
10-24-2006, 09:20 PM
Matthew Davis,

The fglrx drivers presently do not support the Composite extension. With Fedora Core 6 composite is enabled by default, which is why that X option needs to be specified.

For experiencing the benefits of the FC6 desktop effects at this time you would need to use the open-source Radeon drivers (your GPU is supported with the Mobility X300). Or wait for appropriate fglrx support.

If you have any additional questions or comments feel free to post.

matthewdavis
10-24-2006, 09:41 PM
Ah, that works. I was under the impression that getting those ATI extensions loaded would let me use xgl with it. Thanks for the clarification.

DragonMaster
10-28-2006, 09:51 AM
Little problem here! When I run the script, everything is going fine, there are absolutely no error messages, but once the script finishes, there are no RPMs at all.


I ran into the firegl error, I think that clearing the /tmp/ directory and disabling SELinux solved the problem. (It was trying to find a file in /tmp/ati*/usr/bin/... )

I'm not in front of the computer in question right now, I'll be able to tell you what the problem is tomorrow.

semi
10-28-2006, 10:31 AM
hey thanks a lot for writing the script Micheal.
I'm also having some problems with it :(.
I'm not really sure what's happening or what the problem is. maybe you can make sense of the errors:
http://linpaste.efnet-linux.com:7000/174
i'm running a 9800pro and would like to get dual monitors working without the refresh rates being terrible.
thanks.

Michael
10-29-2006, 08:57 AM
semi,

You seem to be running into the problem mentioned on the previous pages of this thread and other threads. Still investigating why some seem to run into fireglcontrolpanel problems. What packages do you have installed?

semi
10-29-2006, 04:33 PM
I have installed libstdc++.so.5, qt-devel wget and the standard development tools and libraries. kerenel devel says it's already installed.

Michael
10-29-2006, 04:35 PM
I have installed libstdc++.so.5, qt-devel wget and the standard development tools and libraries. kerenel devel says it's already installed.

Is kernel-headers installed?

semi
10-29-2006, 08:43 PM
yes it is.

Michael
10-29-2006, 09:02 PM
Did you try removing the contents of /tmp? Similar situation (and resolved) here (http://phoronix.net/forums/showthread.php?t=233).

semi
10-29-2006, 09:11 PM
i have read the other threads about fc6. yup i've tried that and still no luck :(.

Michael
10-29-2006, 09:41 PM
Sorry if I missed this from a previous post but are you using 32-bit or 64-bit software?

Worst case scenario may be waiting for ATI's next driver release, though it isn't clear right now why you seem to be running into this issue where others have fixed it. Or you could comment out the fireglcontrolpanel portions from the Fedora scripts.

semi
10-30-2006, 06:10 AM
32 bit. Alright thanks a lot for your help. I guess I mighr just have to wait a month.
which parts would I edit and in the fglrx-fc6-8296-generator.sh? that sounds like a good idea.
also where would I find the qt-tools to see if that helps? its not on rpmfind or yum.
seems there are a couple of other people with the issue in the other thread now too.

Michael
10-30-2006, 06:48 AM
You would edit packages/Fedora/ and the packaging script in there.

A month? ATI usually does monthly driver releases and there still hasn't been an October one yet...



See here (http://phoronix.net/forums/showthread.php?t=318) for more information (basically try manually compiling fireglcontrolpanel from source).

ndavis
11-01-2006, 05:59 PM
Matthew Davis,

The fglrx drivers presently do not support the Composite extension. With Fedora Core 6 composite is enabled by default, which is why that X option needs to be specified.

For experiencing the benefits of the FC6 desktop effects at this time you would need to use the open-source Radeon drivers (your GPU is supported with the Mobility X300). Or wait for appropriate fglrx support.

If you have any additional questions or comments feel free to post.

Hi Michael,
I recently installed the ATI driver with the use of your helpful FC6 script (I'm running FC6 on AMD x86_64). I have an ATI Radeon Xpress 200 driver. My fglrxinfo outputs:

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON XPRESS Series Generic
OpenGL version string: 2.0.6065 (8.29.6)

So the driver is installed and not using mesa for 3d rendering anymore (which is nice) but I too am having the same "compiz: no composite extension" problems that matthewdavis was having:

compiz: No composite extension
gnome-window-decorator: Screen 0 on display ":0.0" already has a decoration manager; try using the --replace option to replace the current decoration manager.
Xlib: extension "SHAPE" missing on display ":0.0"

So I noticed that you suggested using the open-source radeon drivers, which appearently worked for him. However, I think that my ATI Xpress 200 is not supported with the open-source radeon drivers. So my question is, am I going to have to wait until ati updates their fglrx driver to support the Composite extension? If so, do you know when that might happen? I'd love to get compiz or beryl working, but seem to be stuck at a dead end. Any help would be great. Oh, and thanks for everything you have posted thus far. It has been a moderately exciting, yet unsuccessful trial.

Thanks again,
ndavis

Michael
11-01-2006, 06:15 PM
ndavis,

Thank you for your feedback. The Xpress 200/200M is supported by the R300 DRI "Radeon" drivers (see Wiki (http://dri.freedesktop.org/wiki/ATIRadeon)). There may be some issues though with video memory initialization.

For the fglrx drivers all you can do is wait for the ATI developers to append this support. The 8.30.3 display driver has a smaller version number than normal, so I will let the forum goers speculate whether that means a large release is in the near future for AMD/ATI...

Seeing as you are on the 8.29.6 drivers, the 8.30.3 drivers are available (http://phoronix.net/forums/showthread.php?t=320), which address a few bugs.

ndavis
11-01-2006, 09:11 PM
ndavis,

Thank you for your feedback. The Xpress 200/200M is supported by the R300 DRI "Radeon" drivers (see Wiki (http://dri.freedesktop.org/wiki/ATIRadeon)). There may be some issues though with video memory initialization.

For the fglrx drivers all you can do is wait for the ATI developers to append this support. The 8.30.3 display driver has a smaller version number than normal, so I will let the forum goers speculate whether that means a large release is in the near future for AMD/ATI...

Seeing as you are on the 8.29.6 drivers, the 8.30.3 drivers are available (http://phoronix.net/forums/showthread.php?t=320), which address a few bugs.


Hello again Michael,
Thanks for your quick post. I installed the newer 8.30.3 driver, which went smoothly, but was still stuck with the "no composite extension" problem. So I tried to install the open-source r300 driver, but had an error building it. A quick look at the dri.log file showed:

error: ‘struct page’ has no member named ‘count’

This must have been one of those video memory problems you mentioned. Do you know if there is a work around to this? I couldn't find one googling... If not, I guess I wait for the fglrx driver to get fixed (sigh).

Thanks again very much for your help!
ndavis

Michael
11-01-2006, 09:25 PM
If you installed Fedora Core 6, the Radeon drivers should be with X.Org 7.1. Did you try simply updating your xorg.conf?

Shinigami2057
11-02-2006, 12:40 AM
Hi, Semi:

I just encountered the same problem as you on my desktop. If you installed the virtualization packages, you more than likely have a Xen kernel, which has its own devel package. Try installing kernel-xen-devel; Michael, could you update your script to specify that you might need the xen devel package? Thanks :]

EDIT Grrr. Apparently fglrx does not work with kernel-xen at ALL. The driver won't load because of missing symbols in the kernel. I guess you'll have to fall back to the regular kernel. ATI's drivers are so damn broken.

ndavis
11-02-2006, 11:24 AM
If you installed Fedora Core 6, the Radeon drivers should be with X.Org 7.1. Did you try simply updating your xorg.conf?

Hi Micheal,
Good catch. I didn't realize that, and found r300_dri.so in /usr/lib/dri/ after your comment. I can give that a shot. Do I need to move it? I will likely need to change my xorg.conf file as well. Now it looks like:

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection

Should I change Driver "fglrx" to Driver "radeon" or "r300"? I want to make sure that X loads that driver (r300_dri.so) instead of some other one. When I update my xorg.conf to Driver "radeon" it loads the mesa stuff for 3d indirect rendering, and I get other errors with compiz. Also when I do that glxgears runs really slowly. So I'm not sure if I'm using r300_dri.so properly when I do that. I am on a x86_64 machine, should I put a soft link to it in /usr/lib64/ ?

Thanks yet again!
ndavis

Michael
11-02-2006, 11:44 AM
It should be Device "radeon". What Compiz errors do you run into? I have a few systems using the R300 drivers, so if you run into any other problems with that just post.

ndavis
11-02-2006, 04:08 PM
It should be Device "radeon". What Compiz errors do you run into? I have a few systems using the R300 drivers, so if you run into any other problems with that just post.

Hi Michael,
I uninstalled my fglxr driver (just to avoid confusion), and beleive to have set things almost in order.
My xorg.conf file looks like this:

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Module"
Load "glx"
Load "dri"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "Monitor 1280x1024"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 79.0
VertRefresh 50.0 - 90.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

I think that this is using the r300_dri.so driver, but I didn't see it anywhere in my /var/log/Xorg.0.log, (an excerpt is shown below):

(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib64/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension XFree86-DRI
(II) LoadModule: "radeon"
(II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 4.2.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: "ati"
(II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
(II) Module ati: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 6.6.2
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 1.0

Now, when I try and run compiz, or glxgears, or even glxinfo, my screen goes black and I get logged out. I reinstalled the mesa-libGL and mesa-libGLU libraries as I thought some problem might exist there, but still get the black screen + logout. Any ideas? Thanks again!

ndavis

Michael
11-02-2006, 04:16 PM
Did you uninstall fglrx? Though it shouldn't be causing a direct conflict since it shouldn't be loaded.

Below is a xorg.conf on a R300 machine where I am running all the Zod eye candy. No problems. Pardon the fact that the input device is from a laptop.

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

ndavis
11-02-2006, 07:52 PM
Did you uninstall fglrx? Though it shouldn't be causing a direct conflict since it shouldn't be loaded.

Below is a xorg.conf on a R300 machine where I am running all the Zod eye candy. No problems. Pardon the fact that the input device is from a laptop.

Section "ServerLayout"
.
.
.
etc.


Hi Michael,
I decided to do a fresh test of an FC6 install on a test machine. Right after the install completes, I modify my xorg.conf file to load the radeon driver. However, I think I found the problem. Looking through my xorg log, I see:

$ grep "Direct" /var/log/Xorg.0.log
(II) RADEON(0): Direct rendering broken on XPRESS 200 and 200M
(WW) RADEON(0): Direct rendering disabled

Sad, yes. I'm still not sure if it is using the r300_dri.so lib, but I presume it is if it can detect that I do indeed have an ATI Xpress 200. Hmmm... not sure what to try next. You have been a great help, though, thanks! Any info regarding this error message would be very appreciated.

Thanks again!
ndavis

Michael
11-02-2006, 07:59 PM
Hmm only thing I could think of off hand would be to grab the latest code from git to see if it fixes your broken support.

bmckinney
11-03-2006, 10:29 AM
Hi, I am having the same problem with linux/autoconf.h not found. I installed kernel-devel and kernel-headers and rebooted, but the problem persists. Thanks, Brett


Quote:
Originally Posted by _den View Post
Hi!

I am having problems with fglrx-fc6-8296-generator.sh script. when i run it become message:

linux/autoconf.h not found. Install kernel-devel first

kernel-devel package is alredy insatlled.


Do you have kernel-headers installed?

Michael
11-03-2006, 10:33 AM
Did you grab the 8.30.3 drivers? If not, grab them, they are newer and have the new scripts integrated.

bmckinney
11-03-2006, 10:38 AM
Did you grab the 8.30.3 drivers? If not, grab them, they are newer and have the new scripts integrated.

I tried the 8.30.3 drivers too, and this is what I get:

[root@mckinney src]# ati-driver-installer-8.30.3.run --buildpkg Fedora/FC6
Creating directory fglrx-install
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.30.3............................................ .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. ..........................................
==================================================
ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Fedora/FC6
Please install an appropriate Linux kernel module build package.
Probably kernel-devel in this case.
If you've compiled a custom kernel, make sure /usr/src/linux exists
and the source tree matches the currently running kernel.
Removing temporary directory: fglrx-install

pi_rho
11-30-2006, 10:40 AM
hey yall,
i have an hp laptop with a radeon xpress 200M, i have FC6 and used yum to get the newest driver... when i type in the grep command to scan the xorg file i get the message(II) fglrx(0): Direct rendering disabled. bellow is my xorg.conf file... please tell me what im doign wrong.


# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "dri"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "LCD Panel 1024x768"
HorizSync 31.5 - 48.5
VertRefresh 40.0 - 70.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "on"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Michael
11-30-2006, 11:00 AM
It doesn't look like from your configuration that Composite was disabled. Try disabling Composite and it should work (see here (http://www.phoronix.com/redblog/?p=blog&i=NTU1MA)). Though it is important to note that the Xpress 200 series is notorious with Linux.

pi_rho
11-30-2006, 12:25 PM
hmm ok Michael, well i tried it and allthough it did something i also lost my ability to view everythign else... like blank screen. however no error messages or windows or well anything... i dont know if you have heard of this problem before...

pi_rho
11-30-2006, 12:29 PM
also i see you have a build for a xorg.conf file in the link you sent me... do you think that copying that may fix my issues? i know probably not but its worth asking.

Michael
11-30-2006, 12:29 PM
The blank screen I believe is one of the common problems with the Xpress 200.

Benjamin
11-30-2006, 08:33 PM
also i see you have a build for a xorg.conf file in the link you sent me... do you think that copying that may fix my issues? i know probably not but its worth asking.
Please if you are having a blank screen try the Option "BusType" "PCI" in the driver section of the xorg.conf file. It worked for me . Check to see if you ssh into the machine and see what was going on. Mine had the cpu spiked at 100%.(x11) I currently have XGL working in fc6 using the 8.26 drivers.

pi_rho
12-06-2006, 11:54 PM
ok tried the BusType PCI code and that didnt have any affect... i did try to Secure shell and nothing seemed out of the ordinary just the fact that when i attempted to see if open gl worked it gave me the same old "direct rendering disabled"... could someone with FC6 running openGL and has a xpress 200M post an example xorg.conf file. Thanks

pi_rho
12-07-2006, 12:53 AM
question, did you mean the Driver section or the Device section when talking about BusTpe PCI command line. I just want to clarify to make sure i got this correct

Michael
12-07-2006, 07:12 AM
Device for BusType.

SanjayPethe
02-04-2007, 12:11 PM
semi,

You seem to be running into the problem mentioned on the previous pages of this thread and other threads. Still investigating why some seem to run into fireglcontrolpanel problems. What packages do you have installed?

Hello Michael and others,
First of all, thanks for all your work and help on getting the drivers working. I have a Dell Inspiron E1505 with the ATI Mobility Radeon X1300 running FC6, and I have found these forums very useful to sort through some of the problems I have encountered in trying to get full use out of my graphics card. BTW, my main motivation for this is to use Google Earth, which I can't at present because apparantly you need hardware acceleration to make effective use of it.

The fireglcontrol panel problem arises because for some reason the files generated by:
./ati-driver-installer-8.33.6-x86.x86_64.run --extract

do not include the bin directory and the fireglcontrol panel in the x710 subdirectory of the extracted files. It seems to be an omission. This directory and file are present in the subdirectories for the earlier version of the x server (x690, x700, and earlier ones). I simply copied the bin directory and file from one of the earlier ones to the x710 directory and was able to build a custom package successfully using:

./ati-installer.sh 8.33.6 --buildpkg Fedora/FC6

These then installed without any problems using yum.

Hope this helps people having issues with the fireglcontrolpanel.

I am still having issues getting DRI to work though. My custom built driver works, because I can get higher resolutions than with the VESA driver, but if I disable compositing I get some of the other issues of very slow response and eventual hang up mentioned by others in this forum. I have not been able to resolve this, and from what I have been able to make out reading this and other forums, there is no solution to this at present with the 8.33.6 drivers. I may need to go back to earlier drivers. Please let me know if my assessment is correct.

Thanks for all your help so far. Just for future reference in buying hardware - which graphics cards are most linux friendly - i.e. provide access to the latest technologies such as 3D, DRI etc (I don't know how all these are connected, but apparantly they are).

Sanjay

SanjayPethe
02-06-2007, 12:14 PM
Take 2 of posting ....

Hello Michael and Others,
First of all, thank you for all your efforts to make the drivers work for ATI cards and sharing this information. I have a Dell Inspiron E1505 with an ATI Mobility Radeon X1300 running the 2.6.19-1.2895 version of FC6, and I am trying to set it up to watch movies and run Google Earth. However, lack of graphics acceleration prevents me from doing this right now.

I was able to successfully build the ATI 8.33.6 drivers for FC6 using some of the information posted on this and other sites. I ran into the:

install: cannot stat `fireglcontrolpanel': No such file or directory

problem mentioned by others as well, and was able to trace it down to some missing files. For some reason, the files extracted to the fglrx-install directory using the command:

ati-driver-installer-8.33.6-x86.x86_64.run --extract

are missing the bin directory and the fireglcontrolpanel file in the x710/usr/X11R6 subdirectory. This seems to be an ommission - all other directories contain this subdirectory and file. I simply copied the file and subdrirectory from the x700 directory and I was able to generate the rpm files without any more problems using the following command from WITHIN the fglrx-install directory.

ati-installer.sh 8.33.6 --buildpkg Fedora/FC6

However if you copy the file as mentioned above and then use the command:

ati-driver-installer-8.33.6-x86.x86_64.run 8.33.6 --buildpkg Fedora/FC6

from the directory where you downloaded the file, the problem will still persist because this recreates the fglrx-install directory and wipes out your modifications.

After having done this and installed the generated rpms using:
yum localinstall *rpm

and updated my xorg.conf file using
aticonfig --initial

With this, I was able to get a resolution of 1280x800 that I cannot otherwise get.

I then modified the xorg.conf file to disable compositing by adding the sections:
Section "DRI"
Group 0
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection

to the xorg.conf file. This led to the problem of the screen hanging up - presumably with the X server consuming 100% of the CPU - mentioned by others in these forums. I have no solution to this at present.

I also noticed that the generated drivers (without the DRI extensions in the xorg.conf file) slow down with time - especially if you suspend and resume the machine, but even otherwise. This was bad enough that I ended up completely uninstalling the drivers and reverting to the VESA drivers.

From what I have read here and elsewhere, there is no way past the screen hangup problem for the 8.33.6 drivers. I will have to revert to the 8.29 drivers to be able to use that, but they are not compatible with the 2.6.19 kernel which is what I have. This is where I am at present - pondering my next move.

If you have any suggestions, I would appreciate those, though it may be a while before I blow another weekend trying to get this to work.

Just for future reference in buying hardware - which graphics cards do you recommend for Linux notebooks? Which vendor is most friendly and provides the linux community with access to the latest features? I will certainly vote with my feet (money) the next time.

Sanjay

Michael
02-06-2007, 12:26 PM
If you copied the firegl_public code from 8.33 to 8.29, it should work with the Linux 2.6.19 kernel. Or from 8.30 -> 8.29.



However if you copy the file as mentioned above and then use the command:

ati-driver-installer-8.33.6-x86.x86_64.run 8.33.6 --buildpkg Fedora/FC6

from the directory where you downloaded the file, the problem will still persist because this recreates the fglrx-install directory and wipes out your modifications.To not wipe it you could change directory into the fglrx folder and then ati-installer.sh 8.33.6 --buildpkg Fedora/FC6

I have had no problems with ATI notebooks.

SanjayPethe
02-10-2007, 12:18 AM
If you copied the firegl_public code from 8.33 to 8.29, it should work with the Linux 2.6.19 kernel. Or from 8.30 -> 8.29.

To not wipe it you could change directory into the fglrx folder and then ati-installer.sh 8.33.6 --buildpkg Fedora/FC6

I have had no problems with ATI notebooks.

Michael,
Thanks for the tip. I followed your suggestion. Once I commented out the patch for the 2.6.18 kernel in the ati-packager.sh script in the fglrx-install/packages/Fedora directory, the RPM packages built without any problems. However, when installing the packages using yum, I get the following errors:
-------------------------------------------------------------------
Running Transaction
Installing: kernel-module-ATI-fglrx-2.6. ######################### [1/4]
WARNING: /lib/modules/2.6.19-1.2895.fc6/extra/fglrx/fglrx.ko needs unknown symbol firegl_cmmqs_get_pageaddr_from_vm
WARNING: /lib/modules/2.6.19-1.2895.fc6/extra/fglrx/fglrx.ko needs unknown symbol firegl_cail_powerdown
WARNING: /lib/modules/2.6.19-1.2895.fc6/extra/fglrx/fglrx.ko needs unknown symbol firegl_cail_powerup
Installing: ATI-fglrx ######################### [2/4]
Installing: ATI-fglrx-control-panel ######################### [3/4]
Installing: ATI-fglrx-devel ######################### [4/4]
-------------------------------------------------------------------

The fglrx kernel module does not load because of these missing symbols.

I'm going to revert to a 2.6.18 kernel and see if I can get the 8.29 drivers working.
Sanjay

SanjayPethe
02-10-2007, 02:03 AM
Michael,
Thanks for the tip. I followed your suggestion. Once I commented out the patch for the 2.6.18 kernel in the ati-packager.sh script in the fglrx-install/packages/Fedora directory, the RPM packages built without any problems. However, when installing the packages using yum, I get the following errors:
-------------------------------------------------------------------
Running Transaction
Installing: kernel-module-ATI-fglrx-2.6. ######################### [1/4]
WARNING: /lib/modules/2.6.19-1.2895.fc6/extra/fglrx/fglrx.ko needs unknown symbol firegl_cmmqs_get_pageaddr_from_vm
WARNING: /lib/modules/2.6.19-1.2895.fc6/extra/fglrx/fglrx.ko needs unknown symbol firegl_cail_powerdown
WARNING: /lib/modules/2.6.19-1.2895.fc6/extra/fglrx/fglrx.ko needs unknown symbol firegl_cail_powerup
Installing: ATI-fglrx ######################### [2/4]
Installing: ATI-fglrx-control-panel ######################### [3/4]
Installing: ATI-fglrx-devel ######################### [4/4]
-------------------------------------------------------------------

The fglrx kernel module does not load because of these missing symbols.

I'm going to revert to a 2.6.18 kernel and see if I can get the 8.29 drivers working.
Sanjay

OK, I got that working using Michaels script, slightly modified to run the ati-installer.sh script in the fglrx-install directory rather than the ati-driver-installer-8.29.6.run script to get around the fireglcontrolpanel problem.

In addition, I had to make the following changes to the rc.local startup script to load the fglrx module automatically on startup:
/sbin/modprobe fglrx

and the following changes to the xorg.conf as documented elsewhere (included here for completeness).

# Turn of AIGLX
Section "ServerFlags"
Option "AIGLX" "off"
EndSection

# Turn of Compositing
Section "Extensions"
Option "Composite" "Disable"
EndSection

# Load dri and glx modules
Section "Module"
Load "dri"
Load "glx"
EndSection

# Enable non root users to also use DRI
Section "DRI"
Group 0
Mode 0666
EndSection