View Full Version : Problems with the 8.16.20 ATI drivers
PowerMatt
2005-08-17, 05:26 PM CDT
The latest ATI drivers (released today) claiming to support the 2.6.12 kernel don't seem to live up to that claim. It keeps complaining about the kernel module not being there. I'm running the 2.6.12 1398 kernel. Anyone else having this problem?
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
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): ********************************************* *
Rever75
2005-08-18, 11:10 AM CDT
I have the same issue. The module loads from /usr/X11R6/lib64/modules/drivers/fglrx_drv.o
[From xorg log]
(II) Loading extension XFree86-DRI
(II) LoadModule: "fglrx"
(II) Loading /usr/X11R6/lib64/modules/drivers/fglrx_drv.o
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
compiled for 6.8.0, module version = 8.16.20
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 0.7
[end]
However there is no kernel module built so DRI does not init and 3D does not work. Ih ave been trying to get 3D working on ATI for sometime now. I have onboard xpress 200 and nothing seems to work. If you find and answer please post back.
Rever75
2005-08-18, 11:35 AM CDT
from the kernel module build log.......
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kern el module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.11-1.1369_FC4/build SUBDIRS=/lib/modules/fglrx/build_mo d/2.6.x modules
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-x86_64'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agp3.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function ‘__fgl_agp_init’:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:8166: warning: ‘pm_register’ is deprecated (declared at include/linux/pm.h:106)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function ‘__fgl_agp_cleanup’ :
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:8176: warning: ‘pm_unregister_al l’ is deprecated (declared at include/linux/pm.h:116)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:6070: warning: ‘ati_gart_base’ d efined but not used
CC [M] /lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:124:25: error: asm/ioctl32.h: No such file or directory
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_stub_put minor’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:498: warning: ‘inter_module_p ut’ is deprecated (declared at include/linux/module.h:571)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:500: warning: ‘inter_module_u nregister’ is deprecated (declared at include/linux/module.h:568)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_stub_reg ister’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:520: warning: ‘inter_module_r egister’ is deprecated (declared at include/linux/module.h:567)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:551: warning: ‘inter_module_p ut’ is deprecated (declared at include/linux/module.h:571)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_get_user _ptr’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1067: warning: assignment mak es pointer from integer without a cast
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘firegl_put_user _ptr’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1099: warning: cast from poin ter to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1099: warning: cast from poin ter to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1099: warning: cast from poin ter to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1099: warning: cast from poin ter to integer of different size
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_verify_are a’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1428: warning: ‘verify_area’ is deprecated (declared at include/asm/uaccess.h:54)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_register_i octl32_conversion’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2177: warning: implicit decla ration of function ‘register_ioctl32_conversion’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_unregister _ioctl32_conversion’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2182: warning: implicit decla ration of function ‘unregister_ioctl32_conversion’
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3102: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3105: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3106: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3107: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3109: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function ‘__ke_smp_call_f unction’:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3709: warning: statement with no effect
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-x86_64'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.
PowerMatt
2005-08-18, 06:10 PM CDT
Par for the course with ATI, I guess. I haven't had 3D working in Fedora since FC3 and the 2.6.10 kernel.
daneel971
2005-08-22, 02:26 AM CDT
For me the drivers compile and install fine (ati version: not yet tried Livna), DRI starts, but if I logout from KDE or shutdown the pc, the system hangs with a black screen and the keyboard is totally dead.
My card is a x700 pro PCIE.
UPDATE: I installed the livna version, and it works perfectly - no more black screen on logout -shutdown-reboot and DRI is ok. Many thanks to the livna guys! :)
cerox
2005-08-22, 05:09 AM CDT
no problem at all, Livna relese 9600XT card. togh trying to get video playback on my tv whit out luck
Rever75
2005-08-22, 10:29 AM CDT
Well I installed the Livna ones and they seemed to work. The fglrx driver loads but still no dri. Here is my Xorg.0.log
(II) fglrx(0): UMM Bus area: 0xf8701000 (size=0x008ef000)
(II) fglrx(0): UMM area: 0x3f701000 (size=0x008ef000)
(II) fglrx(0): driver needs X.org 6.8.x.y with x.y >= 0.0
(II) fglrx(0): detected X.org 6.8.2.0
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID PCI:1:5:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: drmOpenMinor returns 5
drmOpenByBusid: drmGetBusid reports
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card4
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card5
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card6
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card7
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card8
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card9
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card10
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card11
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card12
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card13
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card14
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] loaded kernel module for "fglrx" driver
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:5:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xffffc200000bb000
(II) fglrx(0): [drm] mapped SAREA 0xffffc200000bb000 to 0x2aaaaac4e000
(II) fglrx(0): [drm] framebuffer handle = 0xf8000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.16.20
(II) fglrx(0): Date: Aug 16 2005
(II) fglrx(0): Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.12-1.1398_FC4
(II) fglrx(0): Build-Kernel MODVERSIONS: yes
(II) fglrx(0): Build-Kernel __SMP__: yes
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0xfdaf0000
(II) fglrx(0): [pcie] 65536 kB allocated with handle 0xdeadbeef
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
(II) fglrx(0): [drm] texture shared area handle = 0xffffc20000234000
(EE) fglrx(0): Failed to allocate shared Z/stencil buffer!
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xffffc200000bb000 at 0x2aaaaac4e000
(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): ********************************************* *
(II) fglrx(0): FBADPhys: 0x3f000000 FBMappedSize: 0x00ff0000
(II) fglrx(0): FBMM initialized for area (0,0)-(1280,3264)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1280,1024) (front color buffer - assumpt ion)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) fglrx(0): Using hardware cursor (scanline 1024)
(II) fglrx(0): Largest offscreen area available: 1280 x 2236
(**) Option "dpms"
(**) fglrx(0): DPMS enabled
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid Horizontal and Vertical Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
14 256x256 slots
5 512x512 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): Direct rendering disabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(==) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "Protocol" "ImPS/2"
(**) Mouse1: Device: "/dev/input/mice"
(**) Mouse1: Protocol: "ImPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons"
(**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(**) Option "CoreKeyboard"
(**) Keyboard1: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) Keyboard1: XkbRules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) Keyboard1: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard1: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: ps2EnableDataReporting: succeeded
#lsmod |grep fglrx
fglrx 300304 0
Rever75
2005-08-24, 01:12 PM CDT
Ok found the issue. I had dropped my shared memory for this card to 16. It has to have atleast 64. No all is working.
PowerMatt
2005-08-26, 04:52 PM CDT
The livna ati drivers are working great for me too. That's what's great about Linux... if something doesn't work, you can bet someone will make it work.
JakReloaded
2005-08-27, 06:56 AM CDT
HEy Everyone,
i got the drivers and i am also having problems, can you explain to me how to increase the shared memory as i have not done this before heh.
Thanks in advanced!
Cheers
JakReloaded
erroneus
2005-08-27, 07:11 AM CDT
I wish I could contribute more than "I got the upgrade through 'up2date' and it just worked."
I used the Livna stuff and I run it on my Dell Inspiron 8600 with a 128MB ATI 9600 mobility. I appreciate the need to match kernels, modules and X drivers in this case. To keep it simple, they must ALL match or don't try using anything pre-compiled. Frankly, I have not played with compiling myself because of the work it requires. If I only needed to do that for one or maybe two bits of hardware, that would be fine, but it becomes a lot to keep up with if you want to really tweak a system out.
And in my case, if I wanted badly enough to get S3/S4 suspend modes working, I would need to do all sorts of tweaks and stuff. While I feel confident I could do it, it would take hours of work and concentration that I just don't feel the drive to utilize. Early when I was starting with Linux, I did that with every new kernel... tweaking, patching, compiling, tweaking some more... it was a nice learning experience to better understand what's going on inside. But now I'd just rather wait until some generous soul compiles the kernels and the modules and the X drivers for me... and as thanks, I've been happy to donate money... $10 here $20 there... well worth it IMHO.
Rever75
2005-08-30, 09:10 AM CDT
JakReloaded,
To increase your shared memory on your onboard video card you need to enter the BIOS. From there you should look in Advance Chipset config. Gives options of 16, 32, 64, and 128. Atleast mine did. Hope this helps.
Marconis777
2005-08-30, 10:18 AM CDT
Hi, I'm new here. I found a solution that may work for some people. I've sttled on Fedora as my distro as it detects most of my hardware no problem, but 3D acceleration was an issue for a while. These changes finally got it working. I got the drivers and kernel modules from livna, making sure that they matched versions. No amount of kernel compiling or tweaking would get them to work. Then I happened upon this from ATI's site:
http://www2.ati.com/drivers/linux/linux_8.16.20.html
Lots of interesting stuff which may be of use, but check out the part about problems with AGP. I took their advice and switched from the AGP Gart to PCI by following these steps taken from the release notes):
Users experiencing problems with the AGP GART Module can use the PCI GART module and enable the feature in the driver by making the "BusType" option "PCI" in the Video Card Device section. To do this follow these steps:
1. Edit the X Server configuration file (/etc/X11/XF86Config or /etc/X11/xorg.conf
2. Navigate to the fglrx device section
3. Add the following line: Option "BusType" "PCI"
You have successfully enabled the PCI GART for the ATI Proprietary Linux Driver.
And that's all it took. I'm sure there is a trade off for using PCI as opposed to AGP, but I haven't found it yet.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.