[Workaround] Ubuntu Guest - Messed up display/graphics

Discussions about using Linux guests in VirtualBox.

[Workaround] Ubuntu Guest - Messed up display/graphics

Postby CraigT » 23. Apr 2016, 22:29

Hi
I am sure I have had this issue before and read how to fix it, but I am struggling to find the search term to find the solution. So I am hoping someone here can help me. :D

I have a few Ubuntu guests already and a Debian one too (created under a previous VB version), but I thought I would create a new guest for the new Ubuntu 16.04 LTS (Desktop 64 bit version) 8) . I load the ISO, start the VM and it seems to start fine... I get the keyboard = man screen, then the 16.04 writing with the coloured dots screen (with a "piix4_smbus" message), the screen then goes black, then the aspect goes widescreen (log shows 1152x400), then I get what reminds me of a Sinclair Spectrum loading screen (see attached image) :mrgreen: . This last image I assume is the "try or install" screen, if I move the mouse across the guest I can see a magnified and distorted cursor moving across it. Needless to say I don't really get beyond this. Anyone got any idea what is wrong? :?:

I am running Windows 10 Pro (64bit, Version 1511 fully updated). The Ubuntu ISO matched the verification hashs. I am running VirtualBox 5.0.18 :!:
Attachments
Webuntu-2016-04-23-21-13-20.log
Log
(111.69 KiB) Downloaded 108 times
VirtualBox_Webuntu_23_04_2016_20_20_35.png
Screenshot
VirtualBox_Webuntu_23_04_2016_20_20_35.png (4.32 KiB) Viewed 24855 times
Last edited by CraigT on 24. Apr 2016, 23:43, edited 2 times in total.
CraigT
 
Posts: 5
Joined: 23. Apr 2016, 21:58

Re: Ubuntu Guest - Messed up display/graphics

Postby Perryg » 23. Apr 2016, 22:53

Disable 3D acceleration until you get the guest installed and have also installed the guest additions ( in the guest ). Then do a full power down of the guest, enable 3D acceleration and see it that helps.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu Guest - Messed up display/graphics

Postby CraigT » 24. Apr 2016, 00:54

That seems to work - I have just started the install (without 3D acceleration). I will try turning it back on after a reboot later.
I assumed that because most of my other VMs have 3D acceleration turned on that it should work and install that way. :roll: :oops:

Many Thanks. :D

Craig
CraigT
 
Posts: 5
Joined: 23. Apr 2016, 21:58

Re: Ubuntu Guest - Messed up display/graphics

Postby CraigT » 24. Apr 2016, 15:22

Nope. It was working, but something messed up the install - black screen on reboot. So I tried booting from the ISO again to re-install (with 3D acceleration set to off) and I am getting the same messed up graphics at the same point regardless of the setting of the 3D acceleration.

Any other ideas?
CraigT
 
Posts: 5
Joined: 23. Apr 2016, 21:58

Re: Ubuntu Guest - Messed up display/graphics

Postby Perryg » 24. Apr 2016, 15:59

Were you able to install the guest additions like I said to do when you first installed and before you enabled 3D?
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu Guest - Messed up display/graphics

Postby CraigT » 24. Apr 2016, 19:09

I didn't get that far! The install went well, I was going to install the guest additions after a reboot, but on restarting the screen just stayed blank (cannot remember if that was after the Ubuntu splash screen or straight after the BIOS page), eventually decided to power off the VM, restarted again and still black, so tried a re-install and was back to the old problem still with 3D acceleration off.
CraigT
 
Posts: 5
Joined: 23. Apr 2016, 21:58

Re: Ubuntu Guest - Messed up display/graphics

Postby Perryg » 24. Apr 2016, 19:42

Alright then install the guest addition from a tty window.

Use host+F1 to get to a tty and then mount the cd and run the installation. After that then do a sudo reboot.
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu Guest - Messed up display/graphics

Postby CraigT » 24. Apr 2016, 23:41

Whilst I was away (from the forum) I did a bit more research and stumbled upon an old bug reported first to VirtualBox and then to Ubuntu (Launchpad):
https://www.virtualbox.org/ticket/13615
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/1443853
From these I got a temporary workaround of using Host + F1 keys to switch to a text based terminal and then Host + F7 keys to get back to the graphical terminal which had then fixed itself (back to a working 800x600 resolution).
Note. Host key for me was Right Ctrl.
Note 2. The issue only seems to affect the "Try Ubuntu" screen.

I will report back when the install has completed, just to confirm there were no further issues.

Thanks for your persistence and help PerryG :D

Craig
CraigT
 
Posts: 5
Joined: 23. Apr 2016, 21:58

Re: [Workaround] Ubuntu Guest - Messed up display/graphics

Postby Rui Baptista » 29. Apr 2016, 03:03

I had the same problem 3 or 4 times in a row, here are some notes about:

Situation: messed display when starting install of Ubuntu 16.04 64bits on Windows 10 64bits.


The install seems to go better without 3D, in my last tests I had no issues without it but I am sure that 3D was off the first time.

The Host+F1 / Host+F7 is a workaround, but don't expect any change when you hit F1, just hit F7 to continue. Or just F7/F1.

I had no issues after that initial welcome screen. Guest additions, boot and reboot are fine.


Things always go better after reading the forum, now sometimes it works even with 3D on :), thank you all
Rui Baptista
 
Posts: 37
Joined: 23. Dec 2010, 05:03
Primary OS: Other
VBox Version: PUEL
Guest OSses: Windows, Linux, BSD

Re: [Workaround] Ubuntu Guest - Messed up display/graphics

Postby DDSwattz » 24. Aug 2016, 20:04

I've had the same problem here recently running Ubuntu 16.04. Here was my solution:

Have 3D acceleration enabled

Login tty like previously mentioned (Host + F1) and run:
Code: Select all   Expand viewCollapse view
sudo apt-get install virtualbox-guest-dkms

When asked to keep the previously installed version say no and proceed with the installation.

Then run:
Code: Select all   Expand viewCollapse view
sudo reboot


All should be good, or at least it was for me, hope this helps.
DDSwattz
 
Posts: 1
Joined: 24. Aug 2016, 19:57

Re: [Workaround] Ubuntu Guest - Messed up display/graphics

Postby trauma04 » 24. Aug 2016, 21:26

DDSwattz wrote:I've had the same problem here recently running Ubuntu 16.04. Here was my solution:

Have 3D acceleration enabled

Login tty like previously mentioned (Host + F1) and run:
Code: Select all   Expand viewCollapse view
sudo apt-get install virtualbox-guest-dkms

When asked to keep the previously installed version say no and proceed with the installation.

Then run:
Code: Select all   Expand viewCollapse view
sudo reboot


All should be good, or at least it was for me, hope this helps.


This was exactly the right fix. Much appreciated!
trauma04
 
Posts: 1
Joined: 24. Aug 2016, 21:24

Re: [Workaround] Ubuntu Guest - Messed up display/graphics

Postby raynebc » 24. Aug 2016, 22:10

It's possible that ends up installing a much older version of guest additions that doesn't have Ubuntu graphics issues. What does it show if you run this command?
Code: Select all   Expand viewCollapse view
sudo VBoxService --version
raynebc
 
Posts: 26
Joined: 20. Apr 2016, 01:49

Re: [Workaround] Ubuntu Guest - Messed up display/graphics

Postby Idle » 26. Sep 2016, 18:24

This helped me too. I don't know if it's still relevant but I checked the version and it says:

5.0.24_Ubuntur108355


HTH
Idle
 
Posts: 1
Joined: 26. Sep 2016, 18:23

Re: [Workaround] Ubuntu Guest - Messed up display/graphics

Postby socratis » 26. Sep 2016, 19:11

@Idle
Those are not the official VirtualBox Guest Additions, they are the ones that come from the Ubuntu repository, i.e. they're a "fork". If you want help in these user forums, you'll have to install the official VirtualBox and the official Guest Additions (which come with the official VirtualBox BTW).
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
 
Posts: 27690
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 10 guests