Ubuntu 10.04 guest, Max res 800x600 - GA prob?

Discussions about using Linux guests in VirtualBox.
flamacue
Posts: 17
Joined: 11. Jul 2009, 16:57
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: various Linux distros

Re: Ubuntu 10.04 guest, Max res 800x600 - GA prob?

Post by flamacue »

Progress...

Perryg, the change to xorg.conf that you suggested did fix the issue from within the VM. Of course, it totally breaks X when I boot natively...

I did some quick googling, and noted that it's possible to have two entries for Devices in xorg.conf. I tried having both, but it only worked correctly in VBox when its device was the only one in the file.

Also, I now have a new issue that when I choose Shutdown from within Ubuntu booted virtually, VBox crashes on me.

So, my issues are now two:
1.) How do I fix the crash on Shutdown?
2.) How can I make it work for either configuration automatically? e.g. By telling X / xorg.conf about both displays (the native and the virtual) and having it select the right one... or by somehow modifying xorg.conf based on what h/w I booted... or...?

That's all I can do for now. I'll post the details of the crash later.

Thanks so much for your help so far, guys!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu 10.04 guest, Max res 800x600 - GA prob?

Post by Perryg »

I was afraid of that from the beginning. Especially after you said that you had to do special things to get it to work native. I know of no way to fix this given your situation of Ubuntu native on your PC. I still think the best thing for you to do is run Ubuntu as a VM.
Mun206
Posts: 2
Joined: 31. Jul 2010, 23:51
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: Linux, Windows

Re: Ubuntu 10.04 guest, Max res 800x600 - GA prob?

Post by Mun206 »

flamacue wrote:Mun206, do you have the same setup as me? 64-bit Ubuntu 10.04, installed natively, then having created a .vmdk, booted virtually in VBox...
Ah, sorry - I missed that. No, I'm using the 32 bit version and I installed it in VirtualBox.

Oh, and I don't think you'll get very far with xorg.conf - I had a similar problem to this before and it didn't help much.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Ubuntu 10.04 guest, Max res 800x600 - GA prob?

Post by Sasquatch »

Flamacue, as stated earlier in this topic, Ubuntu 10.04 shouldn't need an xorg.conf. Can you try to boot both ways without one? When in VB, it should load the vboxvideo module and on native boot, it should load VESA. Or if you have the driver installed for your video card itself, it should load that one (open source driver only, like intel, ati or nv).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
flamacue
Posts: 17
Joined: 11. Jul 2009, 16:57
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: various Linux distros

Re: Ubuntu 10.04 guest, Max res 800x600 - GA prob?

Post by flamacue »

flamacue wrote:Also, I now have a new issue that when I choose Shutdown from within Ubuntu booted virtually, VBox crashes on me.
...
1.) How do I fix the crash on Shutdown?
Here is the error message window:
When I choose Shutdown from within Ubuntu booted virtually...
When I choose Shutdown from within Ubuntu booted virtually...
VB_AppCrash.png (43.33 KiB) Viewed 2812 times
And here is the full text:

Code: Select all

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	VirtualBox.exe
  Application Version:	3.2.6.0
  Application Timestamp:	4c24b014
  Fault Module Name:	ig4icd64.dll
  Fault Module Version:	8.15.10.2025
  Fault Module Timestamp:	4b2bd484
  Exception Code:	c0000005
  Exception Offset:	000000000003fa08
  OS Version:	6.1.7600.2.0.0.256.48
  Locale ID:	1033
  Additional Information 1:	cb8f
  Additional Information 2:	cb8f387930809d1e06a85befbca14651
  Additional Information 3:	115a
  Additional Information 4:	115a391510c133665452e938927458b8

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
flamacue wrote:2.) How can I make it work for either configuration automatically? e.g. By telling X / xorg.conf about both displays (the native and the virtual) and having it select the right one... or by somehow modifying xorg.conf based on what h/w I booted... or...?
Sasquatch wrote:Flamacue, as stated earlier in this topic, Ubuntu 10.04 shouldn't need an xorg.conf. Can you try to boot both ways without one? When in VB, it should load the vboxvideo module and on native boot, it should load VESA. Or if you have the driver installed for your video card itself, it should load that one (open source driver only, like intel, ati or nv).
Booting virtually is fine without xorg.conf, but booting natively gives me no X. I figure this is probably why others were saying I needed to force those options at installation time...

Why don't the closed source drivers work for this?
flamacue wrote:I did some quick googling, and noted that it's possible to have two entries for Devices in xorg.conf. I tried having both, but it only worked correctly in VBox when its device was the only one in the file.
This seems to me like it would be the cleanest solution, if anyone knows how to get it to work...

Runner up would be somehow modifying xorg.conf based on how I boot. I can almost think of some clever ways to hack it...
Perryg wrote:I was afraid of that from the beginning. Especially after you said that you had to do special things to get it to work native. I know of no way to fix this given your situation of Ubuntu native on your PC. I still think the best thing for you to do is run Ubuntu as a VM.
Noted. :)
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Ubuntu 10.04 guest, Max res 800x600 - GA prob?

Post by Sasquatch »

flamacue wrote:Why don't the closed source drivers work for this?
Because it's not a native module to xorg. I don't know the exact works, but it seems that either the native names are hardcoded in the check, or the native modules are signed in some way. Either way, closed source drivers must be specified. VB had this issue too until they changed the behaviour of the module a while back (don't know which version it was, or if xorg fixed it for/with them).
The error of not getting X when booting native can always be found in /var/log/xorg.0.log.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
flamacue
Posts: 17
Joined: 11. Jul 2009, 16:57
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: various Linux distros

Re: Ubuntu 10.04 guest, Max res 800x600 - GA prob?

Post by flamacue »

Thanks to all for your help on this. Unfortunately I haven't gotten things working nicely yet. I think I am going to give up on the multi-environment booting for now. :(

I'm giving up because
(1) the crash-on-vm-shutdown issue takes priority (I may post another thread),
(2) Windows (host OS) is often running a chkdsk on bootup, and I suspect that has something to do with how VBox accesses the rawdisk, and
(3) the xorg.conf / hw issue is not easily solved or worked-around.
Post Reply