Hello together,
I've got a Windows host with an Intel HD 5500 graphics card that runs an Ubuntu guest in VirtualBox.
I'm using the guest to develop C++ applications, the IDE I'm using is Code::Blocks.
My problem is, I constantly experience difficulties in using Code::Blocks because some windows do not render completely or some parts of the interface stop working.
An example is the tabs area, when I switch between source files it should show me all open source files and the current one, sometimes it just stops refreshing, so when I click it switches the editor view but the active tab shown is still the old one.
When I then open a new source file, the new file is not shown in the tabs.
Is there a solution to this problem or do I have to accept these type of problems when working in a VM?
(It's the first time that I actually work inside a VM, so I have no experience with these)
Thank you very much for your help!
Greetings,
Daniel
[SOLVED] 2D Graphics issues on Ubuntu
[SOLVED] 2D Graphics issues on Ubuntu
Last edited by hopda on 1. Jan 2016, 18:20, edited 1 time in total.
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: 2D Graphics issues on Ubuntu
With the guest shutdown, if you have 3D enabled, disable it. See if that helps. If it doesn't post the log file of the machine. See Minimum information needed for assistance.
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.
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.
Re: 2D Graphics issues on Ubuntu
Hello socratis,
thank you very much for your answer.
I disabled 3D acceleration but sadly this did not remove the problem.
Here is the minimum information needed for assistance:
I run VirtualBox 5.0.10r104061, I have the guest additions installed on my Ubuntu guest.
My host is Windows 10, the guest is Ubuntu 15.10 (the problem is present in Ubuntu LTS 14.04.03 as well).
My host has 8GB of RAM available (64bit), the guest has 4GB of RAM available (64bit).
You can find the logs as attachments below this post.
Thank you very much!
Greetings,
Daniel
thank you very much for your answer.
I disabled 3D acceleration but sadly this did not remove the problem.
Here is the minimum information needed for assistance:
I run VirtualBox 5.0.10r104061, I have the guest additions installed on my Ubuntu guest.
My host is Windows 10, the guest is Ubuntu 15.10 (the problem is present in Ubuntu LTS 14.04.03 as well).
My host has 8GB of RAM available (64bit), the guest has 4GB of RAM available (64bit).
You can find the logs as attachments below this post.
Thank you very much!
Greetings,
Daniel
- Attachments
-
VBox.1.log- Couldn't upload VBox.2.log and VBox.3.log, if requested please tell me!
- (109.65 KiB) Downloaded 10 times
-
- VBoxHardening.zip
- Compressed because non-compressed file is too big to upload.
- (20.99 KiB) Downloaded 7 times
-
VBox.log- (100.66 KiB) Downloaded 8 times
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: 2D Graphics issues on Ubuntu
Several things from your logs:
But more importantly, you have not installed the Guest Additions in your guest. See Chapter 4.2.2 for more details. And then try different settings with the 3D acceleration.
The ExtPack has to match the installed VirtualBox version. Upgrade your VirtualBox version to 5.0.12.VirtualBox VM 5.0.10 r104061 win.amd64 (Nov 10 2015 16:56:18) release log 00:00:02.251104 Oracle VM VirtualBox Extension Pack (Version: 5.0.12 r104815; VRDE Module: VBoxVRDP)
You have two physical cores, you assigned both of them to your guest. Lower the virtual CPUs of your guest to 1.00:00:02.707882 NumCPUs <integer> = 0x0000000000000002 (2) 00:00:03.148299 CPUM: Physical host cores: 2
But more importantly, you have not installed the Guest Additions in your guest. See Chapter 4.2.2 for more details. And then try different settings with the 3D acceleration.
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.
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.
Re: 2D Graphics issues on Ubuntu
Thank you very much for your answer socratis!
It seems that the problem is now solved.
I downloaded the most recent version of VirtualBox, created a new VM with the latest Ubuntu LTS version, installed the guest additions through the "Devices" menu and turned 3D acceleration on, I reduced the CPU to 1 and now everything seems to work fine.
There are some issues when switching to a tab does not refresh the screen or it just shows a part of the new tab and a part of the old tab but thats resolved by scrolling or switching again. The problem that it just ceases to work is gone.
Thank you very much again and I hope others that have this problem find their answer in this thread.
Greetings,
Daniel
It seems that the problem is now solved.
I downloaded the most recent version of VirtualBox, created a new VM with the latest Ubuntu LTS version, installed the guest additions through the "Devices" menu and turned 3D acceleration on, I reduced the CPU to 1 and now everything seems to work fine.
There are some issues when switching to a tab does not refresh the screen or it just shows a part of the new tab and a part of the old tab but thats resolved by scrolling or switching again. The problem that it just ceases to work is gone.
Thank you very much again and I hope others that have this problem find their answer in this thread.
Greetings,
Daniel
-
socratis
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: [SOLVED] 2D Graphics issues on Ubuntu
Glad you got it resolved.
Kudos for changing the title of your first post to reflect the resolution of your question!
Kudos for changing the title of your first post to reflect the resolution of your question!
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.
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.