En saa näytönohjaimen (Matrox G400) ajuria toimimaan millään.
Hain Matroxin sivuilta ajurin ja asensin, mutta se ei toimi:
$ glxinfo | grep direct
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
Missä voi olla vika, mistä pitää lähteä etsimää?
Xorgin logista löysin seuraavat rivit:
(II) MGA(0): [drm] loaded kernel module for "mga" driver
(II) MGA(0): [drm] DRM interface version 1.2
(II) MGA(0): [drm] created "mga" driver at busid "pci:0000:01:00.0"
(II) MGA(0): [drm] added 8192 byte SAREA at 0xf8ce4000
(II) MGA(0): [drm] mapped SAREA 0xf8ce4000 to 0xb5518000
(II) MGA(0): [drm] framebuffer handle = 0xe4000000
(II) MGA(0): [drm] added 1 reserved context for kernel
(II) MGA(0): [agp] Mode 0x1f000201 [AGP 0x1106/0x0305; Card 0x102b/0x0525]
(II) MGA(0): [agp] 12288 kB allocated with handle 0x00000001
(II) MGA(0): [agp] WARP microcode handle = 0xe6000000
(II) MGA(0): [agp] WARP microcode mapped at 0xb5510000
(II) MGA(0): [agp] Primary DMA handle = 0xe6008000
(II) MGA(0): [agp] Primary DMA mapped at 0xb5410000
(II) MGA(0): [agp] DMA buffers handle = 0xe6108000
(II) MGA(0): [agp] DMA buffers mapped at 0xb4c10000
(II) MGA(0): [drm] Added 128 65536 byte DMA buffers
(II) MGA(0): [agp] agpTexture handle = 0xe6908000
(II) MGA(0): [agp] agpTexture size: 2816 kb
(II) MGA(0): [drm] Registers handle = 0xe3000000
(II) MGA(0): [drm] Status handle = 0xf8cf5000
(II) MGA(0): [agp] Status page mapped at 0xb4c0e000
(II) MGA(0): [dri] visual configs initialized
(II) MGA(0): Memory manager initialized to (0,0) (1280,2047)
(II) MGA(0): Largest offscreen area available: 1280 x 1023
(II) MGA(0): Reserved back buffer at offset 0xa00000
(II) MGA(0): Reserved depth buffer at offset 0xf00000
(II) MGA(0): Reserved 11520 kb for textures at offset 0x1400000
(II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid filled trapezoids
8x8 mono pattern filled rectangles
8x8 mono pattern filled trapezoids
Indirect CPU to Screen color expansion
Screen to Screen color expansion
Solid Lines
Dashed Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
9 256x256 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(**) Option "dpms"
(**) MGA(0): DPMS enabled
(II) MGA(0): Using overlay video
(II) MGA(0): X context handle = 0x00000001
(II) MGA(0): [drm] installed DRM signal handler
(II) MGA(0): [DRI] installation complete
(II) MGA(0): [drm] Mapped 128 DMA buffers
(II) MGA(0): [drm] dma control initialized, using IRQ 11
(==) MGA(0): Direct rendering enabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
Hain Matroxin sivuilta ajurin ja asensin, mutta se ei toimi:
$ glxinfo | grep direct
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
Missä voi olla vika, mistä pitää lähteä etsimää?
Xorgin logista löysin seuraavat rivit:
(II) MGA(0): [drm] loaded kernel module for "mga" driver
(II) MGA(0): [drm] DRM interface version 1.2
(II) MGA(0): [drm] created "mga" driver at busid "pci:0000:01:00.0"
(II) MGA(0): [drm] added 8192 byte SAREA at 0xf8ce4000
(II) MGA(0): [drm] mapped SAREA 0xf8ce4000 to 0xb5518000
(II) MGA(0): [drm] framebuffer handle = 0xe4000000
(II) MGA(0): [drm] added 1 reserved context for kernel
(II) MGA(0): [agp] Mode 0x1f000201 [AGP 0x1106/0x0305; Card 0x102b/0x0525]
(II) MGA(0): [agp] 12288 kB allocated with handle 0x00000001
(II) MGA(0): [agp] WARP microcode handle = 0xe6000000
(II) MGA(0): [agp] WARP microcode mapped at 0xb5510000
(II) MGA(0): [agp] Primary DMA handle = 0xe6008000
(II) MGA(0): [agp] Primary DMA mapped at 0xb5410000
(II) MGA(0): [agp] DMA buffers handle = 0xe6108000
(II) MGA(0): [agp] DMA buffers mapped at 0xb4c10000
(II) MGA(0): [drm] Added 128 65536 byte DMA buffers
(II) MGA(0): [agp] agpTexture handle = 0xe6908000
(II) MGA(0): [agp] agpTexture size: 2816 kb
(II) MGA(0): [drm] Registers handle = 0xe3000000
(II) MGA(0): [drm] Status handle = 0xf8cf5000
(II) MGA(0): [agp] Status page mapped at 0xb4c0e000
(II) MGA(0): [dri] visual configs initialized
(II) MGA(0): Memory manager initialized to (0,0) (1280,2047)
(II) MGA(0): Largest offscreen area available: 1280 x 1023
(II) MGA(0): Reserved back buffer at offset 0xa00000
(II) MGA(0): Reserved depth buffer at offset 0xf00000
(II) MGA(0): Reserved 11520 kb for textures at offset 0x1400000
(II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid filled trapezoids
8x8 mono pattern filled rectangles
8x8 mono pattern filled trapezoids
Indirect CPU to Screen color expansion
Screen to Screen color expansion
Solid Lines
Dashed Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
9 256x256 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(**) Option "dpms"
(**) MGA(0): DPMS enabled
(II) MGA(0): Using overlay video
(II) MGA(0): X context handle = 0x00000001
(II) MGA(0): [drm] installed DRM signal handler
(II) MGA(0): [DRI] installation complete
(II) MGA(0): [drm] Mapped 128 DMA buffers
(II) MGA(0): [drm] dma control initialized, using IRQ 11
(==) MGA(0): Direct rendering enabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
No matching visual for __GLcontextMode with visual class = -1 (-1), nplanes = 0
Vastaukset 2
Vanhimmat
Suosittelen googleen lykkäämään nuo libgl* virherivit.
Näyttäisi siltä, että tuo DRI-ajurit tarvitsisi yhteensopivaa userspace OpenGL rajapintaa, jota nuo tällähetkellä asennetut libGL moduulit ei toteuta.
Eli onko Matroxille omaa OpenGL librarya? Jos on, niin asenna se myösen.
http://www.ubuntuforums.org/archive/index.php/t-78288.html
Tuossa siis ubuntussa kohdattuja ongelmia.