Fedora 12 OpenGL not working

Discussions about using Linux guests in VirtualBox.
Post Reply
Archaeopteryx
Posts: 2
Joined: 8. Jul 2009, 17:21
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Fedora 12, Windows XP, Windows 7 RC, Ubuntu Studio, Ubuntu 10.04

Fedora 12 OpenGL not working

Post by Archaeopteryx »

I followed the sticky/announcement, copied the xorg.conf, and it still does not work for me. I run glxgears and it segfaults, I run desktop-effects and it segfaults. The guest additions installation seems to work fine and 3d is enabled in the settings for this vm. If someone can help me figure this out, it would be great :wink: My Ubuntu 10.04 guest works just fine, desktop effects wobble and all.

Here is some info, if you need more just ask!

Code: Select all

[alex@Alex-Fedora12 ~]$ uname -r
2.6.32.10-90.fc12.x86_64

Code: Select all

[alex@Alex-Fedora12 ~]$ cat /etc/X11/xorg.conf
Section "Device"
   Identifier   "Configured Video Device"
   Driver      "vboxvideo"
EndSection

Section "Monitor"
   Identifier   "Configured Monitor"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Monitor      "Configured Monitor"
   Device      "Configured Video Device"
   DefaultDepth    24
   SubSection      "Display"
      Depth           24
      Modes           "1280x1024"
   EndSubSection
EndSection

Section "InputDevice"
        Identifier  "vboxmouse"
        Driver          "vboxmouse"
        Option          "CorePointer"
        Option          "Device"        "/dev/input/mice"
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"        0 0
        InputDevice     "vboxmouse"
EndSection

Code: Select all

[alex@Alex-Fedora12 ~]$ cat /var/log/Xorg.0.log

X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: x86-01 2.6.18-164.6.1.el5 
Current Operating System: Linux Alex-Fedora12 2.6.32.10-90.fc12.x86_64 #1 SMP Tue Mar 23 09:47:08 UTC 2010 x86_64
Kernel command line: ro root=/dev/mapper/vg_alexfedora12-lv_root  LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet
Build Date: 17 March 2010  03:15:49AM
Build ID: xorg-x11-server 1.7.6-1.fc12 
Current version of pixman: 0.16.6
	Before reporting problems, check http://bodhi.fedoraproject.org/
	to make sure that you have the latest version.
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/Xorg.0.log", Time: Wed Apr  7 18:22:58 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(**) |   |-->Device "Configured Video Device"
(**) |-->Input Device "vboxmouse"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
(==) ModulePath set to "/usr/lib64/xorg/modules"
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
	If no devices become available, reconfigure HAL or disable AutoAddDevices.
(II) Loader magic: 0x7c9800
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(++) using VT number 1

(--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 InnoTek Systemberatung GmbH VirtualBox Graphics Adapter rev 0, Mem @ 0xe0000000/134217728, BIOS @ 0x????????/131072
(II) LoadModule: "extmod"
(II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "vboxvideo"
(II) Loading /usr/lib64/xorg/modules/drivers/vboxvideo_drv.so
(II) Module vboxvideo: vendor="Sun Microsystems, Inc."
	compiled for 1.5.99.901, module version = 1.0.1
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 6.0
(**) Load address of symbol "VBOXVIDEO" is 0x7f46ed9a2f40
(II) LoadModule: "vboxmouse"
(II) Loading /usr/lib64/xorg/modules/input/vboxmouse_drv.so
(II) Module vboxmouse: vendor="Sun Microsystems Inc."
	compiled for 0.0.0, module version = 1.0.0
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) Load address of symbol "VBOXMOUSE" is 0x7f46ed8531e0
(II) VBoxVideo: guest driver for VirtualBox: vbox
(II) Primary Device is: PCI 00@00:02:0
(II) VBoxVideo(0): VirtualBox guest additions video driver version 3.1.6
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/lib64/xorg/modules/libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.1.0
	ABI class: X.Org Video Driver, version 6.0
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/lib64/xorg/modules/libint10.so
(II) Module int10: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.0.0
	ABI class: X.Org Video Driver, version 6.0
(II) VBoxVideo(0): initializing int10
(II) VBoxVideo(0): Primary V_BIOS segment is: 0xc000
(II) VBoxVideo(0): VESA BIOS detected
(II) VBoxVideo(0): VESA VBE Version 2.0
(II) VBoxVideo(0): VESA VBE Total Mem: 131072 kB
(II) VBoxVideo(0): VESA VBE OEM: VirtualBox VBE BIOS http://www.virtualbox.org/
(II) VBoxVideo(0): VESA VBE OEM Software Rev: 0.2
(II) VBoxVideo(0): VESA VBE OEM Vendor: Sun Microsystems, Inc.
(II) VBoxVideo(0): VESA VBE OEM Product: VirtualBox VBE Adapter
(II) VBoxVideo(0): VESA VBE OEM Product Rev: Sun VirtualBox Version 3.1.6
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib64/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "shadowfb"
(II) LoadModule: "shadowfb"
(II) Loading /usr/lib64/xorg/modules/libshadowfb.so
(II) Module shadowfb: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/lib64/xorg/modules/libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
	compiled for 1.7.6, module version = 0.1.0
	ABI class: X.Org Video Driver, version 6.0
(**) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32
(II) VBoxVideo(0): Output VBOX1 using monitor section Configured Monitor
(II) VBoxVideo(0): Output VBOX1 has no monitor section
(II) VBoxVideo(0): Printing probed modes for output VBOX1
(II) VBoxVideo(0): Modeline "1280x1024"x60.0   79.47  1280 1282 1284 1286  1024 1026 1028 1030 (61.8 kHz)
(II) VBoxVideo(0): Output VBOX1 connected
(II) VBoxVideo(0): Using user preference for initial modes
(II) VBoxVideo(0): Output VBOX1 using initial mode 1280x1024 +0+0
(II) VBoxVideo(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
(==) VBoxVideo(0): RGB weight 888
(==) VBoxVideo(0): Default visual is TrueColor
(==) VBoxVideo(0): DPI set to (96, 96)
(II) Loading sub module "dri"
(II) LoadModule: "dri"
(II) Reloading /usr/lib64/xorg/modules/extensions/libdri.so
(--) Depth 24 pixmap format is 32 bpp
(==) VBoxVideo(0): Default visual is TrueColor
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 12, (OK)
drmOpenByBusid: drmOpenMinor returns 12
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) [drm] loaded kernel module for "vboxvideo" driver.
(II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) VBoxVideo(0): [drm] Using the DRM lock SAREA also for drawables.
(II) VBoxVideo(0): [drm] framebuffer handle = 0xe0000000
(II) VBoxVideo(0): [drm] added 1 reserved context for kernel
(II) VBoxVideo(0): X context handle = 0x1
(II) VBoxVideo(0): [drm] installed DRM signal handler
(II) VBoxVideo(0): visual configurations initialized
(==) VBoxVideo(0): Backing store disabled
(II) VBoxVideo(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(==) VBoxVideo(0): DPMS enabled
(II) VBoxVideo(0): The VBox video extensions are now enabled.
(II) VBoxVideo(0): [DRI] installation complete
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(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) SELinux: Disabled by boolean
(II) AIGLX: Screen 0 is not DRI2 capable
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 13, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 13, (OK)
drmOpenByBusid: drmOpenMinor returns 13
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) Next line is added to allow vboxvideo_drv.so to appear as whitelisted driver
(II) The file referenced, is *NOT* loaded
(II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
(EE) AIGLX error: vboxvideo does not export required DRI extension
(EE) AIGLX: reverting to software rendering
(II) AIGLX: Loaded and initialized /usr/lib64/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) VBoxVideo(0): Setting screen physical size to 338 x 270
(**) Option "CorePointer"
(**) vboxmouse: always reports core events
(**) vboxmouse: Device: "/dev/input/mice"
(II) XINPUT: Adding extended input device "vboxmouse" (type: MOUSE)
(**) vboxmouse: (accel) keeping acceleration scheme 1
(**) vboxmouse: (accel) acceleration profile 0
(II) vboxmouse: On.
(II) config/hal: Adding input device ImExPS/2 Generic Explorer Mouse
(II) LoadModule: "evdev"
(II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.7.1, module version = 2.3.2
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) ImExPS/2 Generic Explorer Mouse: always reports core events
(**) ImExPS/2 Generic Explorer Mouse: Device: "/dev/input/event4"
(II) ImExPS/2 Generic Explorer Mouse: Found 9 mouse buttons
(II) ImExPS/2 Generic Explorer Mouse: Found scroll wheel(s)
(II) ImExPS/2 Generic Explorer Mouse: Found relative axes
(II) ImExPS/2 Generic Explorer Mouse: Found x and y relative axes
(II) ImExPS/2 Generic Explorer Mouse: Configuring as mouse
(**) ImExPS/2 Generic Explorer Mouse: YAxisMapping: buttons 4 and 5
(**) ImExPS/2 Generic Explorer Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE)
(**) ImExPS/2 Generic Explorer Mouse: (accel) keeping acceleration scheme 1
(**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration profile 0
(II) ImExPS/2 Generic Explorer Mouse: initialized for relative axes.
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event3"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105+inet"
(**) Option "xkb_layout" "us"
(**) Option "xkb_options" "terminate:ctrl_alt_bksp"
(II) config/hal: Adding input device Macintosh mouse button emulation
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event2"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(**) Macintosh mouse button emulation: (accel) acceleration profile 0
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/hal: Adding input device Sleep Button
(**) Sleep Button: always reports core events
(**) Sleep Button: Device: "/dev/input/event1"
(II) Sleep Button: Found keys
(II) Sleep Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event0"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device VirtualBox Guest Service
(**) VirtualBox Guest Service: always reports core events
(**) VirtualBox Guest Service: Device: "/dev/vboxguest"
(II) XINPUT: Adding extended input device "VirtualBox Guest Service" (type: MOUSE)
(**) VirtualBox Guest Service: (accel) keeping acceleration scheme 1
(**) VirtualBox Guest Service: (accel) acceleration profile 0
(II) VirtualBox Guest Service: On.
(II) VBoxVideo(0): Printing probed modes for output VBOX1
(II) VBoxVideo(0): Modeline "1280x1024"x60.0   79.47  1280 1282 1284 1286  1024 1026 1028 1030 (61.8 kHz)
(II) VBoxVideo(0): Printing probed modes for output VBOX1
(II) VBoxVideo(0): Modeline "1280x1024"x60.0   79.47  1280 1282 1284 1286  1024 1026 1028 1030 (61.8 kHz)
(II) VBoxVideo(0): Printing probed modes for output VBOX1
(II) VBoxVideo(0): Modeline "1280x1024"x60.0   79.47  1280 1282 1284 1286  1024 1026 1028 1030 (61.8 kHz)
(II) VBoxVideo(0): Printing probed modes for output VBOX1
(II) VBoxVideo(0): Modeline "1280x1024"x60.0   79.47  1280 1282 1284 1286  1024 1026 1028 1030 (61.8 kHz)
(II) VBoxVideo(0): Printing probed modes for output VBOX1
(II) VBoxVideo(0): Modeline "1280x1024"x60.0   79.47  1280 1282 1284 1286  1024 1026 1028 1030 (61.8 kHz)
(II) VBoxVideo(0): Printing probed modes for output VBOX1
(II) VBoxVideo(0): Modeline "1280x1024"x60.0   79.47  1280 1282 1284 1286  1024 1026 1028 1030 (61.8 kHz)
(II) VBoxVideo(0): Printing probed modes for output VBOX1
(II) VBoxVideo(0): Modeline "1280x1024"x60.0   79.47  1280 1282 1284 1286  1024 1026 1028 1030 (61.8 kHz)
(II) VBoxVideo(0): Printing probed modes for output VBOX1
(II) VBoxVideo(0): Modeline "1280x1024"x60.0   79.47  1280 1282 1284 1286  1024 1026 1028 1030 (61.8 kHz)
planders
Posts: 4
Joined: 14. Apr 2010, 16:08
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Fedora Core 12

Re: Fedora 12 OpenGL not working

Post by planders »

I'm having the exact same problems on Fedora Core 12. Running glxgears yields a segfault. Here's the last 50 lines out of 494 lines from strace glxgears 2>trace:

Code: Select all

mmap(NULL, 134217728, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0xe0000000) = 0x7ff8fbc28000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0x1b7ff000) = 0x7ff905269000
brk(0x25b3000)                          = 0x25b3000
futex(0x3d0be7b350, FUTEX_WAKE_PRIVATE, 2147483647) = 0
mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff8fbbe7000
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\230\24\f\3\1\0\0\0\4\0\0\0\36\f\0\0GL_ARB_depth_tex"..., 3432}, {NULL, 0}, {"", 0}], 3) = 3432
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\0!\0\0\0\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \312?\3\0\0\0\0", 4096) = 32
read(3, 0x24463e4, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
brk(0x25d5000)                          = 0x25d5000
open("/usr/lib64/dri/tls/x86_64/libtxc_dxtn.so", O_RDONLY) = 6
read(6, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\5\0\0\0\0\0\0"..., 832) = 832
fstat(6, {st_mode=S_IFREG|0755, st_size=20298, ...}) = 0
mmap(NULL, 2113080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0x7ff8fb9e3000
mprotect(0x7ff8fb9e7000, 2093056, PROT_NONE) = 0
mmap(0x7ff8fbbe6000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x3000) = 0x7ff8fbbe6000
close(6)                                = 0
brk(0x25f6000)                          = 0x25f6000
mmap(NULL, 2236416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff8fb7c1000
mmap(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff8fb6c0000
brk(0x261d000)                          = 0x261d000
brk(0x2641000)                          = 0x2641000
brk(0x2665000)                          = 0x2665000
brk(0x2688000)                          = 0x2688000
brk(0x26ac000)                          = 0x26ac000
brk(0x26cf000)                          = 0x26cf000
brk(0x26f3000)                          = 0x26f3000
brk(0x2716000)                          = 0x2716000
brk(0x273a000)                          = 0x273a000
brk(0x275d000)                          = 0x275d000
brk(0x2781000)                          = 0x2781000
brk(0x27a4000)                          = 0x27a4000
brk(0x27c8000)                          = 0x27c8000
brk(0x27eb000)                          = 0x27eb000
brk(0x280f000)                          = 0x280f000
brk(0x2832000)                          = 0x2832000
brk(0x2856000)                          = 0x2856000
brk(0x2879000)                          = 0x2879000
brk(0x289d000)                          = 0x289d000
brk(0x28c0000)                          = 0x28c0000
brk(0x28e4000)                          = 0x28e4000
mmap(NULL, 1470464, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff8fb559000
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\230\3\6\0\4\0\300\4\317\0\0\0\0\0\0\0\0\0\0\0\1B_d\10p\2\0\2\0\300\4"..., 44}, {NULL, 0}, {"", 0}], 3) = 44
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\33$\0\0\0\0\0\1\0\0\0\0\0\0\0\24\0\3033\4\1\0\0 \312?\3\0\0\0\0"..., 4096) = 192
read(3, 0x24463e4, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
The EAGAIN error is repeated 26 times throughout the strace output.


Does anyone have an idea of whats going on here? I'd hate to downgrade to Fedora Core 10 for OpenGL compatibility, but I have to have it.
planders
Posts: 4
Joined: 14. Apr 2010, 16:08
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Fedora Core 12

Re: Fedora 12 OpenGL not working

Post by planders »

It seems there is an update to mesa available that fixed this problem for me. A simple run of yum install mesa-dri-drivers upgraded everything. glxgears now works with no segfaults.

Woop!
ionilith
Posts: 1
Joined: 15. Apr 2010, 03:15
Primary OS: Other
VBox Version: OSE other
Guest OSses: Linux, XP

Re: Fedora 12 OpenGL not working

Post by ionilith »

To avoid cluttering the boards with threads I am simply going to extend this one. I am having OpenGL problems as well, but on Fedora 11. Below is some debug output from gdb ...

Starting program: /home/arc/dev/sandbox/osg_widget_mem/osg_widget_mem
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /usr/lib64/dri/vboxvideo_dri.so
warning: the debug information found in "/usr/lib64/VBoxOGLcrutil.so" does not match "/usr/lib64/VBoxOGLcrutil.so" (CRC mismatch).

Missing separate debuginfo for /usr/lib64/VBoxOGLcrutil.so
warning: the debug information found in "/usr/lib64/VBoxOGLpackspu.so" does not match "/usr/lib64/VBoxOGLpackspu.so" (CRC mismatch).

Missing separate debuginfo for /usr/lib64/VBoxOGLpackspu.so
warning: the debug information found in "/usr/lib64/VBoxOGLerrorspu.so" does not match "/usr/lib64/VBoxOGLerrorspu.so" (CRC mismatch).

Missing separate debuginfo for /usr/lib64/VBoxOGLerrorspu.so
warning: the debug information found in "/usr/lib64/VBoxOGLfeedbackspu.so" does not match "/usr/lib64/VBoxOGLfeedbackspu.so" (CRC mismatch).

Missing separate debuginfo for /usr/lib64/VBoxOGLfeedbackspu.so
warning: the debug information found in "/usr/lib64/VBoxOGLpassthroughspu.so" does not match "/usr/lib64/VBoxOGLpassthroughspu.so" (CRC mismatch).

Missing separate debuginfo for /usr/lib64/VBoxOGLpassthroughspu.so

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff553dbd0 in ?? () from /usr/lib64/dri/swrast_dri.so
Missing separate debuginfos, use: debuginfo-install e2fsprogs-libs-1.41.9-2.fc11.x86_64 expat-2.0.1-8.fc11.x86_64 freetype-2.3.9-5.fc11.x86_64 glibc-2.10.2-1.x86_64 libICE-1.0.4-7.fc11.x86_64 libSM-1.1.0-4.fc11.x86_64 libX11-1.2.2-1.fc11.x86_64 libXau-1.0.4-5.fc11.x86_64 libXcomposite-0.4.0-7.fc11.x86_64 libXdamage-1.1.1-6.fc11.x86_64 libXext-1.0.99.1-3.fc11.x86_64 libXfixes-4.0.3-5.fc11.x86_64 libXrandr-1.2.99.4-3.fc11.x86_64 libXrender-0.9.4-5.fc11.x86_64 libXxf86vm-1.0.2-2.fc11.x86_64 libdrm-2.4.11-2.fc11.x86_64 libgcc-4.4.1-2.fc11.x86_64 libselinux-2.0.80-1.fc11.x86_64 libstdc++-4.4.1-2.fc11.x86_64 libxcb-1.2-5.fc11.x86_64 mesa-dri-drivers-7.6-0.1.fc11.x86_64 mesa-libGL-7.6-0.1.fc11.x86_64 mesa-libGLU-7.6-0.1.fc11.x86_64
(gdb) bt
#0 0x00007ffff553dbd0 in ?? () from /usr/lib64/dri/swrast_dri.so
#1 0x00007ffff553dc52 in ?? () from /usr/lib64/dri/swrast_dri.so
#2 0x0000003ac0c22d79 in glXMakeCurrentReadSGI () from /usr/lib64/libGL.so.1
#3 0x00007ffff76cd2d9 in osgViewer::GraphicsWindowX11::makeCurrentImplementation() () from /home/arc/dev/OpenSceneGraph-2.8.3/lib/libosgViewer.so.65
#4 0x00007ffff7cbd8ba in osg::GraphicsContext::makeCurrent() ()
from /home/arc/dev/OpenSceneGraph-2.8.3/lib/libosg.so.65
#5 0x00007ffff76c09ea in osgViewer::ViewerBase::renderingTraversals() ()
from /home/arc/dev/OpenSceneGraph-2.8.3/lib/libosgViewer.so.65
#6 0x00007ffff76be781 in osgViewer::ViewerBase::run() ()
from /home/arc/dev/OpenSceneGraph-2.8.3/lib/libosgViewer.so.65
#7 0x0000000000401b0d in main ()

The above output is from a program that I tried to run. Its only a few lines and uses OpenSceneGraph to do little more than bring up a window and draw a box using OpenGL. It appears that something unfortunate is occurring when calls are made to glxMakeCurrentReadSGI in libGL. This doesn't occur if I have 3D acceleration off. Here is what I hope are the important details ...

VirtualBox Version 3.1.6 r59338
Host OS Windows 7 (up to date as far as I can tell)
Guest OS Fedora 11
3D Acceleration Enabled
Video Memory set to 64MB
2D Acceleration Enabled

Hardware intel 4 core processor 3.2 GHz
4GB DDR2 RAM
2x ATI 3880s
(for full details see Alienware M17, just deck out all the optional equipment)

I doubt its of much interest, but if you want to download OpenSceneGraph and try this little program, here it is ....

#include <osg/io_utils>
#include <osgWidget/Util>
#include <osgWidget/WindowManager>
#include <osgWidget/Box>

const unsigned int MASK_2D = 0xF0000000;
const unsigned int MASK_3D = 0x0F000000;
osgWidget::Box* createBox(const std::string& name, osgWidget::Box::BoxType bt) {
osgWidget::Box* box = new osgWidget::Box(name, bt, true);

osgWidget::Widget* widget2 = new osgWidget::Widget(name + "_widget2", 100.0f, 100.0f);

widget2->setColor(0.8f, 0.2f, 0.9f, 1.0f);

box->addWidget(widget2);

return box;
}

int main(int argc, char** argv) {
osgViewer::Viewer viewer;

osgWidget::WindowManager* wm = new osgWidget::WindowManager(
&viewer,
1280.0f,
1024.0f,
MASK_2D,
osgWidget::WindowManager::WM_PICK_DEBUG
);

wm->setPointerFocusMode(osgWidget::WindowManager::PFM_SLOPPY);

osgWidget::Window* box1 = createBox("HBOX", osgWidget::Box::HORIZONTAL);

box1->getBackground()->setColor(1.0f, 0.0f, 0.0f, 0.8f);
box1->attachMoveCallback();

wm->addChild(box1);

return osgWidget::createExample(viewer, wm, NULL);
}
planders
Posts: 4
Joined: 14. Apr 2010, 16:08
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Fedora Core 12

Re: Fedora 12 OpenGL not working

Post by planders »

planders wrote:It seems there is an update to mesa available that fixed this problem for me. A simple run of yum install mesa-dri-drivers upgraded everything. glxgears now works with no segfaults.

Woop!
This morning, I tried running a couple OpenGL applications. They segfaulted again. After a couple hours of scratching my head, I ran yum reinstall mesa-*, and everything started working again.

Has anyone seen this very odd behavior before, or (better yet) have an explanation for it?
joekrahn
Posts: 9
Joined: 20. Sep 2009, 01:34
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora 11

Re: Fedora 12 OpenGL not working

Post by joekrahn »

Reinstalling mesa* is removing hooks for host-accelerated OpenGL that was installed with the VBox Guest Additions (maybe just the setting for vboxvideo in /etc/X11/xorg.conf). You will get error-free but unaccelerated OpenGL. If it is just an issue with compatibility for the latest Xorg X11, it might get fixed before too long.

It may be possible to avoid problems by deselecting accelerated OpenGL in the VBox session configuration.
marcussundberg
Posts: 1
Joined: 20. Sep 2010, 22:39
Primary OS: Other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Fedora

Re: Fedora 12 OpenGL not working

Post by marcussundberg »

joekrahn wrote:Reinstalling mesa* is removing hooks for host-accelerated OpenGL that was installed with the VBox Guest Additions (maybe just the setting for vboxvideo in /etc/X11/xorg.conf). You will get error-free but unaccelerated OpenGL.
I didn't think you could run Compiz at all without acceleration, and definitely not get perfect smooth "desktops on a cube"?
That's what I got after 'yum reinstall mesa*', while previously all OpenGL apps gave a segmentation fault.
Post Reply