Hi, I am having trouble getting r128.o to load. See log below. What I would like to know is: o Am I installing r128.o in the right place? o Are the DRI guides wrong when they say that kernel modules should be installed to /lib/modules/2.4.x/kernel/drivers/char/drm/ ? o Does the SuSE Makefile.modules have a bug because it installs to /lib/modules/$(UTS_RELEASE)/video? DETAILS I have downloaded the SuSE version of 4.0.3 as well as Xfree86km_drm-4.0.3-*.i386.rpm and have followed the instructions in the readme ( ftp://ftp.suse.com/pub/suse/i386/X/XFree86/XFree86-4.0.3-SuSE/README ) to compile the DRM kernel modules. I have also read http://dri.sourceforge.net/doc/DRIuserguide.html and http://dri.sourceforge.net/doc/DRIcompile.html Both of these guides say that the kernel modules should be installed to: /lib/modules/2.4.x/kernel/drivers/char/drm/ But the SuSE Makefile.module uses a different directory: # # Makefile for compiling the accompanying kernel module for the kernel rpms # UTS_RELEASE=`grep UTS_RELEASE /usr/src/linux/include/linux/version.h|cut -d " " -f 3|sed s/\"//g` KMODULES=gamma.o i810.o mga.o r128.o tdfx.o #KMODULES+=sis.o all: make -f Makefile.linux clean make TREE=/usr/src/linux/include -f Makefile.linux install: mkdir -p /lib/modules/$(UTS_RELEASE)/video install -m 644 -o root -g root $(KMODULES) /lib/modules/$(UTS_RELEASE)/video ------ Here is the (edited) log for XFree86: XFree86 Version 4.0.3 / X Window System (protocol Version 11, revision 0, vendor release 6400) Release Date: 16 March 2001 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/FAQ) Operating System: SuSE Linux [ELF] SuSE Module Loader present (==) Log file: "/var/log/XFree86.0.log", Time: Thu Mar 29 00:16:35 2001 (==) Using config file: "/etc/X11/XF86Config" Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (??) unknown. (==) ServerLayout "Layout[all]" (**) |-->Screen "Screen[0]" (0) (**) | |-->Monitor "Monitor[0]" (**) | |-->Device "Device[0]" (**) |-->Input Device "Keyboard[0]" (**) Option "Protocol" "Standard" (**) Option "XkbRules" "xfree86" (**) XKB: rules: "xfree86" (**) Option "XkbModel" "pc105" (**) XKB: model: "pc105" (**) Option "XkbLayout" "us" (**) XKB: layout: "us" (**) |-->Input Device "Mouse[1]" [...] (**) ModulePath set to "/usr/X11R6/lib/modules" (**) Option "AllowMouseOpenFail" (++) using VT number 7 (II) Open APM successful (II) Module ABI versions: XFree86 ANSI C Emulation: 0.1 XFree86 Video Driver: 0.3 XFree86 XInput driver : 0.1 XFree86 Server Extension : 0.1 XFree86 Font Renderer : 0.2 (II) Loader running on linux [...] (II) LoadModule: "dri" (II) Loading /usr/X11R6/lib/modules/extensions/libdri.a (II) Module dri: vendor="The XFree86 Project" compiled for 4.0.3, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.1 (II) Loading extension XFree86-DRI (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.0.3, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.1 (II) LoadModule: "type1" (II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a (II) Module type1: vendor="The XFree86 Project" compiled for 4.0.3, module version = 1.0.0 Module class: XFree86 Font Renderer ABI class: XFree86 Font Renderer, version 0.2 (II) Loading font Type1 (II) Loading font CID (II) LoadModule: "glx" (II) Loading /usr/X11R6/lib/modules/extensions/libglx.a (II) Module glx: vendor="The XFree86 Project" compiled for 4.0.3, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.1 (II) Loading extension GLX (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.0.3, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.1 (II) LoadModule: "extmod" (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a (II) Module extmod: vendor="The XFree86 Project" compiled for 4.0.3, module version = 1.0.0 Module class: XFree86 Server Extension ABI class: XFree86 Server Extension, version 0.1 (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) LoadModule: "dbe" (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a (II) Module dbe: vendor="The XFree86 Project" compiled for 4.0.3, module version = 1.0.0 Module class: XFree86 Server Extension ABI class: XFree86 Server Extension, version 0.1 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "r128" (II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o (II) Module r128: vendor="The XFree86 Project" compiled for 4.0.3, module version = 4.0.1 Module class: XFree86 Video Driver ABI class: XFree86 Video Driver, version 0.3 (II) LoadModule: "ati" (II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o (II) Module ati: vendor="The XFree86 Project" compiled for 4.0.3, module version = 6.2.3 Module class: XFree86 Video Driver ABI class: XFree86 Video Driver, version 0.3 [...] (II) ATI: ATI driver (version 6.2.3) for chipsets: ati, ativga (II) R128: Driver for ATI Rage 128 chipsets: ATI Rage 128 RE (PCI), ATI Rage 128 RF (AGP), ATI Rage 128 RG (AGP), ATI Rage 128 RK (PCI), ATI Rage 128 RL (AGP), ATI Rage 128 Pro PD (AGP), ATI Rage 128 Pro PF (AGP), ATI Rage 128 Mobility LE (PCI), ATI Rage 128 Mobility LF (AGP), ATI Rage 128 Mobility MF (AGP), ATI Rage 128 Mobility ML (AGP) (II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP), ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP) (II) Primary Device is: PCI 01:00:0 (--) Chipset ATI Rage 128 RL (AGP) found (II) Loading sub module "r128" (II) LoadModule: "r128" (II) Reloading /usr/X11R6/lib/modules/drivers/r128_drv.o [...] (II) R128(0): PCI bus 1 card 0 func 0 (**) R128(0): Depth 16, (--) framebuffer bpp 16 (II) R128(0): Pixel depth = 16 bits stored in 2 bytes (16 bpp pixmaps) (==) R128(0): Default visual is TrueColor (==) R128(0): RGB weight 565 (II) R128(0): Using 6 bits per RGB (8 bit DAC) (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Loading /usr/X11R6/lib/modules/linux/libint10.a (II) Module int10: vendor="The XFree86 Project" compiled for 4.0.3, module version = 1.0.0 ABI class: XFree86 Video Driver, version 0.3 (II) R128(0): initializing int10 (II) R128(0): Primary V_BIOS segment is: 0xc000 (--) R128(0): Chipset: "ATI Rage 128 RL (AGP)" (ChipID = 0x524c) (--) R128(0): Linear framebuffer at 0xf0000000 (--) R128(0): MMIO registers at 0xff9fc000 (--) R128(0): BIOS at 0xff9c0000 (--) R128(0): VideoRAM: 8192 kByte (64-bit SDR SGRAM 2:1) (WW) R128(0): Video BIOS not detected in PCI space! (WW) R128(0): Attempting to read Video BIOS from legacy ISA space! (II) R128(0): PLL parameters: rf=1432 rd=31 min=12500 max=25000; xclk=5000 [...] (II) R128(0): initializing int10 (II) R128(0): Primary V_BIOS segment is: 0xc000 (II) R128(0): VESA BIOS detected (II) R128(0): VESA VBE Version 2.0 (II) R128(0): VESA VBE Total Mem: 8192 kB (II) R128(0): VESA VBE OEM: ATI RAGE128 (II) R128(0): VESA VBE OEM Software Rev: 1.0 (II) R128(0): VESA VBE OEM Vendor: ATI Technologies Inc. (II) R128(0): VESA VBE OEM Product: R128 (II) R128(0): VESA VBE OEM Product Rev: 01.00 (II) Loading sub module "ddc" (II) LoadModule: "ddc" (II) Reloading /usr/X11R6/lib/modules/libddc.a (II) R128(0): VESA VBE DDC supported (II) R128(0): VESA VBE DDC Level 2 (II) R128(0): VESA VBE DDC transfer in appr. 2 sec. (II) R128(0): VESA VBE DDC read successfully (II) R128(0): Manufacturer: GWY Model: 138c Serial#: 17308 (II) R128(0): Year: 1999 Week: 33 (II) R128(0): EDID Version: 1.1 (II) R128(0): Analog Display Input, Input Voltage Level: 0.700/0.700 V (II) R128(0): Signal levels configurable (II) R128(0): Sync: Separate (II) R128(0): Max H-Image Size [cm]: horiz.: 28 vert.: 21 (II) R128(0): Gamma: 2.12 (II) R128(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display (II) R128(0): redX: 0.642 redY: 0.330 greenX: 0.272 greenY: 0.594 (II) R128(0): blueX: 0.142 blueY: 0.062 whiteX: 0.281 whiteY: 0.311 (II) R128(0): Supported VESA Video Modes: [...] (==) R128(0): Write-combining range (0xf0000000,0x800000) [drm] failed to load kernel module "r128" (0): [drm] drmOpen failed (EE) R128(0): DRIScreenInit failed! (II) R128(0): Memory manager initialized to (0,0) (1024,4096) (II) R128(0): Reserved area from (0,768) to (1024,770) (II) R128(0): Largest offscreen area available: 1024 x 3326 (==) R128(0): Backing store disabled (==) R128(0): Silken mouse enabled (II) R128(0): Using XFree86 Acceleration Architecture (XAA) Screen to screen bit blits Solid filled rectangles 8x8 mono pattern filled rectangles Indirect CPU to Screen color expansion Solid Lines Dashed Lines Offscreen Pixmaps Setting up tile and stipple cache: 32 128x128 slots 18 256x256 slots 6 512x512 slots (II) R128(0): Acceleration enabled (II) R128(0): Using hardware cursor (scanline 1540) (II) R128(0): Largest offscreen area available: 1024 x 3324 (II) R128(0): Direct rendering disabled [...]