Üdv!

Be akartam izzítani a drit a gépemen, mert kicsit belenézek az opengl
fejlesztésbe.
Sajna csak segfaultot tudok kicsikarni belőle...
Debian sid alatt vagyok, csomagból pakoltam fel a cuccost.

Gugli kidobott egy sorstársat, neki egy upgrade lett a megoldás:
"After updating to OpenSuse 10.1 (with xorg-x11 6.8.9, kernel 2.6.16) 
3d works again."

Este majd megpróbálok friss kernelt fordítani, mert ez már lassan egy éves.
Addig is valakinek esetleg van más tippje?

Köszi,
HCS

Log részletek (elnézést, hosszú lesz):

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.17 i686
Current Operating System: Linux defiant 2.6.13-rc5 #8 Sat Aug 6 00:57:44 CEST 
2005 i686
Build Date: 16 March 2006
...
(--) PCI:*(1:0:0) Matrox Graphics, Inc. G400/G450 rev 133, Mem @ 0xe4000000/25, 
0xe7000000/14, 0xe8000000/23, BIOS @ 0xe
7020000/17
...
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/xorg/modules/linux/libdrm.so
(II) Module drm: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "drm"
(II) Reloading /usr/lib/xorg/modules/linux/libdrm.so
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
...
(II) LoadModule: "mga"
(II) Loading /usr/lib/xorg/modules/drivers/mga_drv.so
(II) Module mga: vendor="X.Org Foundation"
        compiled for 7.0.0, module version = 1.2.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.8
(--) MGA(0): Chipset: "mgag400" (G450)
(++) MGA(0): Depth 16, (--) framebuffer bpp 16
(==) MGA(0): RGB weight 565
(**) MGA(0): Option "AGPMode" "4"
(**) MGA(0): Option "DRI"
(**) MGA(0): Using AGP 4x mode
(--) MGA(0): Linear framebuffer at 0xE4000000
(--) MGA(0): MMIO registers at 0xE7000000
(--) MGA(0): Pseudo-DMA transfer window at 0xE8000000
(--) MGA(0): BIOS at 0xE7020000
(II) Truncating PCI BIOS Length to 36864
(--) MGA(0): Video BIOS info block at offset 0x07CA0
(--) MGA(0): VideoRAM: 32768 kByte
...
(II) MGA(0): [drm] bpp: 16 depth: 16
(II) MGA(0): [drm] Sarea 2200+664: 2864
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(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 0xe2906000
(II) MGA(0): [drm] mapped SAREA 0xe2906000 to 0xb50f6000
(II) MGA(0): [drm] framebuffer handle = 0xe4000000
(II) MGA(0): [drm] added 1 reserved context for kernel
(II) MGA(0): [agp] Mode 0x1f000217 [AGP 0x10de/0x01e0; Card 0x102b/0x0525]
(II) MGA(0): [agp] 12288 kB allocated with handle 0x00000001
(II) MGA(0): [agp] WARP microcode handle = 0xe0000000
(II) MGA(0): [agp] Primary DMA handle = 0xe0008000
(II) MGA(0): [agp] DMA buffers handle = 0xe0108000
(II) MGA(0): [drm] Added 128 65536 byte DMA buffers
(II) MGA(0): [agp] agpTexture handle = 0xe0908000
(II) MGA(0): [agp] agpTexture size: 2816 kb
(II) MGA(0): [drm] Registers handle = 0xe7000000
(II) MGA(0): [drm] Status handle = 0xe29b2000
(II) MGA(0): [dri] visual configs initialized
(II) MGA(0): Memory manager initialized to (0,0) (1600,2400)
(II) MGA(0): Largest offscreen area available: 1600 x 1200
(II) MGA(0): Reserved back buffer at offset 0x754000
(II) MGA(0): Reserved depth buffer at offset 0xafe000
(II) MGA(0): Reserved 17760 kb for textures at offset 0xea8000
...
(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 10
(II) MGA(0): Direct rendering enabled
(==) RandR enabled

Viszont:

(gdb) r
Starting program: /usr/bin/glxinfo 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212193088 (LWP 12363)]
0xb7a866a4 in driCreateTextureHeap (heap_id=0, context=0x8055520, 
size=16777216, alignmentShift=6, nr_regions=16, 
    global_regions=0x6f9cacb9, global_age=0x6f9cadc9, 
swapped_objects=0x8055568, texture_object_size=164, 
    destroy_tex_obj=0xb7aa9a1c <mgaDestroyTexObj>) at ../common/texmem.c:671
671     ../common/texmem.c: No such file or directory.
        in ../common/texmem.c
(gdb) bt
#0  0xb7a866a4 in driCreateTextureHeap (heap_id=0, context=0x8055520, 
size=16777216, alignmentShift=6, nr_regions=16, 
    global_regions=0x6f9cacb9, global_age=0x6f9cadc9, 
swapped_objects=0x8055568, texture_object_size=164, 
    destroy_tex_obj=0xb7aa9a1c <mgaDestroyTexObj>) at ../common/texmem.c:671
#1  0xb7ab4035 in mgaCreateContext (mesaVis=0x80526e8, 
driContextPriv=0x8054810, sharedContextPrivate=0x0)
    at mga_xmesa.c:507
#2  0xb7a8979a in driCreateNewContext (dpy=0x804d008, modes=0x80526e8, 
render_type=0, sharedPrivate=0x0, 
    pctx=0x80547cc) at ../common/dri_util.c:1069
#3  0xb7ee44a2 in DriverCreateContextWrapper () from /usr/X11R6/lib/libGL.so.1
#4  0xb7ee48d1 in CreateContext () from /usr/X11R6/lib/libGL.so.1
#5  0xb7ee4ad2 in glXCreateContext () from /usr/X11R6/lib/libGL.so.1
#6  0x08049119 in ?? ()
#7  0x0804d008 in ?? ()
#8  0x08054108 in ?? ()
#9  0x00000000 in ?? ()
                                                        
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz