Hozzászólások
-
SzerzőBejegyzés
-
Olvasgattam egy kicsit és találtam egy ilyen lehetőséget: http://ubuntuforums.org/showthread.php?t=215763
Mondjuk ezzel az a gáz, hogy 800*600-ban nyomul, ami azért elég gyenge.
Az alap „ati” driverrel nem lehet valahogy rávenni erre a tv-out-ra, úgy hogy csak a xorg.conf-ot szerkesztgetem?
Meg azt sem vágom, hogy az alien miért generál hibás package-t, emlékszem anno próbálkoztam debiannal is, addig sem jutottam el, hogy X-et varázsoljak, de ott tudom nem volt semmi gond az átalakítással, még az fglrxcontrol konfigolása is rémlik, ott lehet a clone módot is beállítani ha minden igaz.Ez a xorg-driver-fglrx miben különbözik az ati-s fglrx-től?
Hybrid wrote:birno wrote:Hybrid wrote:De a make_install.sh nem abban a könyvtárban van, hanem az elözőben, tehát cd ../ és utána sh make_install.sh. Az is lekell fusson mostmár. Utána a xorg.conf -ot kell átírni vagy aticonfig –inital és megcsinálja magának, de elöszőr a modul működjön rendesen.Igen, azt láttam a leírásban, de az elözőben csak a fglrx.ko van semmi más, megnéztem egészen a /lib könytárig, azonban nincs make_install.sh
lám erre mit ír: ls -la /lib/modules/fglrx
nálam ez van:Code:hybrid[~]$ ls -la /lib/modules/fglrx/
total 508
drwxr-xr-x 3 root root 4096 2007-09-06 02:42 .
drwxr-xr-x 8 root root 4096 2007-09-06 02:22 ..
drwxr-xr-x 4 root root 4096 2007-09-06 02:42 build_mod
-rw-r–r– 1 root root 471824 2007-09-06 02:42 fglrx.2.6.20.1.ko
lrwxrwxrwx 1 root root 19 2007-09-06 02:42 fglrx.ko -> ./fglrx.2.6.20.1.ko
-rw-r–r– 1 root root 15384 2007-09-06 02:42 make.2.6.20.1.log
-rwxr-xr-x 1 root root 10141 2007-09-06 02:22 make_install.shmajorlacko a végén biztos hogy kell a sudo dpkg-reconfigure xserver-xorg mert azzal szerintem visszaállítja a xorg -ot és hiába van minden…próbáld anélkül, kéne működjön ha minden jó addig.
Nálam csak ennyi.
Code:total 12
drwxr-xr-x 3 root root 4096 2007-09-12 22:16 .
drwxr-xr-x 5 root root 4096 2007-09-12 22:13 ..
drwxr-xr-x 5 root root 4096 2007-09-12 22:16 build_mod
lrwxrwxrwx 1 root root 14 2007-09-12 22:16 fglrx.ko -> 2.6.x/fglrx.koA xorg-driver-fglrx amúgy nem lenne nekem elég?
Mert az ATI-s cucc a 3D-s gyorsításhoz kell ha jól értem, nekem meg csak annyira van szükségem, hogy legyen tv-out-om.
Ahhoz nem kell a 3D, igaz?Hybrid wrote:birno wrote:Hybrid wrote:De a make_install.sh nem abban a könyvtárban van, hanem az elözőben, tehát cd ../ és utána sh make_install.sh. Az is lekell fusson mostmár. Utána a xorg.conf -ot kell átírni vagy aticonfig –inital és megcsinálja magának, de elöszőr a modul működjön rendesen.Igen, azt láttam a leírásban, de az elözőben csak a fglrx.ko van semmi más, megnéztem egészen a /lib könytárig, azonban nincs make_install.sh
lám erre mit ír: ls -la /lib/modules/fglrx
nálam ez van:Code:hybrid[~]$ ls -la /lib/modules/fglrx/
total 508
drwxr-xr-x 3 root root 4096 2007-09-06 02:42 .
drwxr-xr-x 8 root root 4096 2007-09-06 02:22 ..
drwxr-xr-x 4 root root 4096 2007-09-06 02:42 build_mod
-rw-r–r– 1 root root 471824 2007-09-06 02:42 fglrx.2.6.20.1.ko
lrwxrwxrwx 1 root root 19 2007-09-06 02:42 fglrx.ko -> ./fglrx.2.6.20.1.ko
-rw-r–r– 1 root root 15384 2007-09-06 02:42 make.2.6.20.1.log
-rwxr-xr-x 1 root root 10141 2007-09-06 02:22 make_install.shmajorlacko a végén biztos hogy kell a sudo dpkg-reconfigure xserver-xorg mert azzal szerintem visszaállítja a xorg -ot és hiába van minden…próbáld anélkül, kéne működjön ha minden jó addig.
Nálam csak ennyi.
Code:total 12
drwxr-xr-x 3 root root 4096 2007-09-12 22:16 .
drwxr-xr-x 5 root root 4096 2007-09-12 22:13 ..
drwxr-xr-x 5 root root 4096 2007-09-12 22:16 build_mod
lrwxrwxrwx 1 root root 14 2007-09-12 22:16 fglrx.ko -> 2.6.x/fglrx.koA xorg-driver-fglrx amúgy nem lenne nekem elég?
Mert az ATI-s cucc a 3D-s gyorsításhoz kell ha jól értem, nekem meg csak annyira van szükségem, hogy legyen tv-out-om.
Ahhoz nem kell a 3D, igaz?majorlacko wrote:Mivel én is ezzel kűzdök, Feistyn, valamit észrevettem. Nem mintha nálam nagyobb lenne a siker, de te, birno, az Edgy oldalt alkalmazod a Feisty helyett és van némi difi.
Ott nekem sikerült eljutnom a
sudo aticonfig –initial
és a
sudo aticonfig –overlay-type=Xv
is ok, de aztán a
sudo shutdown -r now
után
sudo dpkg-reconfigure xserver-xorg
lett a vége.
Igaz, nekem MAG XJ500T a céldisplay, de ez mellékes.
Nézd meg ezt az oldalt és lehet, hogy ez a „kis” különbség is segít neked valamit.
Ubuntu Feisty Installation Guide – cchtml.comAz a gáz, hogy nekem csak a 8.28-as ati driverig van támogatva a kártyám és az csak az edgy-t ismeri, így a feisty-hez nem tudok csomagokat csinálni.
majorlacko wrote:Mivel én is ezzel kűzdök, Feistyn, valamit észrevettem. Nem mintha nálam nagyobb lenne a siker, de te, birno, az Edgy oldalt alkalmazod a Feisty helyett és van némi difi.
Ott nekem sikerült eljutnom a
sudo aticonfig –initial
és a
sudo aticonfig –overlay-type=Xv
is ok, de aztán a
sudo shutdown -r now
után
sudo dpkg-reconfigure xserver-xorg
lett a vége.
Igaz, nekem MAG XJ500T a céldisplay, de ez mellékes.
Nézd meg ezt az oldalt és lehet, hogy ez a „kis” különbség is segít neked valamit.
Ubuntu Feisty Installation Guide – cchtml.comAz a gáz, hogy nekem csak a 8.28-as ati driverig van támogatva a kártyám és az csak az edgy-t ismeri, így a feisty-hez nem tudok csomagokat csinálni.
Hybrid wrote:De a make_install.sh nem abban a könyvtárban van, hanem az elözőben, tehát cd ../ és utána sh make_install.sh. Az is lekell fusson mostmár. Utána a xorg.conf -ot kell átírni vagy aticonfig –inital és megcsinálja magának, de elöszőr a modul működjön rendesen.Igen, azt láttam a leírásban, de az elözőben csak a fglrx.ko van semmi más, megnéztem egészen a /lib könytárig, azonban nincs make_install.sh
Hybrid wrote:De a make_install.sh nem abban a könyvtárban van, hanem az elözőben, tehát cd ../ és utána sh make_install.sh. Az is lekell fusson mostmár. Utána a xorg.conf -ot kell átírni vagy aticonfig –inital és megcsinálja magának, de elöszőr a modul működjön rendesen.Igen, azt láttam a leírásban, de az elözőben csak a fglrx.ko van semmi más, megnéztem egészen a /lib könytárig, azonban nincs make_install.sh
Hybrid wrote:birno wrote:include/linux/config.h:8:7: warning: no newline at end of fileen erre a sorra figyelnék kicsit…amikor létrehoztad a fájlt elfelejtettél egy üres sort hagyni a végén, tehát nyomj még egy entert. Próbáld meg úgy, kéné menjen.
A jelenlegi helyzet:
Code:ATI module generator V 2.0
==========================
initializing…
build_date =2007. szept. 12., szerda, 22.16.32 CEST
uname -a =Linux norbika 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.20-16-generic
uname -v =#2 SMP Fri Aug 31 00:55:27 UTC 2007
uid=0(root) gid=0(root) groups=0(root),119(fuse)
.
drwxr-xr-x 49 root root 4096 2007-09-12 17:58 /usr/include
.
total 496
drwxr-xr-x 2 root root 4096 2007-09-12 17:58 ATI
-rw-rw-r– 1 root root 473356 2007-09-12 17:58 fglrx.tar.bz2
lrwxrwxrwx 1 root src 40 2007-09-12 00:03 linux -> /usr/src/linux-headers-2.6.20-16-generic
drwxr-xr-x 20 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15
drwxr-xr-x 4 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15-generic
drwxr-xr-x 20 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16
drwxr-xr-x 4 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16-generic
drwxr-xr-x 3 root src 4096 2007-09-12 17:58 modules
drwxr-xr-x 7 root root 4096 2007-08-31 18:41 rpm
.
file /lib/modules/2.6.20-16-generic/build/include/linux/agp_backend.h says: AGP=1
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx 1 root root 20 2007-09-12 22:16 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC4
.
cleaning…
patching ‘highmem.h’…
assuming new VMA API since we do have kernel 2.6.x…
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/lib/modules/fglrx/build_mod modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic’
CC [M] /lib/modules/fglrx/build_mod/firegl_public.o
/lib/modules/fglrx/build_mod/firegl_public.c:511: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘firegl_stub_open’:
/lib/modules/fglrx/build_mod/firegl_public.c:634: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_request_irq’:
/lib/modules/fglrx/build_mod/firegl_public.c:2556: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_smp_call_function’:
/lib/modules/fglrx/build_mod/firegl_public.c:3944: warning: passing argument 1 of ‘smp_call_function’ from incompatible pointer type
LD [M] /lib/modules/fglrx/build_mod/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /lib/modules/fglrx/build_mod/.libfglrx_ip.a.GCC4.cmd for /lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4
CC /lib/modules/fglrx/build_mod/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic’
build succeeded with return value 0
.
duplication skipped – generator was not called from regular lib treeMost már csak a firegl_public.c-nél van warning, meg ez
Code:WARNING: could not find /lib/modules/fglrx/build_mod/.libfglrx_ip.a.GCC4.cmdde az a fájl valóban nem jön létre és make_install.sh sincs most sem.
Hybrid wrote:birno wrote:include/linux/config.h:8:7: warning: no newline at end of fileen erre a sorra figyelnék kicsit…amikor létrehoztad a fájlt elfelejtettél egy üres sort hagyni a végén, tehát nyomj még egy entert. Próbáld meg úgy, kéné menjen.
A jelenlegi helyzet:
Code:ATI module generator V 2.0
==========================
initializing…
build_date =2007. szept. 12., szerda, 22.16.32 CEST
uname -a =Linux norbika 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.20-16-generic
uname -v =#2 SMP Fri Aug 31 00:55:27 UTC 2007
uid=0(root) gid=0(root) groups=0(root),119(fuse)
.
drwxr-xr-x 49 root root 4096 2007-09-12 17:58 /usr/include
.
total 496
drwxr-xr-x 2 root root 4096 2007-09-12 17:58 ATI
-rw-rw-r– 1 root root 473356 2007-09-12 17:58 fglrx.tar.bz2
lrwxrwxrwx 1 root src 40 2007-09-12 00:03 linux -> /usr/src/linux-headers-2.6.20-16-generic
drwxr-xr-x 20 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15
drwxr-xr-x 4 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15-generic
drwxr-xr-x 20 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16
drwxr-xr-x 4 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16-generic
drwxr-xr-x 3 root src 4096 2007-09-12 17:58 modules
drwxr-xr-x 7 root root 4096 2007-08-31 18:41 rpm
.
file /lib/modules/2.6.20-16-generic/build/include/linux/agp_backend.h says: AGP=1
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx 1 root root 20 2007-09-12 22:16 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC4
.
cleaning…
patching ‘highmem.h’…
assuming new VMA API since we do have kernel 2.6.x…
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/lib/modules/fglrx/build_mod modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic’
CC [M] /lib/modules/fglrx/build_mod/firegl_public.o
/lib/modules/fglrx/build_mod/firegl_public.c:511: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘firegl_stub_open’:
/lib/modules/fglrx/build_mod/firegl_public.c:634: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_request_irq’:
/lib/modules/fglrx/build_mod/firegl_public.c:2556: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_smp_call_function’:
/lib/modules/fglrx/build_mod/firegl_public.c:3944: warning: passing argument 1 of ‘smp_call_function’ from incompatible pointer type
LD [M] /lib/modules/fglrx/build_mod/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /lib/modules/fglrx/build_mod/.libfglrx_ip.a.GCC4.cmd for /lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4
CC /lib/modules/fglrx/build_mod/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic’
build succeeded with return value 0
.
duplication skipped – generator was not called from regular lib treeMost már csak a firegl_public.c-nél van warning, meg ez
Code:WARNING: could not find /lib/modules/fglrx/build_mod/.libfglrx_ip.a.GCC4.cmdde az a fájl valóban nem jön létre és make_install.sh sincs most sem.
Hybrid wrote:Na mostmár jó úton jársz. Még két dolgot kell csinalj, először létrehozni egy config.h fájlt ezzel a tartalommal:Code:hybrid[~]$ cat /usr/src/linux/include/linux/config.h
#ifndef _LINUX_CONFIG_H
#define _LINUX_CONFIG_H
/* This file is no longer in use and kept only for backward compatibility.
* * autoconf.h is now included via -imacros on the commandline
* */
#include#endif
és az mm.h -t kell módosítsd, berakj 1 sort az include -ok után kb. az elejére
Code:hybrid[~]$ fgrep -i VM_SHM /usr/src/linux/include/linux/mm.h
#define VM_SHM 0x00000000ez a sor lényegében semmit nem módosit de mégis nagyban segít hogy működjön a driver. Ezeket ha megcsináltad akkor kellene menjen.
Ok, de azt nem írtad, hogy akkor kell patchelni vagy nem, így megcsináltam mindkétféleképp.
Ha nem patcheltem(ami ugyanazokat írta mint eddig) akkor nem volt jó(log csatolva, mert elég nagy), ha patcheltem akkor ez lett a végeredmény:Code:ATI module generator V 2.0
==========================
initializing…
build_date =2007. szept. 12., szerda, 19.25.50 CEST
uname -a =Linux norbika 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
uname -s =Linux
uname -m =i686
uname -r =2.6.20-16-generic
uname -v =#2 SMP Fri Aug 31 00:55:27 UTC 2007
uid=0(root) gid=0(root) groups=0(root),119(fuse)
.
drwxr-xr-x 49 root root 4096 2007-09-12 17:58 /usr/include
.
total 496
drwxr-xr-x 2 root root 4096 2007-09-12 17:58 ATI
-rw-rw-r– 1 root root 473356 2007-09-12 17:58 fglrx.tar.bz2
lrwxrwxrwx 1 root src 40 2007-09-12 00:03 linux -> /usr/src/linux-headers-2.6.20-16-generic
drwxr-xr-x 20 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15
drwxr-xr-x 4 root root 4096 2007-04-15 13:53 linux-headers-2.6.20-15-generic
drwxr-xr-x 20 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16
drwxr-xr-x 4 root root 4096 2007-09-03 20:10 linux-headers-2.6.20-16-generic
drwxr-xr-x 3 root src 4096 2007-09-12 17:58 modules
drwxr-xr-x 7 root root 4096 2007-08-31 18:41 rpm
.
file /lib/modules/2.6.20-16-generic/build/include/linux/agp_backend.h says: AGP=1
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: SMP=1
file /lib/modules/2.6.20-16-generic/build/include/linux/autoconf.h says: MODVERSIONS=1
.
CC=gcc
cc_version=
found major but not minor version match for gcc and the ip-library
ls -l ./libfglrx_ip.a
lrwxrwxrwx 1 root root 20 2007-09-12 19:25 ./libfglrx_ip.a -> ./libfglrx_ip.a.GCC4
.
cleaning…
patching ‘highmem.h’…
assuming new VMA API since we do have kernel 2.6.x…
def_vma_api_version=-DFGL_LINUX253P1_VMA_API
Assuming default VMAP API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/lib/modules/fglrx/build_mod modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic’
CC [M] /lib/modules/fglrx/build_mod/firegl_public.o
In file included from /lib/modules/fglrx/build_mod/firegl_public.c:89:
include/linux/config.h:8:7: warning: no newline at end of file
/lib/modules/fglrx/build_mod/firegl_public.c:511: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘firegl_stub_open’:
/lib/modules/fglrx/build_mod/firegl_public.c:634: warning: assignment discards qualifiers from pointer target type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_request_irq’:
/lib/modules/fglrx/build_mod/firegl_public.c:2556: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_public.c: In function ‘__ke_smp_call_function’:
/lib/modules/fglrx/build_mod/firegl_public.c:3944: warning: passing argument 1 of ‘smp_call_function’ from incompatible pointer type
LD [M] /lib/modules/fglrx/build_mod/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /lib/modules/fglrx/build_mod/.libfglrx_ip.a.GCC4.cmd for /lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4
CC /lib/modules/fglrx/build_mod/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic’
build succeeded with return value 0
.
duplication skipped – generator was not called from regular lib treeA logban nincs, de a terminálban mintha a végén lett volna egy „done” is, viszont ha nyomtam egy „cd ..” parancsot akkor nem volt make_install.sh-m és a fentebb lévő könyvtárakban sem.
Ja és a patchnél ezek vannak:
Code:can’t find file to patch at input line 3
Perhaps you used the wrong -p or –strip option?
The text leading up to this was:
————————–
|— ATi/common/lib/modules/fglrx/build_mod/firegl_public.c 2006-12-18 10:58:15.000000000 -0500
|+++ common/lib/modules/fglrx/build_mod/firegl_public.c 2006-12-18 11:14:04.000000000 -0500
————————–
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can’t find file to patch at input line 76
Perhaps you used the wrong -p or –strip option?
The text leading up to this was:
————————–
|— ATi/common/lib/modules/fglrx/build_mod/firegl_public.c 2007-02-20 19:23:07.000000000 +0100
|+++ ATi/common/lib/modules/fglrx/build_mod/firegl_public.c.new 2007-02-21 23:36:19.000000000 +0100
————————–
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignoredPersze képzeld oda, hogy beírom a firegl_public.c-t mind a kétszer.
Valami azért alakul. 🙂
-
SzerzőBejegyzés

legutóbbi hsz