PDA

View Full Version : driver installations don't do anything or don't work



splittik
03-27-2005, 02:16 AM
alright i've tried to get my card working for a few days now and i searched on various forums and threads but can't find anything.

i downloaded the driver from the ati site (the driver for RADEON 8500 Series and higher) and used alien to convert it and then installed it using
dpkg -i --force-overwrite directory/of/file/fglrx_4_3_0-8.10.19-1.i386.deb
it went through everything but it didn't do anything - i still can't view advanced 3D graphic programs/games without serious lag(and i need to force to open the program since theres no advanced acceleration)

then i downloaded this script http://www.kano.mipooh.net/, which i found on this thread, http://www.knoppix.net/forum/viewtopic.php?t=9049&highlight=ati+installation but after i went through the complete installation it still didn't do anything, still couldnt view advanced 3D games, etc.

i tried this site http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html#kernel but get this error when i do "sudo fakeroot make-kpkg --append-to-version "-l-386" --added-modules fglrx-kernel-src modules_image"


/usr/src/linux-2.6.11$ sudo fakeroot make-kpkg --append-to-version "-l-386" --added-modules fglrx-kernel-src modules_image
Warning: The file include/linux/version.h exists
The contained UTS_VERSION string:
"2.6.11-l-386y"
does not match expectations:
"2.6.11-l-386"
I'll try and recover
Please ignore the warning about overriding and ignoring targets above.
These are harmless. They are only invoked in a part of the process
that tries to snarf variable values for the conf.vars file.
echo done > stamp-configure
for module in /usr/src/modules/fglrx-kernel-src ; do \
if test -d $module; then \
(cd $module; \
if ./debian/rules KVERS="2.6.11-l-386" KSRC="/usr/src/linux-2.6.11" \
KMAINT="Klaus Knopper" KEMAIL="knoppix@knopper.net" \
KPKG_DEST_DIR="/usr/src/linux-2.6.11/.." \
KPKG_MAINTAINER="Klaus Knopper" \
KPKG_EXTRAV_ARG="EXTRAVERSION=-l-386" \
ARCH="i386" \
KDREV="10.00.Custom" kdist_image; then \
echo "Module $module processed fine"; \
else \
echo "Module $module failed."; \
if [ "X" != "X" ]; then \
echo "Perhaps $module does not understand --rootcmd?"; \
echo "If you see messages that indicate that it is not";\
echo "in fact being built as root, please file a bug ";\
echo "against $module."; \
fi; \
echo "Hit return to Continue"; \
read ans; \
fi; \
); \
fi; \
done
make[1]: Entering directory `/usr/src/modules/fglrx-kernel-src'
dh_testdir
/usr/bin/make -C /usr/src/linux-2.6.11 SUBDIRS=/usr/src/modules/fglrx-kernel-src modules
make[2]: Entering directory `/usr/src/linux-2.6.11'
CC [M] /usr/src/modules/fglrx-kernel-src/firegl_public.o
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `firegl_stub_putminor':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:509: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/usr/src/modules/fglrx-kernel-src/firegl_public.c:511: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:574)
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `firegl_stub_register':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:531: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:573)
/usr/src/modules/fglrx-kernel-src/firegl_public.c:562: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_get_vm_phys_addr':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:1673: warning: passing arg 1of `pmd_offset' from incompatible pointer type
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `do_vm_shm_nopage':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:2203: warning: passing arg 1of `pmd_offset' from incompatible pointer type
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_vm_phys_addr_str':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:2573: warning: passing arg 1of `pmd_offset' from incompatible pointer type
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_vm_map':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:2722: warning: implicit declaration of function `remap_page_range'
/usr/src/modules/fglrx-kernel-src/firegl_public.c: At top level:
/usr/src/modules/fglrx-kernel-src/firegl_public.c:2876: error: parse error before '*' token
/usr/src/modules/fglrx-kernel-src/firegl_public.c:2876: warning: type defaultsto `int' in declaration of `drm_agp_module_stub'
/usr/src/modules/fglrx-kernel-src/firegl_public.c:2876: warning: data definition has no type or storage class
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_agpgart_available':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3018: error: `drm_agp_t' undeclared (first use in this function)
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3018: error: (Each undeclared identifier is reported only once
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3018: error: for each function it appears in.)
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3018: error: parse error before ')' token
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3039: error: request for member `free_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3041: error: request for member `free_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3044: error: request for member `allocate_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3046: error: request for member `allocate_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3049: error: request for member `bind_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3051: error: request for member `bind_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3054: error: request for member `unbind_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3056: error: request for member `unbind_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3059: error: request for member `enable' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3061: error: request for member `enable' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3064: error: request for member `acquire' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3066: error: request for member `acquire' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3069: error: request for member `release' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3071: error: request for member `release' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3074: error: request for member `copy_info' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3076: error: request for member `copy_info' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_agp_uninit':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3147: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_agp_free_memory':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3180: error: request for member `free_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3181: error: request for member `free_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_agp_allocate_memory':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3190: error: request for member `allocate_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3191: error: request for member `allocate_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_agp_bind_memory':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3201: error: request for member `bind_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3202: error: request for member `bind_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_agp_unbind_memory':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3212: error: request for member `unbind_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3213: error: request for member `unbind_memory' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_agp_enable':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3223: error: request for member `enable' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3225: error: request for member `enable' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_agp_acquire':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3271: error: request for member `acquire' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3272: error: request for member `acquire' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_agp_release':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3282: error: request for member `release' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3283: error: request for member `release' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c: In function `__ke_agp_copy_info':
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3296: error: request for member `copy_info' in something not a structure or union
/usr/src/modules/fglrx-kernel-src/firegl_public.c:3303: error: request for member `copy_info' in something not a structure or union
make[3]: *** [/usr/src/modules/fglrx-kernel-src/firegl_public.o] Error 1
make[2]: *** [_module_/usr/src/modules/fglrx-kernel-src] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.11'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/usr/src/modules/fglrx-kernel-src'
Module /usr/src/modules/fglrx-kernel-src failed.
Hit return to Continue

this is what i get when i do lspci -v


~$ sudo lspci -v
0000:00:00.0 Host bridge: VIA Technologies, Inc. P4M266 Host Bridge
Subsystem: Asustek Computer, Inc.: Unknown device 807b
Flags: bus master, 66MHz, medium devsel, latency 8
Memory at e0000000 (32-bit, prefetchable) [size=64M]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2

0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: ff900000-ff9fffff
Prefetchable memory behind bridge: bff00000-dfefffff
Capabilities: [80] Power Management version 2

0000:00:0a.0 Ethernet controller: D-Link System Inc DWL-510 2.4GHz Wireless PCI Adapter (rev 20)
Subsystem: D-Link System Inc: Unknown device 3301
Flags: bus master, medium devsel, latency 64, IRQ 18
I/O ports at ee00 [size=256]
Memory at ffaff400 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc. A7V8X-X motherboard
Flags: bus master, medium devsel, latency 64, IRQ 21
I/O ports at e000 [size=32]
Capabilities: [80] Power Management version 2

0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc. A7V8X-X motherboard
Flags: bus master, medium devsel, latency 64, IRQ 21
I/O ports at e080 [size=32]
Capabilities: [80] Power Management version 2

0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) (prog-if 00 [UHCI])
Subsystem: Asustek Computer, Inc. A7V8X-X motherboard
Flags: bus master, medium devsel, latency 64, IRQ 21
I/O ports at ec00 [size=32]
Capabilities: [80] Power Management version 2

0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 [EHCI])
Subsystem: Asustek Computer, Inc. A7V8X-X motherboard rev 1.01
Flags: bus master, medium devsel, latency 64, IRQ 21
Memory at ffaff800 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2

0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
Subsystem: Asustek Computer, Inc. A7V8X-X motherboard
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2

0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: Asustek Computer, Inc. A7V8X-X motherboard rev. 1.01
Flags: bus master, medium devsel, latency 32, IRQ 255
I/O ports at fc00 [size=16]
Capabilities: [c0] Power Management version 2

0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
Subsystem: Asustek Computer, Inc.: Unknown device 810f
Flags: medium devsel, IRQ 22
I/O ports at e400 [size=256]
Capabilities: [c0] Power Management version 2

0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
Subsystem: Asustek Computer, Inc.: Unknown device 80ff
Flags: bus master, medium devsel, latency 64, IRQ 23
I/O ports at e800 [size=256]
Memory at ffaffc00 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2

0000:01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4153 (prog-if 00 [VGA])
Subsystem: Asustek Computer, Inc.: Unknown device 0038
Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 11
Memory at d0000000 (32-bit, prefetchable) [size=128M]
I/O ports at d000 [size=256]
Memory at ff9f0000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at ff9c0000 [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2

0000:01:00.1 Display controller: ATI Technologies Inc: Unknown device 4173
Subsystem: Asustek Computer, Inc.: Unknown device 0039
Flags: bus master, 66MHz, medium devsel, latency 64
Memory at c8000000 (32-bit, prefetchable) [size=128M]
Memory at ff9e0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 2

I use Knoppix 3.8 which is installed on my hard drive and i have an Asus radeon 9550. Can anyone help me out with the error or how to install my card? this is starting to get very annoying

rusty
03-27-2005, 06:36 AM
Just a couple of guesses,

Have you got the kernel headers for the kernel installed? You should be able to by apt-get install kernel-headers-2.6.11. I'm not sure that you can get them yet from the stock depositories.

You might need to get or invoke different gcc libraries, I believe there is a tag that you can use to do that but I'm not that up on it. If you can find the version of gcc that the program expects, I think you can pass it to your make command.

Google it up or search the forums with this suggestion, hopefully someone with more experience will chime in with more.

HTH

splittik
03-27-2005, 10:23 PM
yes i do have the latest kernel-headers. I downloaded a script from ati that checks what version of the driver i have installed and it says


.../video_drivers/check.sh
================================================== ===================
ATI Technologies
================================================== ===================
XFree86 Version 4.3.0.1 is installed.

this means that i installed the driver? but it still doesn't do anything. It is the exact same as before.

then i checked using synaptic and when i did a search on fglrx i found these and were all already installed.

fglrx4-3-0
fglrx-driver
fglrx-kernel-src

is the reason why the driver does not do anything is because i use an asus card(its ati) and its just not a regular radeon.

rusty
03-28-2005, 01:25 AM
After looking at http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html I'm guesing that you have already tried adding the source for the deb package to your apt.sources file and using apt-get directly rather than aliening an rpm.


You can download these packages with apt by adding the following lines to your /etc/apt/sources.list file:

deb http://www.stanchina.net/~flavio/debian/ ./
deb-src http://www.stanchina.net/~flavio/debian/ ./


or download the prebuilt deb and use synaptic or kpackage to install it.

If you have to build the driver yourself post the output of
dpkg -l *gcc* to see what compiler version you're using.

splittik
03-28-2005, 02:48 AM
well i've rebuilt/installed my kernel before but i tried using this code anyways


apt-get install kernel-source-2.6.11
cd /usr/src
tar xjvf kernel-source-2.6.11.tar.bz2
cd kernel-source-2.6.11
cp /boot/config-2.6.11-i386 .config
make-kpkg --append-to-version --revision 2.6.11 --config old configure

and it went through all that and worked out fine but i still get errors when i tried to re-install the fglrx driver but still recieved errors from all the different ways that http://xoomer.virgilio.it/flavio.stanchina/debian/fglrx-installer.html gives.

I'm sorry, but i'm not sure what source your refering to. I've tried both using alien and getting the debian directly but i am not sure which prebuilt deb you are talking about. I've tried installing extra fglrx files using synaptic from my updated packages but only one out three of them installed successfully.

output of dpkg -l *gcc*


~$ dpkg -l *gcc*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
pn altgcc <none> (no description available)
ii colorgcc 1.3.2.0-2 Colorizer for GCC warning/error messages
ii gcc 3.3.5-1 The GNU C compiler
pn gcc-2.95 <none> (no description available)
pn gcc-3.0 <none> (no description available)
pn gcc-3.0-base <none> (no description available)
pn gcc-3.2 <none> (no description available)
pn gcc-3.2-base <none> (no description available)
ii gcc-3.3 3.3.5-8 The GNU C compiler
ii gcc-3.3-base 3.3.5-8 The GNU Compiler Collection (base package)
un gcc-3.3-doc <none> (no description available)
pn gcc-doc <none> (no description available)
pn gcc272 <none> (no description available)
pn gcc272-docs <none> (no description available)
ii libgcc1 3.4.3-6 GCC support library

rusty
03-28-2005, 05:48 AM
Hmm,

You seem to have tried evrything that the website suggests. I was wondering if it wa a problem with which compiler version you have installed. Your dpkg output shows two versions of gcc, which is being used i can't tell.

Also, if you haven't already, try uninstalling all the binaries and source code used so far and try downloading the source and building with make by itself, not make-kpkg, from /usr/src. (ie. don't try to build a deb first?) There is a way to force which gcc version does the compile, but it escapes me right now.

I don't know if you've tried any other distros that might have support for the card bilt in.. Mepis or Kanotix perhaps.

Sorry I'm not more help.