View Full Version : Legacy ATI fglrx Drivers on Fedora Core 6 Zod (DISCUSSION)
Michael
11-05-2006, 09:47 AM
This is a discussion thread for the Legacy ATI fglrx Drivers on Fedora Core 6 -- See: http://www.phoronix.net/forums/showthread.php?t=342
holck
11-14-2006, 02:33 PM
Thank you very much for this helpful script. I finally managed to run it, after I found out I needed to do
cd /usr/lib/qt-3.3/
ln -s libqt-mt.so libqt.so
in order to make it work. So I got and installed
ATI-fglrx-8.28.8-1.fc6.i386.rpm
ATI-fglrx-control-panel-8.28.8-1.fc6.i386.rpm
ATI-fglrx-devel-8.28.8-1.fc6.i386.rpm
kernel-module-ATI-fglrx-2.6.18-1.2798.fc6-8.28.8-1.fc6.i386.rpm
and things seem to work, mostly. But if I run
LIBGL_DEBUG=verbose fglrxinfo
I get
libGL: XF86DRIGetClientDriverName: 8.28.8 atiogl_a (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/atiogl_a_dri.so
fglrx: libGL version does not match - OpenGL module is using glapi fallback
libGL: XF86DRIGetClientDriverName: 8.28.8 atiogl_a (screen 0)
drmOpenByBusid: busid is PCI:1:0:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:1:0:0
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9200 Series DDR Generic
OpenGL version string: 1.3.1091 (X4.3.0-8.28.8)
Is this a problem? Also, if I run fgl_glxgears I don't get any gears but a spinning cube and
Using GLX_SGIX_pbuffer
1451 frames in 5.0 seconds = 290.200 FPS
1468 frames in 5.0 seconds = 293.600 FPS
1410 frames in 5.0 seconds = 282.000 FPS
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 14 (X_GetGeometry)
Resource id in failed request: 0x0
Serial number of failed request: 55
Current serial number in output stream: 55
I guess this is not good?
I am using a Radeon 9250 running Fedora 6 and xorg-x11-server-Xorg-1.1.1-47.fc6.
Thank you for a valuable forum, even though I kind of regret my buying this card - it has caused me a lot of work...
Michael
11-14-2006, 03:17 PM
Is Enemy Territory or any OpenGL programs working?
holck
11-14-2006, 05:22 PM
Is Enemy Territory or any OpenGL programs working?
Thanks for a fast reply :)
I can run torcs, seem to work fine. I don't have Enemy Territory installed - should I?
Michael
11-14-2006, 05:44 PM
If torcs runs fine you should be set. Enemy Territory is simply a free, easy, and reliable Linux-native game and works well for benchmarking.
holck
11-15-2006, 02:54 PM
If torcs runs fine you should be set. Enemy Territory is simply a free, easy, and reliable Linux-native game and works well for benchmarking.
Tried that - and Enemy Territory works very nicely, quite impressive! :)
Should I run your script once more in order to get the driver to work with the new kernel version (2.6.18-1.2849)?
Michael
11-15-2006, 02:59 PM
Yes, to generate the new kernel module for the kernel.
bill_mcgonigle
11-20-2006, 06:22 PM
First, thanks to Michael for his hard work on helping folks with "older" hardware (my machine was brand new 1.5 years ago...) stay current with software and his support of the community.
Using Michael's script I've been able to, after some exasperation, get the fglrx drivers compiled and installed. I needed to do the config.h hack, symlink libqt-mt to libqt and libGL.so.1 to libGL, and then finally the control panel would compile and I got Zod packages.
For starters I can run X just fine with the open source drivers but I need TV-out and my chip isn't supported by the Gatos code. So, here I am.
I've tried aticonfig --initial and it makes a config file (without modes, incidentally), but it fails with 'no screens'. If I put in an "800x600" mode it still fails with 'no screens'.
Interestingly, if I turn off the monitor X will get further, but it doesn't initialize the display, just black. I've tried this with DPMS on and off.
I think I have a handle on what's going on but don't know how to proceed. If I start Xorg -configure, I get a crash in fglrx at R200Probe:
Backtrace:
0: Xorg(xf86SigHandler+0x81) [0x80e53b1]
1: [0x9f8420]
2: /lib/libc.so.6(memcpy+0x1c) [0x7e49ec]
3: Xorg(xf86memcpy+0x2b) [0x80b4efb]
4: /usr/lib/xorg/modules/drivers/fglrx_drv.so(R200Probe+0x121) [0xd8dfd1]
5: Xorg(DoConfigure+0x228) [0x80d22c8]
6: Xorg(InitOutput+0x645) [0x80a1935]
7: Xorg(main+0x276) [0x806f856]
8: /lib/libc.so.6(__libc_start_main+0xdc) [0x78cf2c]
9: Xorg(FontFileCompleteXLFD+0x1e9) [0x806eda1]
There are a few other clueless users out there that Google knows about with similar crashes, but no posted solutions. I figured someone here is likely to know what might be going on. Any ideas appreciated.
Michael
11-20-2006, 06:28 PM
You're very welcome.
So you have the drivers built and installed but they aren't working now? What is the specific graphics card that you are using? Had you tried any AGP options or other non-(aticonfig --initial) options in your config file (what does your xorg.conf look like right now)? If you can post some more detailed information I can try to possibly reproduce the problem and hopefully figure out a fix.
bill_mcgonigle
11-20-2006, 09:04 PM
So you have the drivers built and installed but they aren't working now?
Correct.
What is the specific graphics card that you are using?
This is an integrated Radeon 9100 IGP which from what I can gather uses an RS300 chipset with (maybe?) an R200 (mumble)theater chip for TV-Out.
Had you tried any AGP options or other non-(aticonfig --initial) options in your config file
No, perhaps I should. I looked through the aticonfig help file and it doesn't appear to offer much in the way of AGP options.
(what does your xorg.conf look like right now)?
To make this I ran system-config-display, set my resolution, then ran aticonfig --initial --input=/etc/X11/xorg.conf and manually removed the Radeon driver's Device and the non-ATI Screen section
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dri"
Load "glx"
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
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
If you can post some more detailed information I can try to possibly reproduce the problem and hopefully figure out a fix.
Please let me know what would be most helpful. Some bits that might help:
lspci -v -v -v
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon 9100 IGP (prog-if 00 [VGA])
Subsystem: ASUSTeK Computer Inc. Unknown device 8107
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 255 (2000ns min), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 177
Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at d000 [size=256]
Region 2: Memory at fdc00000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at fdb00000 [disabled] [size=128K]
Capabilities: [58] AGP version 3.0
Status: RQ=256 Iso- ArqSz=0 Cal=7 SBA+ ITACoh- GART64- HTrans- 64bit+ FW+ AGP3+ Rate=x4,x8
Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
dmesg:
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V3 device at 0000:01:05.0 into 4x mode
[drm] Setting GART location based on old memory map
[drm] Loading R200 Microcode
[drm] writeback test succeeded in 1 usecs
[drm] Module unloaded
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 865 MBytes.
[fglrx] module loaded - fglrx 8.28.8 [Aug 17 2006] on minor 0
uname -a : Linux malp.bfc 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:45:28 EST 2006 i686 i686 i386 GNU/Linux
Other curious bits:
I seem to have to do a depmod -a before I can modprobe fglrx on each reboot.
Errors the driver outputs:
(EE) fglrx(0): PreInitDAL failed
(EE) fglrx(0): R200PreInit failed
(EE) Screen(s) found, but none have a usable configuration.
Thanks for looking at this.
bill_mcgonigle
11-20-2006, 09:57 PM
Some progress to report. I can get the X server to start now with:
Option "ForceMonitors" "notv"
I saw some Ubuntu bugs about a similar problem and figured I'd try their solution.
This of course defeats my purposes so I need to figure out now how to get both crt1 and tv working and mirroring. Using "ForceMonitors" "crt1,tv" and "DesktopSetup" "clone" just gets me back to the "no screens" problem.
X -configure's crash still happens and may be a separate issue, but I'm not sure it'll directly affect this setup.
EDIT: "DesktopSetup" "mirror" is what I should have had. X will now start, but no picture on the CRT. :( So my quest has morphed from a "drat, X won't start" to a "how do I get the blasted TV-Out to work." If anybody has a working xorg.conf to share, much appreciated. Here's a device section that doesn't work:
Driver "fglrx"
Option "VideoOverlay" "on"
Option "TVStandard" "VIDEO"
Option "TVFormat" "NTSC-M"
Option "DesktopSetup" "mirror"
Option "EnableMonitor" "tv,crt1"
Option "HSync2" "30-50"
Option "VRefresh2" "60"
Option "ForceMonitors" "crt1,tv"
bill_mcgonigle
11-21-2006, 01:04 AM
I think I spoke too soon. Based on some further experimentation I can crash fglrx just on startup. Using the configuration generated by:
aticonfig --initial=dual-head --input=/etc/X11/xorg.conf --tvf=NTSC --tvs=VIDEO --hsync2=30-50 --vrefresh2=60 --ovon=1 -v
I get the xorg.conf as follows:
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]" 0 0
Screen "aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dri"
Load "glx"
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[1]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "TVFormat" "NTSC-M"
Option "TVStandard" "VIDEO"
Option "HSync2" "30-50"
Option "VRefresh2" "60"
Option "OverlayOnCRTC2" "1"
BusID "PCI:1:5:0"
EndSection
Section "Device"
Identifier "aticonfig-Device[1]"
Driver "fglrx"
BusID "PCI:1:5:0"
Screen 1
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "800x600@60"
EndSubSection
EndSection
Section "Screen"
Identifier "aticonfig-Screen[1]"
Device "aticonfig-Device[1]"
Monitor "aticonfig-Monitor[1]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "800x600@60"
EndSubSection
EndSection
and then the driver crashes:
(EE) fglrx(0): PreInitDAL failed
(EE) fglrx(0): R200PreInit failed
Backtrace:
0: X(xf86SigHandler+0x81) [0x80e53b1]
1: [0xc27420]
2: /usr/lib/xorg/modules/drivers/fglrx_drv.so(R200PreInit+0x526) [0x259f26]
3: X(InitOutput+0x9c1) [0x80a1cb1]
4: X(main+0x276) [0x806f856]
5: /lib/libc.so.6(__libc_start_main+0xdc) [0x78cf2c]
6: X(FontFileCompleteXLFD+0x1e9) [0x806eda1]
jordandalley
12-08-2006, 08:18 PM
Hi all,
great script! I have been trying to get my 8200LE card going for ages!
I have one small snag. Heres the output of the script where it fails. This one has got me to a dead end..
I've had to chop most of the output out as it's quite long and wont fit in a post, but here goes.
ATI module generator V 2.0
==========================
initializing...
make.sh: line 451: [: =: unary operator expected
make.sh: line 525: [: =: unary operator expected
OsRelease=2.6.18-1.2849.fc6
major=2
minor=6
patch=18
extra=-1.2849.fc6
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.2849.fc6/build SUBDIRS=/tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2849.fc6-i586'
CC [M] /tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:49:2: error: #error unknown or undefined architecture configured
In file included from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/capability.h:45,
from include/linux/sched.h:44,
from include/linux/module.h:9,
from /tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:90:
include/asm/processor.h:80: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
include/asm/processor.h:80: error: requested alignment is not a constant
In file included from include/linux/sched.h:49,
from include/linux/module.h:9,
from /tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:90:
include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined
I get multiple pages of this:
include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined
Until eventually this is shown:
/tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3170: error: 'CONFIG_PAGE_OFFSET' undeclared (first use in this function)
make[2]: *** [/tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-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.2849.fc6-i586'
make: *** [kmod_build] Error 2
build failed with return value 2
error: Bad exit status from /tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/rpm-tmp.97873 (%install)
RPM build errors:
Bad exit status from /tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/rpm-tmp.97873 (%install)
__________________________________________________ _____________
ATI fglrx 8.28.8 Legacy drivers for Fedora Core 6 Zod
Run this only if you are using an R200 (e.g. Radeon 9200) graphics card.
New drivers are available for post-R200 hardware.
Created by Michael Larabel of Phoronix
Install resulting RPMs using rpm -ivh
Usage See: http://www.phoronix.net/forums/forumdisplay.php?f=19
Hit any key to continue
Any advice much appreciated :)
Michael
12-08-2006, 08:24 PM
Did you compile the kernel yourself, or what version are you using (uname -a)?
It's having a problem with the kernel.
jordandalley
12-08-2006, 08:30 PM
Thanks for the quick reply Michael. The kernel is just an everyday vanilla rpm package :) Here's the output of uname -a:
[root@blackbraes Desktop]# uname -a
Linux blackbraes 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:36:14 EST 2006 i686 athlon i386 GNU/Linux
Here's some additional info on kernel packages:
[root@blackbraes Desktop]# rpm -qa | grep kernel
kernel-devel-2.6.18-1.2849.fc6
kernel-headers-2.6.18-1.2798.fc6
kernel-devel-2.6.18-1.2798.fc6.stk16
kernel-2.6.18-1.2849.fc6
kernel-2.6.18-1.2798.fc6.stk16
kernel-headers-2.6.18-1.2849.fc6
I could always reboot into the older kernel and see if it compiles in there...
Michael
12-08-2006, 08:35 PM
Yes, see if it compiles in the older kernel. Last time I worked on that script it had built fine (original FC6 kernel). I can also update the script if needed if it turns out to be a issue introduced in the new kernel.
jordandalley
12-08-2006, 08:52 PM
I rebooted into the older kernel. The results, though not conclusive look slightly better than last time. Here's the output this time:
==================================================
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.28.8-1-5360-root/tmp/rpm-tmp.8331
+ umask 022
+ cd /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD
+ cd /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD
+ cd ATI-fglrx-8.28.8
++ /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.28.8-1-5360-root/tmp/rpm-tmp.8331
+ umask 022
+ cd /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD
+ cd ATI-fglrx-8.28.8
+ exit 0
Executing(%install): /bin/sh -e /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/rpm-tmp.8331
+ umask 022
+ cd /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD
+ cd ATI-fglrx-8.28.8
+ rm -rf /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root
+ '[' -d /etc/ld.so.conf.d ']'
+ mkdir -p /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/etc/ld.so.conf.d
+ pushd /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/etc/ld.so.conf.d
/tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/etc/ld.so.conf.d /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8
+ cat
+ popd
/tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8
+ mkdir -p /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/applications
+ pushd /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/applications
/tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/applications /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8
+ cat
+ popd
/tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8
+ cp -pR /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8/etc /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8/lib /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8/usr /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root
+ find /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/doc -type f -perm 0555 -exec chmod 0644 '{}' ';'
+ find /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root -type f -perm 0555 -exec chmod 0755 '{}' ';'
+ export AS_USER=y
+ AS_USER=y
+ pushd /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod
/tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8
+ bash make.sh verbose
ATI module generator V 2.0
==========================
initializing...
cat: /lib/modules/2.6.18-1.2798.fc6.stk16/build/include/linux/version-*.h: No such file or directory
OsRelease=2.6.18-1.2798.fc6.stk16
major=2
minor=6
patch=18
extra=-1.2798.fc6.stk16
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.2798.fc6.stk16/build SUBDIRS=/tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6.stk16-i586'
CC [M] /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-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.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_stub_open':
/tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-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.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-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.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-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
LD [M] /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST
WARNING: could not find /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/.libfglrx_ip.a.GCC4.cmd for /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/libfglrx_ip.a.GCC4
CC /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6.stk16-i586'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
+ mkdir -p /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/2.6.18-1.2798.fc6.stk16/extra
+ install -D -m 0644 fglrx.ko /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/2.6.18-1.2798.fc6.stk16/extra/fglrx/fglrx.ko
+ rm -rf /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx
+ popd
/tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-static-archive
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: ATI-fglrx-8.28.8-1.fc6
Provides: atiogl_a_dri.so config(ATI-fglrx) = 8.28.8-1.fc6 fglrx_dri.so fglrx_drv.so libGL.so.1 libfglrx_dm.so.1.0 libfglrx_gamma.so.1 libfglrx_pp.so.1.0 libfglrx_tvout.so.1 libfglrxdrm.so
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh /sbin/chkconfig /sbin/ldconfig
Requires(preun): /bin/sh /sbin/chkconfig /sbin/service
Requires(postun): /bin/sh /sbin/ldconfig /sbin/service
Requires: /bin/bash /bin/sh config(ATI-fglrx) = 8.28.8-1.fc6 kernel-module-ATI-fglrx-2.6.18-1.2798.fc6.stk16 = 8.28.8-1.fc6 libGL.so.1 libX11.so.6 libXext.so.6 libXrandr.so.2 libXrender.so.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2.3) libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libfglrx_dm.so.1.0 libfglrx_gamma.so.1 libfglrx_pp.so.1.0 libfglrx_tvout.so.1 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0) libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libpthread.so.0 libpthread.so.0(GLIBC_2.0) librt.so.1 librt.so.1(GLIBC_2.2) libstdc++.so.5 libstdc++.so.5(CXXABI_1.2) libstdc++.so.5(GLIBCPP_3.2) system-config-display
Conflicts: fglrx fglrx-glc22 fglrx_4_3_0 fglrx_6_8_0 kernel-module-fglrx ati-fglrx ati-fglrx-devel kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-devel nvidia-glx nvidia-glx-legacy xorg-x11-drv-nvidia xorg-x11-drv-nvidia-legacy
Processing files: ATI-fglrx-control-panel-8.28.8-1.fc6
error: File not found: /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/bin/fireglcontrolpanel
Processing files: ATI-fglrx-devel-8.28.8-1.fc6
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/include/GL ATI-fglrx = 8.28.8-1.fc6 libGL.so.1
Processing files: kernel-module-ATI-fglrx-2.6.18-1.2798.fc6.stk16-8.28.8-1.fc6
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh
Requires(postun): /bin/sh
RPM build errors:
File not found: /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/bin/fireglcontrolpanel
__________________________________________________ _____________
ATI fglrx 8.28.8 Legacy drivers for Fedora Core 6 Zod
Run this only if you are using an R200 (e.g. Radeon 9200) graphics card.
New drivers are available for post-R200 hardware.
Created by Michael Larabel of Phoronix
Install resulting RPMs using rpm -ivh
Usage See: http://www.phoronix.net/forums/forumdisplay.php?f=19
Hit any key to continue
__________________________________________________ _____________
Michael
12-08-2006, 08:59 PM
This time it's due to the fireglcontrolpanel. See: http://phoronix.net/forums/showthread.php?t=318
jordandalley
12-08-2006, 09:01 PM
Thanks Michael,
I thought I had seen that error before somewhere on this forum.
If I compile to rpms in the older kernel, will they still work in the new one - or will I need to somehow get it to compile in the new one.
jordandalley
12-08-2006, 09:16 PM
Now getting:
[root@blackbraes ATI]# make
make: g++: Command not found
make: g++: Command not found
make: g++: Command not found
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy FGLRXExtensions.c
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy ATITVOExtensions.c
g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy main.cpp
make: g++: Command not found
make: *** [main.o] Error 127
[root@blackbraes ATI]#
Funny thing is, I actually have all the qt stuff installed. What package handles g++?
Michael
12-08-2006, 09:22 PM
g++ is with GCC. Do you have the development tools installed?
jordandalley
12-08-2006, 09:24 PM
g++ is with GCC. Do you have the development tools installed?
i have gcc at least..
[root@blackbraes ATI]# rpm -qa | grep gcc
gcc-4.1.1-30
libgcc-4.1.1-30
I think I need gcc-c++ installed :)
jordandalley
12-10-2006, 03:08 AM
Update:
I successfully got it compiled and it made rpms on the old kernel. However in the new kernel is comes up with that CONFIG_HZ thing:
include/linux/jiffies.h:385:6: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:385:6: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:385:6: error: division by zero in #if
I really don't know quite where to go with this..
I even tried the open source R200 drivers for the 8500LE and it gives the same result... this 'CONFIG_HZ' thing with jiffies.h....
mrhassell
12-10-2006, 04:49 AM
Ok - First of all grab these rpm files:
ATI-fglrx-8.28.8-1.fc6.i386.rpm
ATI-fglrx-control-panel-8.28.8-1.fc6.i386.rpm
ATI-fglrx-devel-8.28.8-1.fc6.i386.rpm
Change ownership to root:
# chown root:root *
Install them:
# rpm - ivh ATI-fglrx-8.28.8-1.fc6.i386.rpm
# rpm -ivh ATI-fglrx-control-panel-8.28.8-1.fc6.i386.rpm
# rpm -ivh ATI-fglrx-devel-8.28.8-1.fc6.i386.rpm
If you get some kind of dependancy issue:
# yum install libstdc++.so.5
(and any other dependancies that might be missing)
# fglrx_xgamma
this is for changing your gamma settings....
# fglrxinfo (this is for making sure its working)
Now for the optimistic...
# desktop-effects
Unfortunatly this is as far as I managed to get... and found that this driver DOES NOT support desktop-effects due to the fact that fglrx display drivers do not support AIGLX / GLX_ext_texture_from_pixmap - R200 - should be different for other ATI cards but anything in the 8500 series isnt looking desktop-effects friendly right now... there is always the XGL with Compiz option but XGL is really quite a sacrifice to performance.
# fireglcontrolpanel
if this fires up then ur using the driver...
Michael
12-10-2006, 08:09 AM
# fireglcontrolpanel
if this fires up then ur using the driver...
Actually that isn't entirely the case. fireglcontrolpanel can be installed and will launch while showing Mesa as the OpenGL renderer instead of ATI.
jordandalley
12-10-2006, 03:27 PM
Actually that isn't entirely the case. fireglcontrolpanel can be installed and will launch while showing Mesa as the OpenGL renderer instead of ATI.
Well by all accounts the driver is now working! fireglcontrolpanel loads up showing driver 8.28.08 and mesa 1.2. Seems to be working good :)
Might have to upgrade my card later on to something newer..
mrhassell
12-10-2006, 09:19 PM
Jordan - happy to help out mate!
Michael - It sounds like you are on the money and as I was doing this over an SSH session and could not launch an X session... I was only making sure that the driver install was possible as I spent about 5 hours trying to figure this from source (which kept forking obscure errors), once I had some success with the RPM method, it occured to me to be a good idea to post this in so it may save other people facing a similar problem some time in the future.
I'm going to go and buy an old ATI card now.. hey Jordan how much mate?
MikeL
12-22-2006, 07:47 PM
I am unable to load the FGLRX kernel module for some reason.
[root@fimiketal ~]# modprobe -i fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.18-1.2849.fc6PAE/extra/fglrx/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
[root@fimiketal ~]# dmesg | tail
fglrx: Unknown symbol firegl_cmmqs_get_pageaddr_from_vm
fglrx: Unknown symbol firegl_cail_powerdown
fglrx: Unknown symbol firegl_cail_powerup
[root@fimiketal ~]#
Any suggestions?
Michael
12-22-2006, 08:04 PM
I am unable to load the FGLRX kernel module for some reason.
[root@fimiketal ~]# modprobe -i fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.18-1.2849.fc6PAE/extra/fglrx/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
[root@fimiketal ~]# dmesg | tail
fglrx: Unknown symbol firegl_cmmqs_get_pageaddr_from_vm
fglrx: Unknown symbol firegl_cail_powerdown
fglrx: Unknown symbol firegl_cail_powerup
[root@fimiketal ~]#
Any suggestions?
What kernel and graphics card are you using?
MikeL
12-22-2006, 08:08 PM
Ah, figured I forgot something :(
Anyway:
2.6.18-1.2849.fc6PAE and a Radeon 9200SE.
Michael
12-22-2006, 08:15 PM
Ah, figured I forgot something :(
Anyway:
2.6.18-1.2849.fc6PAE and a Radeon 9200SE.
Oops, missed the kernel version in your previous message.
Try running the legacy script again, I just updated the firegl_public code today but have just reverted it to the previous copy to see if that solves the issue.
If that doesn't work, can you try updated your kernel (a newer one was released into the updates repo earlier this week)? And are you intentionally running the fc6PAE kernel?
MikeL
12-23-2006, 01:06 AM
I was not intentionally running the fc6PAE kernel-- it just sort of jumped on me while I wasn't looking.
Anyway, I switched to the newest non-PAE kernel in the repo, and built the RPMs. Worked like a charm. Thanks a lot.
wintermute
02-21-2007, 02:47 AM
This post below was in the sticky thread for ATI drivers. I post it here, because it seems a more suitable thread.
Well... I did "aticonfig --initial --force" as you told me, and it's not working either.
I tried some more aticonfig debugging, here's what I have when I do a :
aticonfig --dtop=horizontal --screen-layout=left --effective=now
Error: Can't change option 'DesktopSetup' for running session.
aticonfig: checking command options failed.
and a :
aticonfig --list-pairmode
Get pair modes : 0
and a :
aticonfig --add-pairmode=12800x10240+12801x10241
FGLRX_AddPairMode failed when try to add mode : 12800x10240+12801x10241
Using xorg.conf
Saved back-up to xorg.conf.fglrx-10
and this :
aticonfig --enable-monitor=crt1,tmds2
ati_dm: FGLRX_EnableDisplays failed when try to enable display: 21.
Using xorg.conf
Saved back-up to xorg.conf.fglrx-11
I forgot to mention that I have the same Xorg.0.log warnings, the same glxinfo and fglrxinfo as previously posted.
Any idea Michael... or anyone ?
Nikola_
03-31-2007, 09:14 PM
Michael, can u help me please?
I have FC6 with 2.6.20 kernel, and a lot problems making my ATI Radeon 9250 fglrx driver work.
I have installed 8.28.08 drivers with ur script, and this is my out:
fglrxinfo:
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)
LIBGL_DEBUG=verbose fglrxinfo:
libGL error: XF86DRIQueryDirectRenderingCapable returned false
libGL error: XF86DRIQueryDirectRenderingCapable returned false
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)
dmesg:
fglrx: Unknown symbol firegl_cmmqs_get_pageaddr_from_vm
fglrx: Unknown symbol firegl_cail_powerdown
fglrx: Unknown symbol firegl_cail_powerup
fglrx: Unknown symbol firegl_cmmqs_get_pageaddr_from_vm
fglrx: Unknown symbol firegl_cail_powerdown
fglrx: Unknown symbol firegl_cail_powerup
and my xorg.conf
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
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 "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
ModelName "LCD Panel 1280x1024"
HorizSync 31.5 - 67.0
VertRefresh 50.0 - 75.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "fglrx"
Option "DesktopSetup" "clone"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
also my Xorg.0.log
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: open result is -1, (No such device or address)
drmOpenDevice: Open failed
[drm] failed to load kernel module "fglrx"
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed!
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
its quite anoying making this card work, only distro i made it work properly is Ubuntu 6.10, and u can just imagine what horror i had trying make it work in Slackware 11.0 :)
I really dont have money to buy some nvidia card now, and i literaly BEG u help me fix this problem :)
Thanx
Michael
03-31-2007, 09:31 PM
It looks like the 8.35 firegl_public may the not work with the 8.35 driver... still investigating.
hyperplus
04-08-2007, 11:45 PM
Hi All!
I know is my first post, but I have been following all the threads and still can get it completely working.
I have Dell 600m with an ATI Mobility Radeon 9000 for which I am trying to install driver 8.28.8 (which is the last version that with support for my card).
My kernel info is:
[root@localhost ~]# rpm -qa kernel*
kernel-module-ATI-fglrx-2.6.20-1.2933.fc6-8.28.8-1.fc6
kernel-headers-2.6.20-1.2933.fc6
kernel-2.6.20-1.2933.fc6
kernel-devel-2.6.20-1.2933.fc6
Driver performance ATI > Mesa?
After using the script and getting the *.rpm files install when I look at fglrxinfo says the vendor is Mesa and not ATI. Why is that and how can I fix it?
Also I currently have the "Unknown symbol firegl_.." issues reported. Will that be fix when I get the ATI driver install correctly?
Let me know if you need more info.
thanks
Michael
04-09-2007, 07:43 AM
The unknown symbol error is likely why you are still getting Mesa, as those unknown symbol errors are due to incompatibility with the Linux 2.6.20 kernel. I can sync the firegl_public code this month with 8.36 and see if it will work with 8.28.8 due to proper 2.6.20 support.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.