| |||||
| Dernière réponse | |
|---|---|
| Sujet : DRI ou Gatos pour Radeon 7500? | |
| faenir | lit déja la doc du dri des radeon qui traine quelque part sur xfree86.org |
| Aperçu |
|---|
| Vue Rapide de la discussion |
|---|
| faenir | lit déja la doc du dri des radeon qui traine quelque part sur xfree86.org |
| Mittel | persone ne sait ce qui deconne ? :cry: |
| Mittel | ca fonctione avec les drivers mdk9, mais je veux une instale pile poil !! |
| faenir | J'ai fait la mise a jour de tout ce qui était lié a la 3d y a pas longtemps(mais c'est une 7200), certains résultats gagnent plus de 40% mais c'est rarement le cas.
Essaye dèja de le faire fonctionner avec les drivers de la mdk9, tu les mettra a jour quand ça fonctionnera. |
| Mittel | Et j'ai ca comme message en console:
The DRI drivers can not be installed without the latest kernel modules. Installation will be aborted. See the dri.log file for information on what went wrong. je pensais que les drivers DRI donnaient des perfs meilleurs en 3D, et comme je suis entete je veux reussir a installer ce driver :kaola: !!! help !! :cry: |
| faenir | Essaye plutot d'utiliser les pilotes fournis avec la mdk, ça sera plus simple, y a presque rien a faire, lance drakconf et va dans la partie matos, il devrait y avoir une option pour la carte écran |
| Mittel | ok c'etait pas installe
maintenant ca fait ca !!!! cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -I0 -c radeon_drv.c -o radeon_drv.o In file included from /usr/include/linux/prefetch.h:13, from /usr/include/linux/list.h:6, from /usr/include/linux/module.h:11, from drmP.h:43, from radeon_drv.c:32: /usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/processor.h:55: requested alignment is not a constant In file included from /usr/include/linux/module.h:20, from drmP.h:43, from radeon_drv.c:32: /usr/include/linux/modversions.h:1:2: #error "=======================================================" /usr/include/linux/modversions.h:2:2: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/modversions.h:3:2: #error "files directly for the compilation of kernel modules." /usr/include/linux/modversions.h:4:2: #error "" /usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/modversions.h:6:2: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/modversions.h:7:2: #error "These files are glibc internal and may not match the" /usr/include/linux/modversions.h:8:2: #error "currently running kernel. They should only be" /usr/include/linux/modversions.h:9:2: #error "included via other system header files - user space" /usr/include/linux/modversions.h:10:2: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well." /usr/include/linux/modversions.h:12:2: #error "" /usr/include/linux/modversions.h:13:2: #error "To build kernel modules please do the following:" /usr/include/linux/modversions.h:14:2: #error "" /usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources installed" /usr/include/linux/modversions.h:16:2: #error "" /usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic link" /usr/include/linux/modversions.h:18:2: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/modversions.h:19:2: #error " the matching kernel source directory" /usr/include/linux/modversions.h:20:2: #error "" /usr/include/linux/modversions.h:21:2: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/modversions.h:22:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h" /usr/include/linux/modversions.h:23:2: #error "" /usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure to use the following" /usr/include/linux/modversions.h:25:2: #error " compiler option to use the correct include files:" /usr/include/linux/modversions.h:26:2: #error "" /usr/include/linux/modversions.h:27:2: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/modversions.h:28:2: #error "" /usr/include/linux/modversions.h:29:2: #error " instead of" /usr/include/linux/modversions.h:30:2: #error "" /usr/include/linux/modversions.h:31:2: #error " -I/usr/include/linux" /usr/include/linux/modversions.h:32:2: #error "" /usr/include/linux/modversions.h:33:2: #error " Please adjust the Makefile accordingly." /usr/include/linux/modversions.h:34:2: #error "=======================================================" In file included from /usr/include/linux/module.h:296, from drmP.h:43, from radeon_drv.c:32: /usr/include/linux/version.h:2:2: #error "=======================================================" /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules." /usr/include/linux/version.h:5:2: #error "" /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be" /usr/include/linux/version.h:10:2: #error "included via other system header files - user space" /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well." /usr/include/linux/version.h:13:2: #error "" /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15:2: #error "" /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed" /usr/include/linux/version.h:17:2: #error "" /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/version.h:20:2: #error " the matching kernel source directory" /usr/include/linux/version.h:21:2: #error "" /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h" /usr/include/linux/version.h:24:2: #error "" /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following" /usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:" /usr/include/linux/version.h:27:2: #error "" /usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/version.h:29:2: #error "" /usr/include/linux/version.h:30:2: #error " instead of" /usr/include/linux/version.h:31:2: #error "" /usr/include/linux/version.h:32:2: #error " -I/usr/include/linux" /usr/include/linux/version.h:33:2: #error "" /usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly." /usr/include/linux/version.h:35:2: #error "=======================================================" In file included from drmP.h:43, from radeon_drv.c:32: /usr/include/linux/module.h:298: parse error before "UTS_RELEASE" In file included from drmP.h:52, from radeon_drv.c:32: /usr/include/linux/version.h:2:2: #error "=======================================================" /usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header" /usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules." /usr/include/linux/version.h:5:2: #error "" /usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined" /usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)" /usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the" /usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be" /usr/include/linux/version.h:10:2: #error "included via other system header files - user space" /usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or" /usr/include/linux/version.h:12:2: #error "<asm/*.h> as well." /usr/include/linux/version.h:13:2: #error "" /usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:" /usr/include/linux/version.h:15:2: #error "" /usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed" /usr/include/linux/version.h:17:2: #error "" /usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link" /usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to" /usr/include/linux/version.h:20:2: #error " the matching kernel source directory" /usr/include/linux/version.h:21:2: #error "" /usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to" /usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h" /usr/include/linux/version.h:24:2: #error "" /usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following" /usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:" /usr/include/linux/version.h:27:2: #error "" /usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include" /usr/include/linux/version.h:29:2: #error "" /usr/include/linux/version.h:30:2: #error " instead of" /usr/include/linux/version.h:31:2: #error "" /usr/include/linux/version.h:32:2: #error " -I/usr/include/linux" /usr/include/linux/version.h:33:2: #error "" /usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly." /usr/include/linux/version.h:35:2: #error "=======================================================" In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:45, from drm_os_linux.h:3, from drmP.h:75, from radeon_drv.c:32: /usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/irq.h:65: requested alignment is not a constant In file included from /usr/include/linux/interrupt.h:45, from drm_os_linux.h:3, from drmP.h:75, from radeon_drv.c:32: /usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/hardirq.h:16: requested alignment is not a constant In file included from drm_os_linux.h:3, from drmP.h:75, from radeon_drv.c:32: /usr/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/interrupt.h:128: requested alignment is not a constant In file included from radeon_drv.c:32: drmP.h:169:40: missing binary operator before '(' drmP.h:194:40: missing binary operator before '(' In file included from radeon_drv.c:40: drm_bufs.h: In function `radeon_mapbufs': drm_bufs.h:1064: warning: passing arg 1 of `down' from incompatible pointer type drm_bufs.h:1073: warning: passing arg 1 of `up' from incompatible pointer type drm_bufs.h:1079: warning: passing arg 1 of `down' from incompatible pointer type drm_bufs.h:1087: warning: passing arg 1 of `up' from incompatible pointer type In file included from radeon_drv.c:48: drm_lock.h: In function `radeon_lock_take': drm_lock.h:57: warning: implicit declaration of function `cmpxchg' In file included from radeon_drv.c:51: drm_vm.h: In function `radeon_mmap': drm_vm.h:462: warning: passing arg 1 of `remap_page_range' makes integer from pointer without a cast drm_vm.h:462: incompatible type for argument 4 of `remap_page_range' drm_vm.h:462: too many arguments to function `remap_page_range' make: *** [radeon_drv.o] Error 1 ARGH !!!! :( kekivapa now ???? c relou .... |
| faenir | mdk? normalement, drakqqch aurait dut la trouver et la configurer correctement, c'est bizarre.
tapes urpmi gcc |
| Mittel | mdk9
ok je viens de faire un urpmi cc et il me sort ca: The following packages contain cc: at-spi glibc gcc2.96 jmcce-fonts gcc-doc gcc- java byacc gcc-c++ gcc-colorgcc gcc-gpc-devel gcc-gpc gcc-objc perl-PDL gcc2.96- c++ pam libgcc1 jmcce perl-libxml-enno gcc2.96-cpp libgcj3 gcc-cpp xine-plugins gfcc kdoc jmcce-inputref gcc-g77 kdebase unicon-input linuxconf libgtkodbcconfig 0 gcc2.96-colorgcc libunixODBC2 psacct apache-modules mozilla perl gcc-gnat gcc ??? |
| faenir | Il te manque cc, le compilateur, t'as quel distro? |
| Mittel | merci pour les renseignements.
Mon Ati est une 7500 built by Ati. SInon j'ai un blem lors de l'instal: cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -DEXPORT_SYMTAB -I0 -c radeon_drv.c -o radeon_drv.o make: cc: Command not found make: *** [radeon_drv.o] Error 127 Je pige pas ... comme si la commande make n'existe pas ?? (en root) |
| cedcox | les gatos marchent très bien (y compris la sortie télé ) pour les 7500, il se peut qu'il y'ait une petite manip à faire pour que ca marche, manip à faire au niveau des sources... j'ai déjà fait un post pour expliker tout ça... De plus les drivers proprios ne marchent en général que pour les build by ATI et non les powered by ATI.
http://forum.hardware.fr/forum2.ph [...] h=&subcat= |
| jyp |
|
| Mittel | ok d'ac, donc comme c'est pas une aiw je prend les dri !
merci |
| faenir | Si c'est une aiw, prend ceux de gatos, sinon prend les dri |
| Mittel | oui, j'ai vu mais apparament ils ne sont pas pour radeon 7500 |
| farib | les proprios d'ATI recemment sortis :pt1cable: |
| Mittel | lequel de ces deux differents drivers marche le mieux pour une ati 7500 (perf, compatibilite, etc..)
Merci ! |




