Graphics problem with Linux Mint as host and guest

Discussions about using Linux guests in VirtualBox.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Graphics problem with Linux Mint as host and guest

Post by Perryg »

And what did ps awx | grep V show?
mchelik
Posts: 14
Joined: 25. Apr 2017, 11:06

Re: Graphics problem with Linux Mint as host and guest

Post by mchelik »

Code: Select all

vm@test-pc ~ $ ps awx | grep V
  423 ?        S<     0:00 [iprt-VBoxWQueue]
 1547 ?        S      0:00 /usr/bin/VBoxClient --clipboard
 1548 ?        Sl     0:00 /usr/bin/VBoxClient --clipboard
 1558 ?        S      0:00 /usr/bin/VBoxClient --display
 1559 ?        S      0:00 /usr/bin/VBoxClient --display
 1569 ?        S      0:00 /usr/bin/VBoxClient --seamless
 1570 ?        Sl     0:00 /usr/bin/VBoxClient --seamless
 1584 ?        S      0:00 /usr/bin/VBoxClient --draganddrop
 1585 ?        Sl     0:01 /usr/bin/VBoxClient --draganddrop
 1598 ?        Sl     0:00 /usr/sbin/VBoxService --pidfile /var/run/vboxadd-service.sh
 2772 pts/0    S+     0:00 grep --color=auto V
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Graphics problem with Linux Mint as host and guest

Post by Perryg »

OK so the guest additions are installed. Lets go to the next step. Run the following in the guests terminal and post the results here:

Code: Select all

glxinfo | grep OpenGL
Also post a new guest log file ( as an attachment )
mchelik
Posts: 14
Joined: 25. Apr 2017, 11:06

Re: Graphics problem with Linux Mint as host and guest

Post by mchelik »

Thank you very much.

Code: Select all

OpenGL vendor string: Humper
OpenGL renderer string: Chromium
OpenGL version string: 2.1 Chromium 1.9
OpenGL shading language version string: 4.50 NVIDIA
OpenGL extensions:
Attachments
Logs.zip
(22.62 KiB) Downloaded 15 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Graphics problem with Linux Mint as host and guest

Post by Perryg »

OK so now the guest looks like it should and seems to be happy. There is an indication that you may have an issue with the host drivers ( CRServer: context sharing not implemented ) and
( 00:00:26.772784 OpenGL Warning: CRserver: NULL context in MakeCurrent 0 ) so let's focus on that for a bit. Shut down the guest and the VBox main manager as it will not be needed. Then show me the device manager of the host so I can see what the GPU drivers list has to say.
mchelik
Posts: 14
Joined: 25. Apr 2017, 11:06

Re: Graphics problem with Linux Mint as host and guest

Post by mchelik »

Ok, thank you. I'm using official driver.
Attachments
Screenshot from 2017-04-26 16-36-54.png
Screenshot from 2017-04-26 16-36-54.png (54.02 KiB) Viewed 3509 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Graphics problem with Linux Mint as host and guest

Post by Perryg »

This too looks right. So now to the problem. What exactly does not work on the guest? Please be specific and if you need to post screen shot of the issue.
mchelik
Posts: 14
Joined: 25. Apr 2017, 11:06

Re: Graphics problem with Linux Mint as host and guest

Post by mchelik »

When I disable 3D Acceleration on VM, I get software rendering and every graphical action takes too long. When I enable 3D Acceleration some windows and menus appear black.
Attachments
VirtualBox_Mint 64_26_04_2017_16_43_39.png
VirtualBox_Mint 64_26_04_2017_16_43_39.png (39.92 KiB) Viewed 3508 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Graphics problem with Linux Mint as host and guest

Post by Perryg »

What is the exact version of Mint you are using for the guest? I will try to see what qt creator looks like from here.
mchelik
Posts: 14
Joined: 25. Apr 2017, 11:06

Re: Graphics problem with Linux Mint as host and guest

Post by mchelik »

It is Linux Mint 18.1 Serena for both host and guest. Both are updated.
Qt Creator is also latest version.
Thank you
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Graphics problem with Linux Mint as host and guest

Post by Perryg »

OK give me a bit to make the adjustments ( stop what I am doing ) and I will check to see if there is an issue that you and I can resolve. If not then it should be posted at bugtracker. Shouldn't take more than an hour.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Graphics problem with Linux Mint as host and guest

Post by Perryg »

Alright I have confirmed that qt creator does in fact have issues with 3D acceleration in VBox. Some users have found they could set LIBGL_ALWAYS_SOFTWARE=1 before launching QtCreator allows them to work, but this needs to be addressed with the DEVs. If they can or can not fix it they would be the ones that could tell. Sadly they are really busy and this may not be what you wanted to hear but that's the best I have.
mchelik
Posts: 14
Joined: 25. Apr 2017, 11:06

Re: Graphics problem with Linux Mint as host and guest

Post by mchelik »

I tried

Code: Select all

./qtcreator -noload Welcome
and it worked for me.
Thank you very much. I appreciate it.
Post Reply