|
From: --friar <fr...@ze...> - 2000-02-17 06:21:15
|
>> I have a couple of problems after building the latest CVS version.
>>
>> 1. The kernel module doesn't compile. I think this is RedHats fault,
>> on RedHat /usr/include/linux is installed by glibc and not symlinked.
>> Also kernel 2.3.45 seems to have a conflict with asm/spinlock.h and
>> linux/spinlock.h.
>
>We may have to look into that some more. The script we have for
>determining kernel details seems to mostly work, but has a few
>problems. If you have inconsistent /usr/include/linux and /usr/src/linux
>that's a real problem. From your description I can't tell if it is Red
>Hat, 2.3.45, glibc, or something else causing the problem.
I had the same build problem on my Slackware7 system today.
Linux version 2.3.41
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
$ROOT/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel/drmP.h
Changing line 53 from
#include <asm/spinlock.h>
to
#include <linux/spinlock.h>
allowed the modules to build.
After installation, I appear to have most of the direct rendering bits
in place (for the first time ever, my XLog shows DRI rendering info!).
However, I don't think I am running accellerated....
gears gives me 92fps on a Voodoo3 2000 pci + 450mhz Celeron.
ldd output on gears shows:
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40019000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x400b2000)
libMesaGLU.so.3 => /usr/lib/libMesaGLU.so.3 (0x40102000)
libm.so.6 => /lib/libm.so.6 (0x40117000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40133000)
libc.so.6 => /lib/libc.so.6 (0x40147000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40230000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40241000)
libdl.so.2 => /lib/libdl.so.2 (0x4024e000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40251000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4029a000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x402a3000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
gloss gives me 2 fps.
glinfo gives me:
bash-2.03# ./glinfo
GL_VERSION: 1.2 Mesa 3.3 beta
GL_EXTENSIONS: GL_EXT_abgr GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract
GL_RENDERER: Mesa GLX Indirect
GL_VENDOR: Precision Insight, Inc.
GLU_VERSION: 1.1 Mesa 3.0
GLU_EXTENSIONS:
GLUT_API_VERSION: 3
GLUT_XLIB_IMPLEMENTATION: 13
Any ideas?
The server appears to have survived running in Dual Head + DRI though!
-friar
-------------------------XLOG-----------------------------
XFree86 Version 3.9.17 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 31 December 1999
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: Linux 2.3.41 i686 [ELF]
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Feb 17 06:21:28 2000
(==) Using config file: "/etc/XF86Config"
DRI section parsed
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (??) unknown.
(==) ServerLayout "Main Layout"
(**) |-->Screen "Screen 1" (0)
(**) | |-->Monitor "Monitor 2"
(**) | |-->Device "Voodoo"
(**) |-->Screen "Screen 2" (1)
(**) | |-->Monitor "Monitor 1"
(**) | |-->Device "MGA"
Layout "Main Layout"
Screen: "Screen 1" (0):
Right of "Screen 2"
Screen: "Screen 2" (1):
Left of "Screen 1"
(**) |-->Input Device "Auto"
(**) |-->Input Device "Keyboard"
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc104"
(**) XKB: layout: "us"
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/local,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi,/usr/X11R6/lib/X11/fonts/misc"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 0.1.0
(--) PCI: (0:9:0) 3Dlabs GLINT Delta rev 1, Mem @ 0xdc000000/17
(--) PCI: (0:9:2) 3Dlabs GLINT 500TX rev 1, Mem @ 0xdb800000/17, 0xda000000/24, 0xd9800000/23, 0xd8000000/24
(--) PCI: (0:11:0) 3Dfx Interactive Voodoo3 rev 1, Mem @ 0xd6000000/25, 0xde000000/25, I/O @ 0xb400/8
(--) PCI: (1:0:0) Matrox MGA G400 AGP rev 3, Mem @ 0xe2000000/25, 0xdd000000/14, 0xdc800000/23
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.1.7
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/drivers/tdfx_drv.o
(II) Module tdfx: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/drivers/mga_drv.o
(II) Module mga: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) TDFX: Driver for 3dfx Banshee/Voodoo3 chipsets: 3dfx Banshee,
3dfx Voodoo3
(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
mga2164w AGP, mgag100, mgag200, mgag200 PCI, mgag400
setting up HOST: 0
setting up PCI: 1
setting up ISA: -1
pciIo_MemAccessDisable: 0x05800
pciIo_MemAccessDisable: 0x10000
TDFX instances found: 1
TDFX instances found: 1
(--) Chipset 3dfx Voodoo3 found
TDFX: card at 0:11:0 is claimed by a Device section
xf86AllocateScreen - xf86Screens[0]->pScreen = (nil)
MGA instances found: 1
MGA instances found: 1
(--) Chipset mgag400 found
MGA: card at 1:0:0 is claimed by a Device section
xf86AllocateScreen - xf86Screens[1]->pScreen = (nil)
Enable access 0
pciSetBusAccess: route VGA to bus 0
pciIo_MemAccessEnable: 0x05800
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 0.1.0
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) TDFX(0): Softbooting the board (through the int10 interface).
(EE) Cannot map V_RAM
(WW) TDFX(0): Softbooting the board failed.
(**) TDFX(0): Depth 16, (--) framebuffer bpp 16
(==) TDFX(0): RGB weight 565
(==) TDFX(0): Default visual is TrueColor
(--) TDFX(0): Chipset: "3dfx Voodoo3"
(--) TDFX(0): Linear framebuffer at 0xDE000000
(--) TDFX(0): MMIO registers at addr 0xD6000000
(--) TDFX(0): PIO registers at addr 0xB400
(--) TDFX(0): VideoRAM: 16384 kByte Mapping 32768 kByte
(==) TDFX(0): Using gamma correction (1.0, 1.0, 1.0)
(II) TDFX(0): clock range: 12.00 to 300.00 MHz
(WW) TDFX(0): Mode "1792x1344" deleted (hsync out of range)
(WW) TDFX(0): Mode "1856x1392" deleted (hsync out of range)
(WW) TDFX(0): Mode "1920x1440" deleted (hsync out of range)
(--) TDFX(0): Virtual size is 1280x1024 (pitch 1280)
(**) TDFX(0): Mode "1280x1024": 135.0 MHz, 81.1 kHz, 76.2 Hz
(**) TDFX(0): Mode "1024x768": 75.0 MHz, 56.5 kHz, 70.1 Hz
(**) TDFX(0): Mode "800x600": 60.8 MHz, 55.8 kHz, 85.0 Hz
(**) TDFX(0): Mode "640x480": 25.2 MHz, 31.5 kHz, 59.9 Hz
(**) TDFX(0): Mode "640x400": 25.2 MHz, 31.5 kHz, 69.9 Hz
(==) TDFX(0): DPI set to (75, 75)
(II) Loading /usr/X11R6/lib/modules/libcfb16.a
(II) Module cfb16: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libcfb.a
(II) Module cfb: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libmfb.a
(II) Module mfb: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 0.1.0
Enable access 1
pciIo_MemAccessDisable: 0x05800
pciSetBusAccess: route VGA to bus 1
pciIo_MemAccessEnable: 0x10000
(II) MGA(1): Initializing int10
(EE) Cannot map V_RAM
(**) MGA(1): Depth 24, (--) framebuffer bpp 24
(==) MGA(1): RGB weight 888
(==) MGA(1): Default visual is TrueColor
(**) MGA(1): Using SW cursor
(**) MGA(1): PCI retry enabled
(--) MGA(1): Chipset: "mgag400"
(--) MGA(1): Linear framebuffer at 0xE2000000
(--) MGA(1): MMIO registers at 0xDD000000
(--) MGA(1): Pseudo-DMA transfer window at 0xDC800000
(--) MGA(1): BIOS at 0xE1FF0000
(--) MGA(1): Video BIOS info block at offset 0x07A60
(WW) MGA(1): Video BIOS info block not detected!
(==) MGA(1): Write-combining range (0xe2000000,0x800000)
(==) MGA(1): Write-combining range (0xe2000000,0x2000000)
(--) MGA(1): VideoRAM: 32768 kByte
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.2.0
(==) MGA(1): Write-combining range (0xe2000000,0x2000000)
(II) MGA(1): I2C bus "DDC" initialized.
I2C initialized on 0x81c4da8
(II) MGA(1): I2C device "DDC:ddc2" registered.
(II) MGA(1): I2C device "DDC:ddc2" removed.
(II) MGA(1): I2C Monitor info: (nil)
(II) MGA(1): end of I2C Monitor info
xf86SetXDDCprop(0x8480200, (nil))
(==) MGA(1): Using gamma correction (1.0, 1.0, 1.0)
(==) MGA(1): Min pixel clock is 12 MHz
(==) MGA(1): Max pixel clock is 300 MHz
(II) MGA(1): clock range: 12.00 to 300.00 MHz
(WW) MGA(1): Mode "1024x768" deleted (hsync out of range)
(WW) MGA(1): Mode "1152x864" deleted (hsync out of range)
(WW) MGA(1): Mode "1280x960" deleted (hsync out of range)
(WW) MGA(1): Mode "1280x1024" deleted (hsync out of range)
(WW) MGA(1): Mode "1280x1024" deleted (hsync out of range)
(WW) MGA(1): Mode "1600x1200" deleted (hsync out of range)
(WW) MGA(1): Mode "1600x1200" deleted (hsync out of range)
(WW) MGA(1): Mode "1600x1200" deleted (hsync out of range)
(WW) MGA(1): Mode "1600x1200" deleted (hsync out of range)
(WW) MGA(1): Mode "1600x1200" deleted (hsync out of range)
(WW) MGA(1): Mode "1792x1344" deleted (hsync out of range)
(WW) MGA(1): Mode "1792x1344" deleted (hsync out of range)
(WW) MGA(1): Mode "1856x1392" deleted (hsync out of range)
(WW) MGA(1): Mode "1856x1392" deleted (hsync out of range)
(WW) MGA(1): Mode "1920x1440" deleted (hsync out of range)
(WW) MGA(1): Mode "1920x1440" deleted (hsync out of range)
(--) MGA(1): Virtual size is 640x480 (pitch 640)
(**) MGA(1): Mode "640x480": 25.2 MHz, 31.5 kHz, 59.9 Hz
(**) MGA(1): Mode "640x400": 25.2 MHz, 31.5 kHz, 69.9 Hz
(==) MGA(1): DPI set to (75, 75)
(II) Loading /usr/X11R6/lib/modules/libxf24_32bpp.a
(II) Module xf24_32bpp: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libcfb24.a
(II) Module cfb24: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libcfb32.a
(II) Module cfb32: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
(==) Depth 24 pixmap format is 32 bpp
do I need RAC?
Yes, I do.
(II) Loading /usr/X11R6/lib/modules/librac.a
(II) Module rac: vendor="The XFree86 Project"
compiled for 3.9.17, module version = 1.0.0
Enable access 0
pciIo_MemAccessDisable: 0x10000
pciSetBusAccess: route VGA to bus 0
pciIo_MemAccessEnable: 0x05800
(==) TDFX(0): Write-combining range (0xde000000,0x2000000)
(II) TDFX(0): Textures Memory 7.93 MB
(0): [drm] created "tdfx" driver at busid "PCI:0:11:0"
(0): [drm] added 4096 byte SAREA at 0xc9b86000
(0): [drm] mapped SAREA 0xc9b86000 to 0x441b4000
(0): [drm] framebuffer handle = 0xde000000
(0): [drm] added 1 reserved context for kernel
(II) TDFX(0): [drm] Registers = 0xd6000000
(II) TDFX(0): visual configs initialized
(II) TDFX(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
Driver provided NonTEGlyphRenderer replacement
Setting up tile and stipple cache:
10 128x128 slots
(==) TDFX(0): Backing store disabled
(**) TDFX(0): Silken mouse disabled
(0): X context handle = 0x00000004
(0): [drm] installed DRM signal handler
(0): [DRI] installation complete
(II) TDFX(0): direct rendering enabled
InitOutput - xf86Screens[0]->pScreen = 0x85d0f30
xf86Screens[0]->pScreen->CreateWindow = 0x83bad20
Enable access 1
pciIo_MemAccessDisable: 0x05800
pciSetBusAccess: route VGA to bus 1
pciIo_MemAccessEnable: 0x10000
(==) MGA(1): Write-combining range (0xe2000000,0x2000000)
(II) MGA(1): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid filled trapezoids
CPU to Screen color expansion
Screen to Screen color expansion
Solid Lines
Dashed Lines
Image Writes
Offscreen Pixmaps
Driver provided FillSolidRects replacement
Driver provided FillSolidSpans replacement
Driver provided FillMono8x8PatternRects replacement
Driver provided FillColorExpandRects replacement
Driver provided WriteBitmap replacement
Driver provided NonTEGlyphRenderer replacement
Setting up tile and stipple cache:
32 128x128 slots
24 256x256 slots
10 512x512 slots
(==) MGA(1): Backing store disabled
(==) MGA(1): Silken mouse enabled
InitOutput - xf86Screens[1]->pScreen = 0x85d6090
xf86Screens[1]->pScreen->CreateWindow = 0x8098b4c
PostScreenInit generation: 1
Entering OPERATING state
pciIo_MemAccessDisable: 0x10000
pciIo_MemAccessDisable: 0x10000
pciIo_MemAccessDisable: 0x05800
pciIo_MemAccessDisable: 0x10000
pciMemAccessEnable: 0x05800
pciIoAccessEnable: 0x05800
pciMemAccessEnable: 0x10000
pciIoAccessDisable: 0x10000
(**) Auto: Protocol: "auto"
(**) Auto: Core Pointer
(**) Auto: Buttons: 3
(II) Keyboard "Keyboard" handled by legacy driver
(II) XINPUT: Adding extended input device "Auto" (type: MOUSE)
(--) Auto: PnP-detected protocol: "MouseMan"
Removing /usr/X11R6/lib/X11/fonts/Speedo from the valid list of fontpaths
xf86CreateRootWindow(0x81bff90)
xf86CreateRootWindow() returns 1
xf86CreateRootWindow(0x8332510)
xf86CreateRootWindow() returns 1
Enable access 0
Enable access 1
jolt being added to access control list
|