News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

vbox + lmce 0810-alpha + ui2 = working

Started by skeptic, August 21, 2009, 12:43:33 AM

Previous topic - Next topic

skeptic

As an offshoot from another thread, I wanted to see if I could get 810 alpha working in vbox with ui2 + overlay (opengl).  This isn't a detailed howto, but here are the steps I did.


  • install the latest virtualbox on your host OS.
  • download the kubuntu desktop for i386 iso
  • create a new vbox Machine making sure to enable the 3d accelleration
  • boot off the iso (if you don't mount it first it will prompt you), and install
  • from a terminal window in the new vm:
         aptitude update
         aptitude dist-upgrade
         install the vbox guest additions by mounting the iso from the vm menu, mounting the drive in kde, and running /media/cdrom/VBoxLinuxAdditions.run
  • reboot and verify it's working with the vboxvideo driver.   Easy way to tell, when X is up the mouse pointer isn't captured and "stuck" in the vm when you click in the vm window.
  • follow the directions here to install linuxmce 0810-alpha:  http://wiki.linuxmce.org/index.php/LinuxMCE-0810_alpha2
  • When you go through the AV wizard it will overwrite your xorg.conf file and appears to disable the vboxvideo driver.  It may be using vboxvideo though, my only testing was to see if the mouse pointer was stuck in the vm window.
  • Reboot (you may need to reset the vm from the vm menu), after the OS is up but before lmce boots go to a virtual terminal (hostkey-f2 for example), cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf, then reboot. I first tried putting Driver "vboxvideo" in the xorg.conf the avwizard created, but either I put it in the wrong place in the file or something else is going on because that didn't work.  I'm not an xorg expert nor did I play around with it, so if someone has a better way please share it.  I'm not sure if removing all the extra stuff lmce puts in xorg.conf hurts anything, but in brief testing I seem to be fine.
  • The photo screen saver seems to mess stuff up, basically it appears to be in the foreground at all times, even when switching to a virtual terminal.  To avoid this, watch the boot up, and be ready to click advanced->KDE desktop from the lmce menu as soon as possible before the screensaver kicks on.  Once at a kde desktop, follow this: http://wiki.linuxmce.org/index.php/Turn_off_photo_screensaver
The reason I did this was to get 810-alpha/ui2 working in vbox as I don't have a spare computer, but I hope to have time to work on a new skin idea.  I have not tried ui2+blending.

merkur2k


rperre

I know this is an old post, but does anybody have lmce running in virtualbox?

If so could you please post a working xorg.conf here.

Thank you,

Richard
My setup at: [url="http://wiki.linuxmce.com/index.php/User:Rperre"]http://wiki.linuxmce.com/index.php/User:Rperre[/url]

bongowongo

I ran it in virtualbox, never had to do anything with the xorg.conf file

valent

Great guide, please post it to the wiki also.

I used latest iso image both in kvm and vbox but couldn't get zwave to work via usb stick :(
LinuxMCE - If it was easy, everybody would be doing it!!
My setup - [url="http://wiki.linuxmce.org/index.php/User:Valent"]http://wiki.linuxmce.org/index.php/User:Valent[/url]

rperre

#5
i ran the install from my builder and it's not showing up anything.

Strange, i'll re-install and see if it works, i updated virtualbox to 3.2.4 including the guest additions

There are 2 guides in the wiki already.

Mine is showing the white letters, but when the green bar appears to show the orbiter/wizard it goes to 99% paused and than restart the process.

Richard
My setup at: [url="http://wiki.linuxmce.com/index.php/User:Rperre"]http://wiki.linuxmce.com/index.php/User:Rperre[/url]

valent

#6
There are two pages in WIKI but one needs to be deleted [1] and other is a stub [2] that needs people's attention to make it usable, currently it is actually not user friendly and also has some outdated info. I fixed some of glaring issues with that page and hope you all jump in and also make it better.

This is the WIKI page that should be edited - http://wiki.linuxmce.org/index.php/Install_LinuxMCE_On_VirtualBox

Cheers.

[1] http://wiki.linuxmce.org/index.php/LinuxMCE_0810_on_Virtualbox_3.1
[2] http://wiki.linuxmce.org/index.php/Install_LinuxMCE_On_VirtualBox
LinuxMCE - If it was easy, everybody would be doing it!!
My setup - [url="http://wiki.linuxmce.org/index.php/User:Valent"]http://wiki.linuxmce.org/index.php/User:Valent[/url]

purps

I will try and update this wiki entry with instructions as to how to run the diskless MD in VBox too.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

rperre

This is for UI2 peeps, please don't answer "UI1" is working, I know.

Digging this up, i saw some text in the irc channel that people (Bongowongo?) have this working, can you please post the xorg.conf file here for review and a brief explanation on how you got it to work.

I pretty much tried everything i know of, but still get "Orbiter failed to initialize OpenGL"

This is for running ui2...... ui1 seems to running just fine.

Thank you,

Richard
My setup at: [url="http://wiki.linuxmce.com/index.php/User:Rperre"]http://wiki.linuxmce.com/index.php/User:Rperre[/url]

bongowongo

Hmm well I did it a while ago and my brain says everything worked fine.
I will make a new test install soon, but I cannot now because I am waiting for my new switch as soon as possible I will dig in.

purps

Don't you need to install "guest additions" on the MD for the graphics to work properly?
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

muumu

Dont know if this helps but managed to installed 8.10 beta 2 to VMware player under Win XP and LinuxMCE appears to work ok. I thin kI was running it without accelerated gfxs. No changes needed to conf files but VMware installed some additions by itself. Nice way to evaluate the LinuxMCE.

I think it would be great to have a virtual appliance for evaluation purposes available.

phenigma

Quote from: purps on October 08, 2010, 05:16:57 PM
Don't you need to install "guest additions" on the MD for the graphics to work properly?

I think you also have to enable 'hardware video acceleration' in vbox for that machine.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

purps

Quote from: phenigma on October 08, 2010, 09:00:34 PM
Quote from: purps on October 08, 2010, 05:16:57 PM
Don't you need to install "guest additions" on the MD for the graphics to work properly?

I think you also have to enable 'hardware video acceleration' in vbox for that machine.

J.

Absolutely. I'm going to give this another go today, see what happens.
1004 RC :: looking good :: upgraded 01/04/2013
my setup :: [url="http://wiki.linuxmce.org/index.php/User:Purps"]http://wiki.linuxmce.org/index.php/User:Purps[/url]

rperre

you definitely need guest additions installed imo which i did.

I tried copying the original xorg.conf after installing a "plain" ubuntu 08.10 with guest additions, but no help

I have it setup with Enable 3D Acceleration checked

here is a plain xorg.conf

Section "Device"
        Identifier "Configured Video Device"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
EndSection


here is the one after lmce install

Section "Device"
        Identifier "Configured Video Device"
        Option "XvmcUsesTextures" "true"
        Option "renderAccel" "true"
        Option "NoDDCValue"
        Option "UseEDID" "true"
        Option "ExactModeTimingsDVI" "true"
        Option "NoLogo" "true"
        Option "NoBandWidthTest" "true"
        Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes, NoEdidModes"
        Option "DynamicTwinView" "false"
        Option "UseEvents" "true"
        Option "AllowGLXWithComposite" "true"
        Option "AddARGBGLXVisuals" "true"
        Option          "ConnectedMonitor" "CRT"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
        Modeline        "1024x768" 60.80 1024 1056 1128 1272 768 768 770 796
        HorizSync       20-500
        VertRefresh     59-61
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
        Option "XvmcUsesTextures" "true"
        Option "renderAccel" "true"
        Option "NoDDCValue"
        Option "UseEDID" "true"
        Option "ExactModeTimingsDVI" "true"
        Option "NoLogo" "true"
        Option "NoBandWidthTest" "true"
        Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes, NoEdidModes"
        Option "DynamicTwinView" "false"
        Option "UseEvents" "true"
        Option "AllowGLXWithComposite" "true"
        Option "AddARGBGLXVisuals" "true"
        Option  "TVStandard"    "1024x768"
EndSection

Section "Extensions"
        Option "Composite" "false"
        Option "RENDER" "true"
EndSection

Section "ServerFlags"
        Option "AutoAddDevices" "False"
EndSection


here is one where i added vboxvideo as the driver

Section "Device"
        Identifier "Configured Video Device"
        Driver "vboxvideo"
        Option "XvmcUsesTextures" "true"
        Option "renderAccel" "true"
        Option "NoDDCValue"
        Option "UseEDID" "true"
        Option "ExactModeTimingsDVI" "true"
        Option "NoLogo" "true"
        Option "NoBandWidthTest" "true"
        Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes, NoEdidModes"
        Option "DynamicTwinView" "false"
        Option "UseEvents" "true"
        Option "AllowGLXWithComposite" "true"
        Option "AddARGBGLXVisuals" "true"
        Option          "ConnectedMonitor" "CRT"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
        Modeline        "1024x768" 60.80 1024 1056 1128 1272 768 768 770 796
        HorizSync       20-500
        VertRefresh     59-61
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
        Option "XvmcUsesTextures" "true"
        Option "renderAccel" "true"
        Option "NoDDCValue"
        Option "UseEDID" "true"
        Option "ExactModeTimingsDVI" "true"
        Option "NoLogo" "true"
        Option "NoBandWidthTest" "true"
        Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes, NoEdidModes"
        Option "DynamicTwinView" "false"
        Option "UseEvents" "true"
        Option "AllowGLXWithComposite" "true"
        Option "AddARGBGLXVisuals" "true"
        Option  "TVStandard"    "1024x768"
EndSection

Section "Extensions"
        Option "Composite" "false"
        Option "RENDER" "true"
EndSection

Section "ServerFlags"
        Option "AutoAddDevices" "False"
EndSection


None of these do ui2 for me,

Richard


My setup at: [url="http://wiki.linuxmce.com/index.php/User:Rperre"]http://wiki.linuxmce.com/index.php/User:Rperre[/url]