Problems with PCLinuxOS and openGL

Discussions about using Linux guests in VirtualBox.
Post Reply
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Problems with PCLinuxOS and openGL

Post by loukingjr »

I have a couple versions of PCLinuxOS as guests and am having issues getting openGL to run. If I run glxinfo, it not only locks up my guest but the Mac as well. I have to power it off. There seems to be two xorg files...one xorg.conf and one xorg.conf.vbox. Also, if I try and open Monitors, it says my xorg.conf file is broken and will be ignored. It's surprising the thing works at all. I am attaching both xorg files if someone can take a look at them and see what's going wrong.

thanks

hmmm, seems I can't attach them

guess I'll just paste em...
xorg.conf
# VirtualBox generated configuration file
# based on /etc/X11/xorg.conf.
# File generated by XFdrake (rev )

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Disable "dri"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "glx" # 3D layer
EndSection

# Section "Monitor"
# Identifier "monitor1"
# VendorName "Generic"
# ModelName "Flat Panel 1440x900"
# HorizSync 31.5-56.0
# VertRefresh 56.0-65.0
#
# # TV fullscreen mode or DVD fullscreen output.
# # 768x576 @ 79 Hz, 50 kHz hsync
# ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
#
# # 768x576 @ 100 Hz, 61.6 kHz hsync
# ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
# EndSection

# Section "Device"
# Identifier "device1"
# VendorName "InnoTek Systemberatung GmbH"
# BoardName "VirtualBox virtual video card"
# Driver "vboxvideo"
# Option "DPMS"
# EndSection

# Section "Screen"
# Identifier "screen1"
# Device "device1"
# Monitor "monitor1"
# DefaultColorDepth 24
# EndSection

# Section "ServerLayout"
# Identifier "layout1"
# Screen "screen1"
# EndSection

Section "Monitor"
Identifier "Monitor[0]"
ModelName "VirtualBox Virtual Output"
VendorName "Oracle Corporation"
EndSection

Section "Device"
BoardName "VirtualBox Graphics"
Driver "vboxvideo"
Identifier "Device[0]"
VendorName "Oracle Corporation"
EndSection

Section "Screen"
SubSection "Display"
Depth 24
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

xorg.conf.vbox
# File generated by XFdrake (rev )

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Disable "dri"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "glx" # 3D layer
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "Flat Panel 1440x900"
HorizSync 31.5-56.0
VertRefresh 56.0-65.0

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
VendorName "InnoTek Systemberatung GmbH"
BoardName "VirtualBox virtual video card"
Driver "vboxvideo"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
EndSection

Section "ServerLayout"
Identifier "layout1"
Screen "screen1"
EndSection
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Problems with PCLinuxOS and openGL

Post by loukingjr »

I tried starting compiz in a terminal and got this message if it helps...

compiz (core) - Error: Screen 0 on display ":0.0" already has a window manager; try using the --replace option to replace the current window manager.
compiz (core) - Fatal: No manageable screens found on display :0.0
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Problems with PCLinuxOS and openGL

Post by loukingjr »

loukingjr wrote:I tried starting compiz in a terminal and got this message if it helps...

compiz (core) - Error: Screen 0 on display ":0.0" already has a window manager; try using the --replace option to replace the current window manager.
compiz (core) - Fatal: No manageable screens found on display :0.0
ok, I tried "compiz --replace" and I do get wobbly windows...lol until I close the terminal of course. but I also get this...

[louis@localhost ~]$ compiz --replace
OpenGL Warning: No pincher, please call crStateSetCurrentPointers() in your SPU
OpenGL Info: Using XSHM for GLX_EXT_texture_from_pixmap
OpenGL Warning: stubInitGlxPixmap failed in call to XGetGeometry for 0x3a00108

I have three PCLinux VMs one of which worked. so I copied the xorg.conf and xorg.conf.vbox files from the working one to one of the ones that didn't work. and now at least that one doesn't crash anymore when I call "glxinfo"
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Problems with PCLinuxOS and openGL

Post by loukingjr »

me again, Still haven't figured out how to make PCLOS work with 3D acceleration. I've tried it the way it comes. I've tried uninstalling their guest additions and installing the PUEL versions. I've tried the configure video card.

once I take out the built in guest additions and install the PUEL additions, if I go to configure video card it says my Xorg file is broken and it will be ignored, then it lets me set everything myself.

I do have a another question,. PCLOS comes pre-installed with both OSE guest additions and it's own x11 video and mouse drivers for VirtualBox and there is no place to enable/disable 3D in that cards settings. their is also listed under the Xorg tab, vboxvideo, which I tried and it does allow you to enable 3D. But it doesn't work. So I guess what I was wondering is, do I need to remove the built in x11 video card driver for virtualbox before I install the PUEL guest additions? And if so, since I won't have anything but text after I reboot, how do I mount the VB GA .iso and install it from text mode?

thanks
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Problems with PCLinuxOS and openGL

Post by loukingjr »

here I am again talking to myself :roll:

Is there no one belonging to this forum that has tried to install PCLinuxOS 2010 besides me? And if there is, did you manage to get compiz running?

thanks
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Problems with PCLinuxOS and openGL

Post by Perryg »

Seems to me that with all the chatter and no replies there are not. Maybe you are asking the wrong forum this question. Have you asked the PCLinuxOS forum? Seems to me they would know if they can run Compiz in VBox. Have tried once upon a time and it failed but one never knows if this has changed.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Problems with PCLinuxOS and openGL

Post by loukingjr »

Perryg wrote:Seems to me that with all the chatter and no replies there are not. Maybe you are asking the wrong forum this question. Have you asked the PCLinuxOS forum? Seems to me they would know if they can run Compiz in VBox. Have tried once upon a time and it failed but one never knows if this has changed.
thanks Perry, It seems the only people who have tried are running VirtualBox on a PCLinuxOS host to test new versions of PCLinuxOS. It comes with their own version of VirtualBox additions and drivers. If you take them out, and try to config the video card to enable 3D, it automatically goes and fetches the ones that were pre-installed. And if you lock them, then it just fails and won't let you configure a card. You can run PUEL additions in PCLOS, but not with hardware acceleration. I did ask over there even more often than here :mrgreen:

I forgot to mention, with their OSE guest additions installed, they have files named xorg.conf.vbox. which I guess they are looking for.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Problems with PCLinuxOS and openGL

Post by Perryg »

Well there's you answer then. Proprietary just like the rest of PCLinuxOS.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Problems with PCLinuxOS and openGL

Post by loukingjr »

Perryg wrote:Well there's you answer then. Proprietary just like the rest of PCLinuxOS.
seems so,. I was hoping someone might know a fix. I do like their distro and they have a very nice version integrated with E-17, oh well.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply