From: Albert V. <avi...@ly...> - 2004-03-12 10:28:21
|
Hi, I've tried to have DRI working on my Prosavage266 (Acer Aspire 1314LC): Downloaded: http://www.freedesktop.org/~dri/snapshots/savage-20040311-linux.i386.tar.bz2 As root I executed the install.sh script: # /sbin/init 3 # cp /usr/src/linux-2.4.22-1.2115.nptl/configs/kernel-2.4.22-athlon.config /usr/src/linux-2.4.22-1.2115.nptl/.config # ./install.sh Here dri.log: make -f Makefile.linux DRM_MODULES=savage.o modules make[1]: Entering directory `/home/avb/aceraspire/prosavage/dri.sf.net/dripkg/drm' rm -f linux ln -s . linux + ln -s Makefile.linux Makefile make -C /lib/modules/2.4.22-1.2115.nptl/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules make[2]: Entering directory `/usr/src/linux-2.4.22-1.2115.nptl' gcc32 -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c scripts/split-include include/linux/autoconf.h include/config make -r -f tmp_include_depends all make[3]: Entering directory `/usr/src/linux-2.4.22-1.2115.nptl' make[3]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl' make -C /home/avb/dri/dripkg/drm CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.22-1.2115.nptl/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2115.nptl/include/linux/modversions.h" MAKING_MODULES=1 modules make[3]: Entering directory `/home/avb/aceraspire/prosavage/dri.sf.net/dripkg/drm' gcc32 -I/home/avb/dri/dripkg/drm -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2115.nptl/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2115.nptl/include/linux/modversions.h -DDO_MUNMAP_4_ARGS -DVMAP_4_ARGS -nostdinc -iwithprefix include -DKBUILD_BASENAME=savage_drv -c -o savage_drv.o savage_drv.c In file included from savage_drv.c:269: drm_memory.h:64:1: warning: "pte_pfn" redefined In file included from /usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgtable.h:124, from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/mm.h:26, from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/slab.h:14, from /usr/src/linux-2.4.22-1.2115.nptl/include/linux/proc_fs.h:5, from drmP.h:50, from savage_drv.c:27: /usr/src/linux-2.4.22-1.2115.nptl/include/asm/pgtable-2level.h:63:1: warning: this is the location of the previous definition gcc32 -I/home/avb/dri/dripkg/drm -D__KERNEL__ -I/usr/src/linux-2.4.22-1.2115.nptl/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22-1.2115.nptl/include/linux/modversions.h -DDO_MUNMAP_4_ARGS -DVMAP_4_ARGS -nostdinc -iwithprefix include -DKBUILD_BASENAME=savage_dma -c -o savage_dma.o savage_dma.c ld -m elf_i386 -r -o savage.o savage_drv.o savage_dma.o make[3]: Leaving directory `/home/avb/aceraspire/prosavage/dri.sf.net/dripkg/drm' make[2]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl' + rm -f Makefile make[1]: Leaving directory `/home/avb/aceraspire/prosavage/dri.sf.net/dripkg/drm' /usr/X11R6/lib Then I tried to start X: # /sbin/init 5 But there was a "no screens found" error: Here see the XFree86.0.log: XFree86 Version 4.3.0 (Fedora Core 1: 4.3.0-55) Release Date: 15 August 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: Linux 2.4.21-9.ELsmp i686 [ELF] Build Date: 12 February 2004 Build Host: bugs.devel.redhat.com Before reporting any problems, please make sure you are using the most recent XFree86 packages available from Red Hat by checking for updates at http://rhn.redhat.com/errata or by using the Red Hat Network up2date tool. If you still encounter problems, please file bug reports in the XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat bugzilla at http://bugzilla.redhat.com Module Loader present OS Kernel: Linux version 2.4.22-1.2115.nptl (bhc...@bu...) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Wed Oct 29 15:31:21 EST 2003 Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/XFree86.0.log", Time: Fri Mar 12 09:53:26 2004 (==) Using config file: "/etc/X11/XF86Config" (==) ServerLayout "Default Layout" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Videocard0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (**) Option "XkbRules" "xfree86" (**) XKB: rules: "xfree86" (**) Option "XkbModel" "pc105" (**) XKB: model: "pc105" (**) Option "XkbLayout" "es" (**) XKB: layout: "es" (==) Keyboard: CustomKeycode disabled (**) |-->Input Device "DevInputMice" (**) FontPath set to "unix/:7100" (**) RgbPath set to "/usr/X11R6/lib/X11/rgb" (==) ModulePath set to "/usr/X11R6/lib/modules" (++) using VT number 7 (II) Open APM successful (II) Module ABI versions: XFree86 ANSI C Emulation: 0.2 XFree86 Video Driver: 0.6 XFree86 XInput driver : 0.4 XFree86 Server Extension : 0.2 XFree86 Font Renderer : 0.4 (II) Loader running on linux (II) LoadModule: "bitmap" (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a (II) Module bitmap: vendor="The XFree86 Project" compiled for 4.3.0, module version = 1.0.0 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.4 (II) Loading font Bitmap (II) LoadModule: "pcidata" (II) Loading /usr/X11R6/lib/modules/libpcidata.a (II) Module pcidata: vendor="The XFree86 Project" compiled for 4.3.0, module version = 1.0.0 ABI class: XFree86 Video Driver, version 0.6 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 1106,3156 card 1106,3156 rev 00 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 1106,b091 card 0000,0000 rev 00 class 06,04,00 hdr 01 (II) PCI: 00:0a:0: chip 1217,6972 card 4001,0000 rev 00 class 06,07,00 hdr 02 (II) PCI: 00:0c:0: chip 104c,8026 card 10cf,1162 rev 00 class 0c,00,10 hdr 00 (II) PCI: 00:10:0: chip 1106,3038 card 1106,3038 rev 80 class 0c,03,00 hdr 80 (II) PCI: 00:10:1: chip 1106,3038 card 1106,3038 rev 80 class 0c,03,00 hdr 80 (II) PCI: 00:10:3: chip 1106,3104 card 1106,3104 rev 82 class 0c,03,20 hdr 00 (II) PCI: 00:11:0: chip 1106,3177 card 1106,3177 rev 00 class 06,01,00 hdr 80 (II) PCI: 00:11:1: chip 1106,0571 card 1106,0571 rev 06 class 01,01,8a hdr 00 (II) PCI: 00:11:5: chip 1106,3059 card 1025,0030 rev 50 class 04,01,00 hdr 00 (II) PCI: 00:11:6: chip 1106,3068 card 1025,0030 rev 80 class 07,80,00 hdr 00 (II) PCI: 00:12:0: chip 1106,3065 card 1025,0030 rev 74 class 02,00,00 hdr 00 (II) PCI: 01:00:0: chip 5333,8d04 card 1025,0030 rev 00 class 03,00,00 hdr 00 (II) PCI: End of PCI scan (II) Host-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (0,0,2), BCTRL: 0x0008 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] (II) PCI-to-PCI bridge: (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0008 (VGA_EN is set) (II) Bus 1 I/O range: [0] -1 0 0x0000c000 - 0x0000dfff (0x2000) IX[B] (II) Bus 1 non-prefetchable memory range: [0] -1 0 0xe0000000 - 0xefffffff (0x10000000) MX[B] (II) Bus 1 prefetchable memory range: [0] -1 0 0xa0000000 - 0xafffffff (0x10000000) MX[B] (II) PCI-to-CardBus bridge: (II) Bus 2: bridge is at (0:10:0), (0,2,2), BCTRL: 0x0580 (VGA_EN is cleared) (II) Bus 2 I/O range: [0] -1 0 0x00004000 - 0x000040ff (0x100) IX[B] [1] -1 0 0x00004400 - 0x000044ff (0x100) IX[B] (II) Bus 2 non-prefetchable memory range: [0] -1 0 0x1e800000 - 0x1ebfffff (0x400000) MX[B] (II) Bus 2 prefetchable memory range: [0] -1 0 0x1e400000 - 0x1e7fffff (0x400000) MX[B] (II) PCI-to-ISA bridge: (II) Bus -1: bridge is at (0:17:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set) (--) PCI:*(1:0:0) S3 Inc. [ProSavageDDR K4M266] rev 0, Mem @ 0xe0080000/19, 0xa8000000/27, BIOS @ 0x000c0000/16 (II) Addressable bus resource ranges are [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B] (II) OS-reported resource ranges: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) PCI Memory resource overlap reduced 0xb0000000 from 0xb7ffffff to 0xafffffff (II) Active PCI resource ranges: [0] -1 0 0xf0008000 - 0xf00080ff (0x100) MX[B] [1] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B] [2] -1 0 0xf0004000 - 0xf0007fff (0x4000) MX[B] [3] -1 0 0xf0000000 - 0xf00007ff (0x800) MX[B] [4] -1 0 0xb0000000 - 0xafffffff (0x0) MX[B]O [5] -1 0 0x000c0000 - 0x000cffff (0x10000) MX[B](B) [6] -1 0 0xa8000000 - 0xafffffff (0x8000000) MX[B](B) [7] -1 0 0xe0080000 - 0xe00fffff (0x80000) MX[B](B) [8] -1 0 0x0000e200 - 0x0000e2ff (0x100) IX[B] [9] -1 0 0x0000e100 - 0x0000e1ff (0x100) IX[B] [10] -1 0 0x0000e000 - 0x0000e0ff (0x100) IX[B] [11] -1 0 0x00001100 - 0x0000110f (0x10) IX[B] [12] -1 0 0x00001300 - 0x0000131f (0x20) IX[B] [13] -1 0 0x00001200 - 0x0000121f (0x20) IX[B] (II) Active PCI resource ranges after removing overlaps: [0] -1 0 0xf0008000 - 0xf00080ff (0x100) MX[B] [1] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B] [2] -1 0 0xf0004000 - 0xf0007fff (0x4000) MX[B] [3] -1 0 0xf0000000 - 0xf00007ff (0x800) MX[B] [4] -1 0 0xb0000000 - 0xafffffff (0x0) MX[B]O [5] -1 0 0x000c0000 - 0x000cffff (0x10000) MX[B](B) [6] -1 0 0xa8000000 - 0xafffffff (0x8000000) MX[B](B) [7] -1 0 0xe0080000 - 0xe00fffff (0x80000) MX[B](B) [8] -1 0 0x0000e200 - 0x0000e2ff (0x100) IX[B] [9] -1 0 0x0000e100 - 0x0000e1ff (0x100) IX[B] [10] -1 0 0x0000e000 - 0x0000e0ff (0x100) IX[B] [11] -1 0 0x00001100 - 0x0000110f (0x10) IX[B] [12] -1 0 0x00001300 - 0x0000131f (0x20) IX[B] [13] -1 0 0x00001200 - 0x0000121f (0x20) IX[B] (II) OS-reported resource ranges after removing overlaps with PCI: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000cffff (0x10000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [6] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) All system resource ranges: [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [3] -1 0 0x000c0000 - 0x000cffff (0x10000) MX[B] [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [5] -1 0 0xf0008000 - 0xf00080ff (0x100) MX[B] [6] -1 0 0xf4000000 - 0xf40000ff (0x100) MX[B] [7] -1 0 0xf0004000 - 0xf0007fff (0x4000) MX[B] [8] -1 0 0xf0000000 - 0xf00007ff (0x800) MX[B] [9] -1 0 0xb0000000 - 0xafffffff (0x0) MX[B]O [10] -1 0 0x000c0000 - 0x000cffff (0x10000) MX[B](B) [11] -1 0 0xa8000000 - 0xafffffff (0x8000000) MX[B](B) [12] -1 0 0xe0080000 - 0xe00fffff (0x80000) MX[B](B) [13] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [14] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [15] -1 0 0x0000e200 - 0x0000e2ff (0x100) IX[B] [16] -1 0 0x0000e100 - 0x0000e1ff (0x100) IX[B] [17] -1 0 0x0000e000 - 0x0000e0ff (0x100) IX[B] [18] -1 0 0x00001100 - 0x0000110f (0x10) IX[B] [19] -1 0 0x00001300 - 0x0000131f (0x20) IX[B] [20] -1 0 0x00001200 - 0x0000121f (0x20) IX[B] (II) LoadModule: "dbe" (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a (II) Module dbe: vendor="The XFree86 Project" compiled for 4.3.0, module version = 1.0.0 Module class: XFree86 Server Extension ABI class: XFree86 Server Extension, version 0.2 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "extmod" (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a (II) Module extmod: vendor="The XFree86 Project" compiled for 4.3.0, module version = 1.0.0 Module class: XFree86 Server Extension ABI class: XFree86 Server Extension, version 0.2 (II) Loading extension SHAPE (II) Loading extension MIT-SUNDRY-NONSTANDARD (II) Loading extension BIG-REQUESTS (II) Loading extension SYNC (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XC-MISC (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-Misc (II) Loading extension XFree86-DGA (II) Loading extension DPMS (II) Loading extension FontCache (II) Loading extension TOG-CUP (II) Loading extension Extended-Visual-Information (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "fbdevhw" (II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a (II) Module fbdevhw: vendor="The XFree86 Project" compiled for 4.3.0, module version = 0.0.2 ABI class: XFree86 Video Driver, version 0.6 (II) LoadModule: "glx" (II) Loading /usr/X11R6/lib/modules/extensions/libglx.a (II) Module glx: vendor="The XFree86 Project" compiled for 4.3.0, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.2 (II) Loading sub module "GLcore" (II) LoadModule: "GLcore" (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a (II) Module GLcore: vendor="The XFree86 Project" compiled for 4.3.0, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.2 (II) Loading extension GLX (II) LoadModule: "record" (II) Loading /usr/X11R6/lib/modules/extensions/librecord.a (II) Module record: vendor="The XFree86 Project" compiled for 4.3.0, module version = 1.13.0 Module class: XFree86 Server Extension ABI class: XFree86 Server Extension, version 0.2 (II) Loading extension RECORD (II) LoadModule: "freetype" (II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a (II) Module freetype: vendor="The XFree86 Project" compiled for 4.3.0, module version = 2.0.2 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.4 (II) Loading font FreeType (II) LoadModule: "type1" (II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a (II) Module type1: vendor="The XFree86 Project" compiled for 4.3.0, module version = 1.0.2 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.4 (II) Loading font Type1 (II) Loading font CID (II) LoadModule: "dri" (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a (II) Module dri: vendor="The XFree86 Project" compiled for 4.3.99.12, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.2 (II) Loading sub module "drm" (II) LoadModule: "drm" (II) Loading /usr/X11R6/lib/modules/linux/libdrm.a (II) Module drm: vendor="The XFree86 Project" compiled for 4.3.99.12, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.2 (II) Loading extension XFree86-DRI (II) LoadModule: "savage" (II) Loading /usr/X11R6/lib/modules/drivers/savage_drv.o (II) Module savage: vendor="The XFree86 Project" compiled for 4.3.99.12, module version = 1.1.27 Module class: XFree86 Video Driver ABI class: XFree86 Video Driver, version 0.7 (EE) module ABI minor version (7) is newer than the server's version (6) (II) UnloadModule: "savage" (II) Unloading /usr/X11R6/lib/modules/drivers/savage_drv.o (EE) Failed to load module "savage" (module requirement mismatch, 0) (II) LoadModule: "mouse" (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o (II) Module mouse: vendor="The XFree86 Project" compiled for 4.3.0, module version = 1.0.0 Module class: XFree86 XInput Driver ABI class: XFree86 XInput driver, version 0.4 (EE) No drivers available. Fatal server error: no screens found If you encounter a server crash, please report the problem by filing a bug report in the XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat bugzilla at http://bugzilla.redhat.com/bugzilla. When filing your report, it is very important that you explain your problem in as much detail as possible, and include a complete description on how to reproduce the problem. After submitting the bug report, attach the following files as uncompressed individual file attachments using the bugzilla file attachment feature: - X server log file: /var/log/XFree86.0.log - X server config file: /etc/X11/XF86Config - Kernel log file: /var/log/messages I've also tried to: # /sbin/modprobe agpgart agp_try_unsupported=1 With the same results. Any hints? Thanks, Albert. _________________________________________________________ Envia tus postales desde Lycos Postales. Envía la tuya desde http://postales.lycos.es |