3D acceleration results in jitter and screen artifacts

Discussions related to using VirtualBox on Windows hosts.
Post Reply
epchristi
Posts: 7
Joined: 22. Apr 2017, 05:32

3D acceleration results in jitter and screen artifacts

Post by epchristi »

3D Acceleration isn't working on my Windows 10 Host with Ubuntu 16.04 Guest.
I did install the virtual box guest additions using the ./VBoxLinuxAdditions.run
It also causes the "virtual box menu" not to show. If I turn off 3d acceleration, it does.
attached is a screen shot to show the artifacts (scaled to meet attachment size criteria)
[NEW] attached are the VBox and VBoxHardening logs

Information about my system:

Code: Select all

Host OS: Windows 10
  Windows 10 Memory: 32GB
  Windows 10 OS: 64-bit
  Graphics Card: GeForce GTX 970
    Bios Version: 84.4.84.0.29
    Graphics Memory: 36823MB
    Dedicated Video Memory: 4096MB
Guest OS: Linux Ubuntu 16.04
  Kernel: 4.4.0-72-generic
  OS: x86_64 bit

Code: Select all

Virtual Box version: 5.1.20
  Virtual Box Memory: 16GB
  Virtual Box monitors: 2
  Virtual Box Video RAM: 256MB
  Guest CPUs: 2

Code: Select all

[~]$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Chromium

Code: Select all

[~]$ glxinfo | grep Open
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:

Code: Select all

[~]$ lsmod | grep v
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
nf_conntrack_ipv4      16384  3
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
nf_nat                 24576  2 nf_nat_ipv4,nf_nat_masquerade_ipv4
nf_conntrack          106496  5 nf_nat,nf_nat_ipv4,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4
vboxpci                24576  0
vboxnetadp             28672  0
vboxnetflt             28672  0
vboxdrv               454656  3 vboxnetadp,vboxnetflt,vboxpci
vboxsf                 45056  4
snd_seq_midi_event     16384  1 snd_seq_midi
snd_seq                69632  2 snd_seq_midi_event,snd_seq_midi
vboxvideo              53248  2
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
ttm                    94208  1 vboxvideo
drm_kms_helper        155648  1 vboxvideo
drm                   364544  5 ttm,drm_kms_helper,vboxvideo
snd                    81920  11 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_device
syscopyarea            16384  2 drm_kms_helper,vboxvideo
sysfillrect            16384  2 drm_kms_helper,vboxvideo
sysimgblt              16384  2 drm_kms_helper,vboxvideo
vboxguest             282624  7 vboxsf,vboxvideo
ppdev                  20480  0
parport                49152  3 lp,ppdev,parport_pc
video                  40960  0
Attachments
VBox.zip.zip
(62.75 KiB) Downloaded 8 times
ubuntu3dscaled.jpg
ubuntu3dscaled.jpg (42.98 KiB) Viewed 5489 times
Last edited by epchristi on 22. Apr 2017, 17:19, edited 2 times in total.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: 3D acceleration results in jitter and screen artifacts

Post by socratis »

Moving to "Linux Guests" from "Windows Hosts".
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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: 3D acceleration results in jitter and screen artifacts

Post by Perryg »

Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: 3D acceleration results in jitter and screen artifacts

Post by mpack »

IMHO this kind of thing usually means that the bit depth in the guest is different from the host, so hardware acceleration fails. Long story short: both guest and host should be configured for 32bit colour.
epchristi
Posts: 7
Joined: 22. Apr 2017, 05:32

Re: 3D acceleration results in jitter and screen artifacts

Post by epchristi »

Perryg wrote:Post the guests log file ( as an attachment ). Right click on the guest in the Main Manager then click show log. Save and post as an attachment. Compress if it is too large to post.
I attached the VBox and VBoxHardening logs. Are those the ones you were interested in?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: 3D acceleration results in jitter and screen artifacts

Post by Perryg »

Yes they are exactly what I wanted to see.

I don't really see any indication that the Linux guest is where the problem is, although possible I suppose. What I do see is VirtualBox is having issues with the host opengl. Logs show that the guest graphics is in fact at 32bit and I can only assume the host is as well as I don't really do Windows. If I were to focus my attention it would be the host and for that I will leave it to one of the Windows folks here to advise you but a check for an updated GPU driver would not be out of the question IMHO.
epchristi
Posts: 7
Joined: 22. Apr 2017, 05:32

Re: 3D acceleration results in jitter and screen artifacts

Post by epchristi »

I originally filed this under "Windows Hosts," should it move back to get the right audience?
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: 3D acceleration results in jitter and screen artifacts

Post by mpack »

Moved to Windows Hosts.

There definitely seems to be something weird going on with NVidia's OpenGL libraries. I'm not seeing any errors as such, but the DLL is being reloaded without errors about a zillion times. Perhaps antivirus is interfering with it.

On that subject: I see you have installed Symantec AV. I'm sure Symantec are pleased to get your business, but can you explain why Win10's built in AV (Defender) was not enough?
epchristi
Posts: 7
Joined: 22. Apr 2017, 05:32

Re: 3D acceleration results in jitter and screen artifacts

Post by epchristi »

mpack wrote:Moved to Windows Hosts.
On that subject: I see you have installed Symantec AV. I'm sure Symantec are pleased to get your business, but can you explain why Win10's built in AV (Defender) was not enough?
I didn't purchase Symantec AV, and I am looking in "Programs and Features" of the Control Panel and I don't see it. (Or I would remove it) I also just browsed the apps in the start menu and no Symantec either. When I click on the "notifications" it says "Windows Defender Summary" -> No threats found.
epchristi
Posts: 7
Joined: 22. Apr 2017, 05:32

Re: 3D acceleration results in jitter and screen artifacts

Post by epchristi »

For the "Windows 10 Host," I updated the NVIDIA drivers to 2/23/17, driver version 21.21.13.7878. This did not affect the artifacts and "jittering" experienced in the ubuntu guest. (Didn't make it worse either, remains the same)
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: 3D acceleration results in jitter and screen artifacts

Post by mpack »

I can't comment on what you purchased, but Symantec code is clearly present.
VBoxHardening.log wrote: 1858.2950: supR3HardenedWinFindAdversaries: 0x2
1858.2950: \SystemRoot\System32\drivers\symevent64x86.sys:
1858.2950: CreationTime: 2016-05-08T21:59:37.766295900Z
1858.2950: LastWriteTime: 2016-05-08T21:59:37.715661500Z
1858.2950: ChangeTime: 2016-10-02T00:50:11.012609200Z
1858.2950: FileAttributes: 0x20
1858.2950: Size: 0x1b2f0
1858.2950: NT Headers: 0xf0
1858.2950: Timestamp: 0x54bd88ac
1858.2950: Machine: 0x8664 - amd64
1858.2950: Timestamp: 0x54bd88ac
1858.2950: Image Version: 6.1
1858.2950: SizeOfImage: 0x25000 (151552)
1858.2950: Resource Dir: 0x23000 LB 0x3c8
1858.2950: [Version info resource found at 0x90! (ID/Name: 0x1; SubID/SubName: 0x409)]
1858.2950: [Raw version resource data: 0x230b8 LB 0x310, codepage 0x4e4 (reserved 0x0)]
1858.2950: ProductName: SYMEVENT
1858.2950: ProductVersion: 14.0.1.21
1858.2950: FileVersion: 14.0.1.21
1858.2950: FileDescription: Symantec Event Library
epchristi
Posts: 7
Joined: 22. Apr 2017, 05:32

Re: 3D acceleration results in jitter and screen artifacts

Post by epchristi »

Is it possible left-over remnants after removing it? (I would like it gone if it's still there. I don't see the app showing in control panel apps and features or the windows 10 applications.) Is there more that I can do to try removing it?
Last edited by socratis on 23. Apr 2017, 22:37, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: 3D acceleration results in jitter and screen artifacts

Post by mpack »

Thats a little beyond the remit of the VirtualBox forums, but if it was me I'd do an image backup of my host and then try deleting that "sysevent64x86.sys" file. Plus I'd search the registry for any mention of it and delete those registry keys as well - then reboot.

We are not your Windows IT support team, so you do all of this at your own risk.

And I would like to point out that at the AV interference idea in any case is a guess upon a supposition.
epchristi
Posts: 7
Joined: 22. Apr 2017, 05:32

Re: 3D acceleration results in jitter and screen artifacts

Post by epchristi »

I have done a little digging, with no solution, but /var/log/syslog on the guest may have a clue to someone wiser than me.

I thought these log entries looked interesting:
May 3 07:24:08 epchristi-VirtualBox gpu-manager[725]: update-alternatives: error: no alternatives for x86_64-linux-gnu_gfxcore_conf
May 3 07:24:08 epchristi-VirtualBox gpu-manager[725]: /etc/modprobe.d is not a file
May 3 07:24:08 epchristi-VirtualBox gpu-manager[725]: /etc/modprobe.d is not a file
May 3 07:24:08 epchristi-VirtualBox gpu-manager[725]: /etc/modprobe.d is not a file
May 3 07:24:08 epchristi-VirtualBox gpu-manager[725]: message repeated 2 times: [ /etc/modprobe.d is not a file]
May 3 07:24:08 epchristi-VirtualBox kernel: [ 4.754906] vboxguest: module verification failed: signature and/or required key missing - tainting kernel

Then from dmesg:
[ 4.992924] vboxguest: module verification failed: signature and/or required key missing - tainting kernel
[ 5.120481] [TTM] Zone kernel: Available graphics memory: 8216384 kiB

It would be nice to have the acceleration. I have it working on my windows 10 laptop host and ubuntu 16.04 guest and it makes a big difference. Any help would be appreciated.
Post Reply