Your message dated Fri, 02 Feb 2018 09:21:19 +0000
with message-id <e1ehxx5-0007ui...@fasolo.debian.org>
and subject line Bug#889030: fixed in virtualbox 5.2.6-dfsg-3
has caused the Debian Bug report #889030,
regarding virtualbox: Windows10 guest flickers with nVidia drivers, there's a 
patch
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
889030: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889030
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: virtualbox
Version: 5.2.6-dfsg-2
Severity: normal
Tags: patch

Dear Maintainer,

I am running Windows 10 guest and the screen flickers when something is 
(re)drawn,
basically it's unusable.

Relevant configuration to reproduce:
1) nVidia drivers on the host.
2) virtualbox guest additions with 3D acceleration enabled.
3) enabled 3D accelaration in the Windows 10 machine settings.

One workaround is to disable 3D acceleration, but here I found a better 
solution:

https://techblog.devlat.eu/2017/04/07/screen-flickering-in-virtualbox-with-3d-enabled/
in particular it says:

With nVidia drivers on the host, a race condition happens, causing buffers to 
be swapped (i.e. picture to be shown) before rendering is completed by the 
client, hence the flickering.
The only workaround is to change (comment out actually) a single line in 
VirtualBox source and recompile it. After recompilation is done, it is actually 
possible to just replace a single freshly compiled file, VBoxOGLrenderspu.so, 
which is located in /usr/lib/virtualbox/. No need to uninstall the “original” 
VirtualBox and install the self-compiled one.

The patch is just one line:
https://www.virtualbox.org/attachment/ticket/13653/vbox-NVIDIA-fix-v2.patch.txt
--- 
/home/alexey/vbox-orig/VirtualBox-5.0.0_BETA4/./src/VBox/HostServices/SharedOpenGL/render/renderspu_glx.c
   2015-05-18 18:02:05.000000000 +0300
+++ ./src/VBox/HostServices/SharedOpenGL/render/renderspu_glx.c 2015-05-22 
23:33:33.000000000 +0300
@@ -1922,11 +1922,10 @@
             XSync(window->visual->dpy, 0);
         }
     }
 }
 
-#define CR_RENDER_FORCE_PRESENT_MAIN_THREAD
 
 void renderspu_SystemVBoxPresentComposition( WindowInfo *window, const struct 
VBOXVR_SCR_COMPOSITOR_ENTRY *pChangedEntry )
 {
     /* the CR_RENDER_FORCE_PRESENT_MAIN_THREAD is actually inherited from 
cocoa backend impl,
      * here it forces rendering in WinCmd thread rather than a Main thread.


Perhaps this patch can be included in Debian.

Thanks!

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DK.utf8, LC_CTYPE=en_DK.utf8 (charmap=UTF-8), 
LANGUAGE=en_DK.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages virtualbox depends on:
ii  adduser                               3.116
ii  iproute2                              4.14.1-1
ii  libc6                                 2.26-4
ii  libcurl3-gnutls                       7.57.0-1
ii  libdevmapper1.02.1                    2:1.02.145-4.1
ii  libgcc1                               1:7.2.0-19
ii  libgsoap-2.8.49                       2.8.49-1
ii  libpng16-16                           1.6.34-1
ii  libpython3.6                          3.6.4-3
ii  libsdl1.2debian                       1.2.15+dfsg2-0.1
ii  libssl1.1                             1.1.0f-3
ii  libstdc++6                            7.2.0-19
ii  libvncserver1                         0.9.11+dfsg-1
ii  libx11-6                              2:1.6.4-3
ii  libxcursor1                           1:1.1.15-1
ii  libxext6                              2:1.3.3-1+b2
ii  libxml2                               2.9.4+dfsg1-6.1
ii  libxmu6                               2:1.1.2-2
ii  libxt6                                1:1.1.5-1
ii  procps                                2:3.3.12-3
ii  python3                               3.6.4-1
ii  python3.6                             3.6.4-3
ii  virtualbox-dkms [virtualbox-modules]  5.2.6-dfsg-2
ii  zlib1g                                1:1.2.8.dfsg-5

Versions of packages virtualbox recommends:
ii  libgl1          1.0.0-1.1
ii  libqt5core5a    5.9.2+dfsg-7
ii  libqt5opengl5   5.9.2+dfsg-7
ii  libqt5widgets5  5.9.2+dfsg-7
ii  virtualbox-qt   5.2.6-dfsg-2

Versions of packages virtualbox suggests:
ii  vde2                            2.3.2+r586-2.1
ii  virtualbox-guest-additions-iso  5.2.6-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: virtualbox
Source-Version: 5.2.6-dfsg-3

We believe that the bug you reported is fixed in the latest version of
virtualbox, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 889...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofb...@debian.org> (supplier of updated 
virtualbox package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 01 Feb 2018 13:37:11 +0100
Source: virtualbox
Binary: virtualbox-qt virtualbox virtualbox-dkms virtualbox-source 
virtualbox-guest-dkms virtualbox-guest-source virtualbox-guest-x11 
virtualbox-guest-utils
Architecture: source
Version: 5.2.6-dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Virtualbox Team 
<pkg-virtualbox-de...@lists.alioth.debian.org>
Changed-By: Gianfranco Costamagna <locutusofb...@debian.org>
Description:
 virtualbox - x86 virtualization solution - base binaries
 virtualbox-dkms - x86 virtualization solution - kernel module sources for dkms
 virtualbox-guest-dkms - x86 virtualization solution - guest addition module 
source for dk
 virtualbox-guest-source - x86 virtualization solution - guest addition module 
source
 virtualbox-guest-utils - x86 virtualization solution - non-X11 guest utilities
 virtualbox-guest-x11 - x86 virtualization solution - X11 guest utilities
 virtualbox-qt - x86 virtualization solution - Qt based user interface
 virtualbox-source - x86 virtualization solution - kernel module source
Closes: 889030
Changes:
 virtualbox (5.2.6-dfsg-3) unstable; urgency=medium
 .
   * Patch for 3D runtime flickering with NVIDIA cards
     (this needs a new environment variable) Closes: #889030
     CR_RENDER_FORCE_PRESENT_MAIN_THREAD=0 VirtualBox
     Thanks Marius Mikucionis <mmikucio...@gmail.com> for the report!
Checksums-Sha1:
 232788a9fbf5831d150bbb8b8a07fd227e5c9bb2 3593 virtualbox_5.2.6-dfsg-3.dsc
 0af346d8ab09e8152e9074f59373b8a319157345 84012 
virtualbox_5.2.6-dfsg-3.debian.tar.xz
 b73965f6dcf1fe65b25a91380ec5c9b281827766 21316 
virtualbox_5.2.6-dfsg-3_source.buildinfo
Checksums-Sha256:
 b43d880f2e0de101c06f8a37f832b6376e6bd20e54c51863717114861c6ce4c8 3593 
virtualbox_5.2.6-dfsg-3.dsc
 231406ad7b6da4a03cae405f4112947f28433f8429a1c379d6c644816bd711ca 84012 
virtualbox_5.2.6-dfsg-3.debian.tar.xz
 c232f0f4933239402492cb80fc5cd9753d6361f5669178b31e97895b6837f4d9 21316 
virtualbox_5.2.6-dfsg-3_source.buildinfo
Files:
 b23df0574bd5f53321c0bda130394493 3593 contrib/misc optional 
virtualbox_5.2.6-dfsg-3.dsc
 37d68cc43d3a47fb5c3814970c62a4de 84012 contrib/misc optional 
virtualbox_5.2.6-dfsg-3.debian.tar.xz
 b6c860f61958974759952d3422b81242 21316 contrib/misc optional 
virtualbox_5.2.6-dfsg-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJadCDdAAoJEPNPCXROn13ZPT4QALr2kZ995M8Efp1g24yx60LL
H3hSAg0HWIHlNtu2zQE193DP0lT8+DPeGYfRw94EVfbw1HeOPlM8VEkc82MTQ0Wl
g5dJV2CJNLLxZvw8DhD137GQYqnGBo7GyAwgahKRczkSPXtlOf+s+2woIIQsmZwl
Q54AwvOsip333Jo3qqmxWQ7M3coWQQRQjvhgZz0GSpX+qDrdadWaZE7m2G6yIj5y
IqCVldBHNHFnC9TG1Oag7wHSAk3YY1D9Cw5TqEz7Ynf4gASNLSy9DK4v+VU6vRGK
kCDQL5L4c/SRBmJAYHo9ow4ws44Vy8LTzznZ2i5wiOstwyuxwb8DlTceYCZ4yrXL
8YKLXK3/KIpVRicqLSJ5BP9JrIqNxscVuotfpkMpdKo8gbC7Do8/D7SOymwBO3T7
DFuKrvTZkj0fKvRvlR2xx420zG7xsE7NYXpMEnZeuIZEgmhFzOTdLvKt3qejy07g
L6hdK1TTpW7293+dLQSIYLdUAP08DSu3KRXCiZrVKhP7xADu7I+hWj8MyKbD/eHz
DwvxWnbRbAi/ci1vhECFTLT9XMz+mlcOy+yQhd4nRVaiPUIzoaRgc3/AecMj3Yw8
XzQ3O9NkIy+2upyZB3e5M3uCGnbA6BIMj5JdIQlq45GVIHzxsaOzmtgeNe5JIQ9s
0igkJxZLySdpeHGLVEai
=W3kj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to