![]() |
radeon 9600 no direct rendering on debian
hi,
i have recently installed Debian Woody. i am in the process of trying to get my radeon 9600 se video card to work. so far i have installed the experimental X4.3 and the fglrx driver for 4.3, and updated my kernel-version to 2.4.24. it would seem that 2d acceleration is working, but 3d is not. i have been told by another person who owns a similar radeon card that i should be able to utilize 3d acceleration ??? one problem seems to be that i cannot get the agpgart module to load: /lib/modules/2.4.24/kernel/drivers/char/agp/agpgart.o: init_module: Invalid argument Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.24/kernel/drivers/char/agp/agpgart.o: insmod /lib/modules/2.4.24/kernel/drivers/char/agp/agpgart.o failed /lib/modules/2.4.24/kernel/drivers/char/agp/agpgart.o: insmod agpgart failed for some reason lspci lists to video adapters (i only have one card and definitely no embedded adapter): 01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4151 01:00.1 Display controller: ATI Technologies Inc: Unknown device 4171 X tries to load video onto 01:00.1, but fails and then seems to fall back to 01:00.0. i don't know if this has anything to do with the problem, but i thought i should include the info. noticed interesting warnings in kernel compile section char drm: drm_os_linux.h:16: warning: #warning the author of this code needs to read up on list_entry In file included from radeon_drv.c:35: radeon_drv.h:846: warning: #warning PCI posting bug In file included from drm_dma.h:33, from radeon_drv.c:42: drm_os_linux.h:16: warning: #warning the author of this code needs to read up on list_entry In file included from radeon_drv.c:38: drm_agpsupport.h: In function `radeon_agp_acquire': drm_agpsupport.h:82: warning: suggest parentheses around assignment used as truth value also found this part of XFree86.0.log rather interesting and potentially useful to someone who knows more than i do ;) : II) fglrx(0): UMM area: 0xc0500000 (size=0x07b00000) (II) fglrx(0): driver needs XFree86 version: 4.3.x (II) fglrx(0): detected XFree86 version: 4.3.0 (II) Loading extension ATIFGLRXDRI (II) fglrx(0): doing DRIScreenInit drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: open result is -1, (No such device) drmOpenDevice: Open failed drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such device) drmOpenDevice: open result is -1, (No such device) 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): ********************************************* * (II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x08000000 (II) fglrx(0): FBMM initialized for area (0,0)-(1024,8191) (II) fglrx(0): FBMM auto alloc for area (0,0)-(1024,768) (front color buffer - assumption) (==) fglrx(0): Backing store disabled (==) fglrx(0): Silken mouse enabled (II) fglrx(0): Using hardware cursor (scanline 768) (II) fglrx(0): Largest offscreen area available: 1024 x 7419 (**) 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 32 256x256 slots 16 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. i hope this is enough information to describe properly the problems i am having with my display. i am a newbie to linux, so none of this really makes much sense to me. i would be very greatful for any assistance with this matter. i NEED 3d accel as i am dying to install and run QuakeForge ;) -daemonTED |
i also have 9600 pro and its working 3d now at LAST
i recompiled the kernel From the ATI Linux driver page ( http://www.ati.com/support/drivers/l...eon-linux.html ) download the latest driver for XFree86 4.3.0 to /tmp. The file name should be similar to fglrx-glc22-4.3.0-3.7.0.i386.rpm. As root run the following commands: cd /tmp alien fglrx-glc22-4.3.0-3.7.0.i386.rpm dpkg --force-overwite -i fglrx-glc22_4.3.0-4.7_i386.deb cd /lib/modules/fglrx/build_mod ./make.sh cd /lib/modules/fglrx ./make_install.sh fglrxconfig After completing your X configuration using fglrxconfig, press CTRL-ALT-BACKSPACE to restart X |
thankyou, but didn't work :(
hmm, i am very greatful for heema's prompt reply, but unfortunately that did not help my situation. i recompiled the kernel when i updated to 2.4.24, so i figure that step was covered.
since updating my kernel i had not done both the .deb install and the manual fglrx kernel module install so, as heema's instructions specified, i tried that. (i had only done the fglrx kernel module install - ./make.sh ./make_install.sh - after updating to 2.4.24) i then proceeded to run fglrxconfig (is there something that i could have done wrong in that - can anyone help me with this one?), and saved it at the end as fglrxconfig wishes to do. after following those steps, i restarted X. still no direct rendering :( tried running tuxkart racer as a test too - still got 2fps approx :cry: i am starting to wonder if i have done something really wrong in my setup. the only difference in my problem to what it would seem heema experienced is that i have the radeon 9600 SE, not radeon 9600 PRO. -would this make a difference???? HELP ;) -daemonTED |
and just a quick li'l ditty - could this possibly be because i am running Woody?
-i do not have a full understanding as to whether it is only the kernel version that affects such compatibilities, or the also the distribution ??? -daemonTED |
I'm quite nOOb in Linux and I also have a problem with Radeon Driver
I have followed the instruction descibe by heema, but when I launch Gnome (with x), it starts but I receive the message "Symbol from module /usr/X11R6/lib/modules/drivers/fglrx_drv.o is unresolved" My kernel is 2.6.2. Any idea ? |
Same thing here. I encountered the same problems on Debian with ATI Radeon 9600 Pro. Anyone know how to fix the problem?
|
unknown111 - what kernel and distro and such are you running?
really need more info. i would suggest running 2.6.7. it is really good for things like DMA too. also, are you running X4.3? please provide as much information as possible |
Quote:
I am using Debian Sid, kernel 2.6.7-1-k7 (downloaded the kernel-image, headers, kernel source). Supposedly it installs the .deb I made with alien just fine: Code:
debian:/home/pibby/Desktop# dpkg --force-overwrite -i fglrx_4.3.0-4.14_i386.deb (Reading database ... 51147 files and directories currently installed.) Code:
debian:/lib/modules/fglrx/build_mod# sh make.sh Any ideas? :scratch: |
i used to run a radeon 9600se. there was quite a bit of hassle invlolved, but i did get it going. this could be a stupid question, but could it have anything to do with you entering 'sh make.sh' rather than just './make.sh' ??
|
Well I tried that, this was the outcome:
Code:
debian:/lib/modules/fglrx/build_mod# ./make.sh |
ahh, okay. have you done chmod to make it so that make.sh is executable?
if you haven't, you will also have to chmod make_install.sh :) in case you are not familiar with chmod, as root: chmod +x make.sh then chmod +x make_install.sh i hope this helps a little as i know how much of a PITA installing a radeon on linux is |
Well I gave that a try, still getting that same error though. Argh, why must things be so difficult sometimes :(
Code:
debian:/lib/modules/fglrx/build_mod# ./make.sh |
Installed kernel 2.6.9 in hopes that there might be a slight miracle and things would install properly, but still getting the same:
Code:
ATI module generator V 2.0 |
Well I tried using the package "fglrx-driver" from Ubuntu's apt sources. That seemed to install fine, i.e. no error messages. However, I still get something like "FATAL: module fglrx does not exist" or something to that effect. So, I uninstalled that and am back to trying to use the official ATI drivers, but still getting no where.
Please oh please help! |
Finally, a solution!
http://www.linuxquestions.org/questi...826#post646826 Basically, as pointed out in the howto, the make.sh file is looking for the drm drivers in the wrong place, so I simply copied the drm directory from the kernel source to the lib/modules section where it should be (before there were just 2 files, no drivers of any kind): cp -Rf /usr/src/kernel-source-2.6.9/drivers/char/drm/ /lib/modules/2.6.9-1-k7/build/drivers/char/ And now.... pibby@poopsmith:~$ glxinfo direct rendering: Yes pibby@poopsmith:~$ glxgears 17114 frames in 5.0 seconds = 3422.800 FPS 23196 frames in 5.0 seconds = 4639.200 FPS 23186 frames in 5.0 seconds = 4637.200 FPS 23115 frames in 5.0 seconds = 4623.000 FPS 23290 frames in 5.0 seconds = 4658.000 FPS 23257 frames in 5.0 seconds = 4651.400 FPS 23195 frames in 5.0 seconds = 4639.000 FPS 23082 frames in 5.0 seconds = 4616.400 FPS 23204 frames in 5.0 seconds = 4640.800 FPS pibby@poopsmith:~$ fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON 9600 Generic OpenGL version string: 1.3.4641 (X4.3.0-3.14.1) Hope this helps someone else in the future and thanks to those who tried to help out with my problem. :) |
All times are GMT -5. The time now is 12:14 PM. |