VirtualBox

Opened 8 years ago

Last modified 7 years ago

#16735 new defect

Issue with Linux guest 3D acceleration when logging in -> not likely to be fixed in near future

Reported by: jmwestfahl Owned by:
Component: 3D support Version: VirtualBox 5.1.22
Keywords: Cc:
Guest type: Linux Host type: all

Description

VirtualBox (5.1.22 and many earlier versions) on some Linux guests (Linux Mint Cinnamon 18.1 and several earlier versions) has a 3D acceleration issue that affects the desktop background when first logging in to the guest. This problem appears to be independent of host OS and host graphics hardware. I have reproduced the behavior on a Windows 10 host with NVIDIA graphics, and on a Linux host with Intel graphics.

The problem is that the desktop background is too bright. I've attached screenshots of the normal case and the too bright case for comparison.

The problem may be related to an animation/effect. When first logging in with Linux Mint Cinnamon, there is an effect where the desktop is zoomed to from the center of the screen. It's hard to capture this as the effect happens pretty quickly, but it appears that the desktop background is correct until the very end of the effect, when it suddenly brightens.

If I disable 3D acceleration in the guest settings, the desktop background does not have this problem.

If I change the desktop background after logging in, it does not have this problem.

To reproduce the problem:

  1. Install Linux Mint 18.1 Cinnamon 64-bit
  2. Install VirtualBox Guest Additions
  3. Log in

It may be easier to see the problem with a non-default desktop background. Right click on the desktop and select Change Desktop Background. The categories Sarah and Serena have lots of pretty pictures that should show the image brightness problem. Log out and log back in to see the problem with the newly selected desktop background.

Attachments (5)

Linux Mint 18.1-2017-05-05-15-36-40_3Denabled.log (172.4 KB ) - added by jmwestfahl 8 years ago.
VM log - 3D acceleration enabled
Linux Mint 18.1-2017-05-05-15-37-58_3Ddisabled.log (146.3 KB ) - added by jmwestfahl 8 years ago.
VM log - 3D acceleration disabled
ssbad_cropped.png (312.6 KB ) - added by jmwestfahl 8 years ago.
Desktop background - too bright
ssgood_cropped.jpg (264.1 KB ) - added by jmwestfahl 8 years ago.
Desktop background - normal
VirtualBox_Mint.18.3_07_12_2017_08_14_39.png (27.1 KB ) - added by JLukeScott 7 years ago.
Checkerboard pattern which happens after sleep/resume cycle on my laptop

Download all attachments as: .zip

Change History (13)

by jmwestfahl, 8 years ago

VM log - 3D acceleration enabled

by jmwestfahl, 8 years ago

VM log - 3D acceleration disabled

by jmwestfahl, 8 years ago

Attachment: ssbad_cropped.png added

Desktop background - too bright

by jmwestfahl, 8 years ago

Attachment: ssgood_cropped.jpg added

Desktop background - normal

comment:1 by JLukeScott, 7 years ago

I'm also getting this problem and it is extremely annoying. I've had it with all 5.1.x versions (I can't remember if it was in 5.0.x as well), and I've seen it on Linux Mint 18.1, 18.2, 18.3. I haven't tried any of the 17.x series, or other guest OS's.

comment:2 by JLukeScott, 7 years ago

In case it matters, I just tried upgrading to VirtualBox 5.2.2 and the guest additions completely break my guest OS display. I can use Ctrl+Alt+F1 to log in to a console and uninstall the guest additions, which then allows me to downgrade VirtualBox to 5.1.x but that's it - I haven't seen any way of getting 5.2.2 with Guest Additions to work.

comment:3 by JLukeScott, 7 years ago

Also, I don't know if this is related but sometimes instead of being too bright, my desktop background has these horrible checkerboard patterns - see attachment.

by JLukeScott, 7 years ago

Checkerboard pattern which happens after sleep/resume cycle on my laptop

comment:4 by Mr. Matt Eastwood, 7 years ago

This bug affects me as well, however, it's not just cosmetic. It also affects performance.

Host: Ubuntu GNOME 17.04 64-bit / Guest: Linux Mint 18.3 "Sylvia" / VirtualBox: 5.2.4 r119785 (Qt5.7.1) / Guest Additions: same as VirtualBox

In addition to the bright background image, the whole UI is very sluggish.

This bug did not occur right away. I set up this VM from scratch yesterday and installed the Guest Additions right away. It was fine at first, but the issue started occurring today. In the meantime, I only played around with desktop themes. Did not install any additional software.

My current workaround: live without 3D acceleration until this bug is fixed.

Last edited 7 years ago by Mr. Matt Eastwood (previous) (diff)

comment:5 by Michael Thayer, 7 years ago

Summary: Issue with Linux guest 3D acceleration when logging inIssue with Linux guest 3D acceleration when logging in -> not likely to be fixed in near future

I'm afraid that due to lack of developer time problems with Linux guest 3D are unlikely to be fixed in the foreseeable future. Your best chance for a fix is a user contribution, and your best way of getting that is to find someone with the skills and the motivation to investigate the problem. The Linux Mint team might be a good place to start.

comment:6 by ronator, 7 years ago

Dear Orcale,

as usual, I really do not understand the lack of support when it is just about a simple internet research and questioning in IRC. I was able to confirm that is a cinnamon issue that has been discussed in January 2017. All users bugged by this should be able to fix this issue with:

gsettings set org.cinnamon.muffin background-transition fade-in

Worked for me - let me know if it resolves your problem, too.

Source: https://github.com/linuxmint/Cinnamon/issues/6161

Best wishes Ron

Free beer for all!

Give props to Odyseus from #linuxmint-help on IRC:SpotChat

Version 1, edited 7 years ago by ronator (previous) (next) (diff)

comment:7 by Michael Thayer, 7 years ago

Thank you Ron. I hope that helps users affected by this. In fact you probably understand that there is only a limited amount of time a small development team can spend researching issues with how other software which we do not use ourselves (Cinnamon) interacts with ours, so we rely instead on interested users like you to solve this sort of issue.

comment:8 by ronator, 7 years ago

Dear Michael,

you are welcome. And yes, of course I do see your point. I guess, I just got off the wrong foot this morning, so I meant no offense.

No hard feelings and have a nice day, y'all.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette