Page 1 of 1

Weird GUI glitches under Wayland

Posted: 20. Aug 2020, 20:07
by Vasilek
I am running VirtualBox from root because my guest is accessing physical drive.

Under Xorg I have no problems with "sudo virtualbox", but under Wayland I have weird GUI glitches, buttons aren't fully drawn window is only partially updated.

If I start VirtualBox from the user I see no such glitches also. So.. only a combination of wayland and sudo led to this issue.

Has anyone encountered this?

Re: Weird GUI glitches under Wayland

Posted: 20. Aug 2020, 20:10
by scottgus1
Vasilek wrote:under Wayland...If I start VirtualBox from the user I see no such glitches also. So.. only a combination of wayland and sudo led to this issue.
Though I m no Linux guru by any means, it seems to me that, since Virtualbox displays correctly under Wayland user, then there are some configuration settings that root's Wayland settings don't have, but user's Wayland settings does. Is there a configuration file that can be compared?

Re: Weird GUI glitches under Wayland

Posted: 20. Aug 2020, 20:13
by Vasilek
But I see no such problems sudo'ing other programs under wayland even an opengl benchmarks

Re: Weird GUI glitches under Wayland

Posted: 21. Aug 2020, 18:32
by Vasilek
Please anyone with a recent linux distributive try to reproduce the issue, run "sudo virtualbox" under wayland session. May be it is a problem with my local configs only, I need to know.

Re: Weird GUI glitches under Wayland

Posted: 21. Aug 2020, 18:43
by scottgus1
Though I can offer no further help, I would like to suggest that you might be waiting a while for another user who faces this and has fixed it to post. The forum is run by users, not developers.

That Virtualbox works in Wayland under userspace but not in sudo, means this is quite likely a Wayland configuration problem, not a Virtualbox problem. Virtualbox is designed to run without sudo elevation and running Virtualbox under sudo isn't recommended unless absolutely necessary.

I vaguely remember folks having to add lines to text files to fix graphics glitches in Qt. There may be similar text files to compare between Wayland's sudo space and user space. I would recommend researching Wayland configuration files, see if something comes up.

Bumping the thread once a week for a few weeks would be OK, but not more often, please.

Re: Weird GUI glitches under Wayland

Posted: 21. Aug 2020, 19:23
by Vasilek
I just need to know if this is only my problem. If anyone confirms that he is running "sudo virtualbox" under wayland without an issue then I will google more about Qt glitches. if anyone can reproduce the bug then I will report it. I understand that this is not a recommended way to run virtualbox, and I know that the forum is run by users. This is why I wrote in the forum to ask if anyone else see similar glitches or not. I am not asking for a help to resolve the issue I just need to know is it a common issue or not. But ok.