[Pkg-virtualbox-devel] Bug#767250: virtualbox: Guests aborting/crashing video driver when using 3D accel under Nouveau after 4.3.18 update

Tom Maneiro tomman at tsdx.net.ve
Wed Oct 29 15:23:38 UTC 2014


Package: virtualbox
Version: 4.3.14-dfsg-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

After updating Virtualbox from 4.3.14 to 4.3.18 on my Jessie laptop with
Nouveau graphics drivers, I'm unable to enable 3D acceleration on guests
without them crashing or aborting, or even bringing down the entire X server,
as soon as some application tries to use 3D features inside the guest.

I get the following sympthoms, related to my particular use cases:

- Install a Windows 7 (or later) guest, enable 3D accel and install the Guest
Additions with the WDDM video driver - guest will abort right away after
booting as soon as the compositing window manager (DWM) starts, making
impossible to run the guest OS at all.

- Install a Windows guest, disable Aero/DWM (if available), enable 3D accel and
install the Guest Additions with the matching video driver, then try to run any
application that wants 3D... and watch how your X session slows down to a halt,
then suddenly the entire desktop CRASHES and you get booted back to the login
manager, or even worse, you end with a frozen computer!

- Dozens of Nouveau-related errors are logged to the kernel log:
....snip...
[  288.834927] nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR BEGIN_END_ACTIVE
[  288.834931] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x001f91e000
VBoxCrWinCmd[2048]] subc 3 class 0x8297 mthd 0x1770 data 0xffffffff
[  288.834948] nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR BEGIN_END_ACTIVE
[  288.834952] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x001f91e000
VBoxCrWinCmd[2048]] subc 3 class 0x8297 mthd 0x1774 data 0xffffffff
[  288.834975] nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR BEGIN_END_ACTIVE
[  288.834979] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x001f91e000
VBoxCrWinCmd[2048]] subc 3 class 0x8297 mthd 0x1778 data 0xffffffff
[  288.834996] nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR BEGIN_END_ACTIVE
[  288.834999] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x001f91e000
VBoxCrWinCmd[2048]] subc 3 class 0x8297 mthd 0x177c data 0xffffffff
[  288.835017] nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR BEGIN_END_ACTIVE
[  288.835021] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x001f91e000
VBoxCrWinCmd[2048]] subc 3 class 0x8297 mthd 0x1798 data 0x00000000
[  288.835044] nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR BEGIN_END_ACTIVE
[  288.835048] nouveau E[  PGRAPH][0000:01:00.0] ch 4 [0x001f91e000
VBoxCrWinCmd[2048]] subc 3 class 0x8297 mthd 0x1510 data 0x00000000
[  288.883298] nouveau E[VBoxCrWinCmd[2048]] Unknown handle 0x0000007d
[  288.883304] nouveau E[VBoxCrWinCmd[2048]] validate_init
[  288.883306] nouveau E[VBoxCrWinCmd[2048]] validate: -2
[  338.543368] nouveau E[VBoxCrWinCmd[2048]] Unknown handle 0x000000c0
[  338.543374] nouveau E[VBoxCrWinCmd[2048]] validate_init
[  338.543376] nouveau E[VBoxCrWinCmd[2048]] validate: -2
[  397.338500] nouveau E[VBoxCrWinCmd[2048]] multiple instances of buffer 3 on
validation list
[  397.338507] nouveau E[VBoxCrWinCmd[2048]] validate_init
[  397.338509] nouveau E[VBoxCrWinCmd[2048]] validate: -22
[  397.339008] nouveau E[VBoxCrWinCmd[2048]] push 0 buffer not in list
[  397.347486] nouveau E[VBoxCrWinCmd[2048]] push 0 buffer not in list
[  397.352394] nouveau E[VBoxCrWinCmd[2048]] push 0 buffer not in list
[  397.352436] nouveau E[VBoxCrWinCmd[2048]] push 0 buffer not in list
[  397.353172] nouveau E[VBoxCrWinCmd[2048]] push 0 buffer not in list
[  397.353611] nouveau E[VBoxCrWinCmd[2048]] push 0 buffer not in list
[  397.364808] nouveau E[VBoxCrWinCmd[2048]] push 0 buffer not in list
[  397.365461] nouveau E[VBoxCrWinCmd[2048]] push 0 buffer not in list
[  397.366254] nouveau E[VBoxCrWinCmd[2048]] push 0 buffer not in list
[  397.366652] nouveau E[VBoxCrWinCmd[2048]] push 0 buffer not in list
....snip...
[  575.606737] nouveau E[   PFIFO][0000:01:00.0] DMA_PUSHER - ch 4
[VBoxCrWinCmd[2194]] get 0x0020209204 put 0x002020a2f4 ib_get 0x000002bb ib_put
0x0000035e state 0x80007540 (err: INVALID_CMD) push 0x00406040
[  575.606778] nouveau E[   PFIFO][0000:01:00.0] DMA_PUSHER - ch 4
[VBoxCrWinCmd[2194]] get 0x0020563004 put 0x0020564200 ib_get 0x000002bc ib_put
0x0000035e state 0x80000000 (err: INVALID_CMD) push 0x00406040
[  665.596020] nouveau E[Xorg[713]] failed to idle channel 0xcccc0000
[Xorg[713]]
[  680.596113] nouveau E[Xorg[713]] failed to idle channel 0xcccc0000
[Xorg[713]]
[  680.596439] nouveau E[     PFB][0000:01:00.0] trapped read at 0x002001a040
on channel 0x0001fb1a [unknown] SEMAPHORE_BG/PFIFO_READ/00 reason:
PAGE_NOT_PRESENT
[  680.596542] nouveau E[     PFB][0000:01:00.0] trapped write at 0x002001a024
on channel 0x0001fb1a [unknown] PFIFO/PFIFO_READ/SEMAPHORE reason:
PAGE_NOT_PRESENT
[  680.597352] nouveau E[     PFB][0000:01:00.0] trapped write at 0x002001a024
on channel 0x0001fb1a [unknown] PFIFO/PFIFO_READ/SEMAPHORE reason:
PAGE_NOT_PRESENT
[  680.597477] nouveau E[  PGRAPH][0000:01:00.0] TRAP_M2MF NOTIFY
[  680.597495] nouveau E[  PGRAPH][0000:01:00.0] TRAP_M2MF 00304041 00004360
00000000 06000432
[  680.597514] nouveau E[  PGRAPH][0000:01:00.0] ch 2 [0x001fb1a000 Xorg[713]]
subc 0 class 0x5039 mthd 0x0328 data 0x00000000
[  680.597544] nouveau E[     PFB][0000:01:00.0] trapped write at 0x002001a024
on channel 0x0001fb1a [unknown] PFIFO/PFIFO_READ/SEMAPHORE reason:
PAGE_NOT_PRESENT
[  680.597671] nouveau E[     PFB][0000:01:00.0] trapped write at 0x002001a024
on channel 0x0001fb1a [unknown] PFIFO/PFIFO_READ/SEMAPHORE reason:
PAGE_NOT_PRESENT
[  680.597742] nouveau E[  PGRAPH][0000:01:00.0] TRAP_PROP - TP 0 - RT_FAULT -
Address 0020355000
[  680.597756] nouveau E[  PGRAPH][0000:01:00.0] TRAP_PROP - TP 0 - e0c:
00000000, e18: 00000000, e1c: 00000000, e20: 00002a00, e24: 00030000
[  680.597781] nouveau E[  PGRAPH][0000:01:00.0] TRAP_PROP - TP 1 - RT_FAULT -
Address 0020355800
[  680.597792] nouveau E[  PGRAPH][0000:01:00.0] TRAP_PROP - TP 1 - e0c:
00000000, e18: 00000000, e1c: 00000010, e20: 00002a00, e24: 00030000
[  680.597806] nouveau E[  PGRAPH][0000:01:00.0] ch 2 [0x001fb1a000 Xorg[713]]
subc 7 class 0x8297 mthd 0x15e0 data 0x00000000
[  680.597842] nouveau E[     PFB][0000:01:00.0] trapped write at 0x0020357900
on channel 0x0001fb1a [Xorg[713]] PGRAPH/PROP/RT0 reason: PAGE_NOT_PRESENT
[  680.597896] nouveau E[  PGRAPH][0000:01:00.0] magic set 0:
[  680.597911] nouveau E[  PGRAPH][0000:01:00.0]        0x00408904: 0x20082b05
[  680.597925] nouveau E[  PGRAPH][0000:01:00.0]        0x00408908: 0x00203494
[  680.597938] nouveau E[  PGRAPH][0000:01:00.0]        0x0040890c: 0x40000432
[  680.597951] nouveau E[  PGRAPH][0000:01:00.0]        0x00408910: 0x34900000
[  680.597956] nouveau E[  PGRAPH][0000:01:00.0] TRAP_TEXTURE - TP0:  FAULT
[  680.597974] nouveau E[  PGRAPH][0000:01:00.0] magic set 1:
[  680.597987] nouveau E[  PGRAPH][0000:01:00.0]        0x00409904: 0x20097e0f
[  680.598000] nouveau E[  PGRAPH][0000:01:00.0]        0x00409908: 0x00203496
[  680.598013] nouveau E[  PGRAPH][0000:01:00.0]        0x0040990c: 0x40000432
[  680.598026] nouveau E[  PGRAPH][0000:01:00.0]        0x00409910: 0x34900000
[  680.598031] nouveau E[  PGRAPH][0000:01:00.0] TRAP_TEXTURE - TP1:  FAULT
[  680.598045] nouveau E[  PGRAPH][0000:01:00.0] ch 2 [0x001fb1a000 Xorg[713]]
subc 2 class 0x502d mthd 0x08dc data 0x00000000
....snip...
(full kernel log is attached to this bug report)

My video card is, according to nvidia-detect:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G96M [GeForce
9600M GT] [10de:0649] (rev a1)

Downgrading back to 4.3.14 fixes the problems, no more crashed/aborted guests,
and I can use 3D accel on my guests without issues. Dunno if switching to the
n‏Vidia propietary drivers will fix things, as I don't really want to stop
using Nouveau, since everything else seems to work fine on my system.



-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_VE.utf8, LC_CTYPE=es_VE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virtualbox depends on:
ii  adduser          3.113+nmu3
ii  dpkg             1.17.13
ii  libc6            2.19-12
ii  libcurl3         7.38.0-2
ii  libgcc1          1:4.9.1-16
ii  libgsoap5        2.8.17-1
ii  libpng12-0       1.2.50-2
ii  libpython2.7     2.7.8-10
ii  libsdl1.2debian  1.2.15-10
ii  libssl1.0.0      1.0.1j-1
ii  libstdc++6       4.9.1-16
ii  libvncserver0    0.9.9+dfsg-6+b2
ii  libvpx1          1.3.0-3
ii  libx11-6         2:1.6.2-3
ii  libxcursor1      1:1.1.14-1
ii  libxext6         2:1.3.3-1
ii  libxml2          2.9.1+dfsg1-4
ii  libxmu6          2:1.1.2-1
ii  libxt6           1:1.1.4-1
ii  python           2.7.8-1
ii  python2.7        2.7.8-10
ii  zlib1g           1:1.2.8.dfsg-2

Versions of packages virtualbox recommends:
ii  libgl1-mesa-glx [libgl1]  10.3.1-1
ii  libqt4-opengl             4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii  libqtcore4                4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii  libqtgui4                 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii  virtualbox-dkms           4.3.14-dfsg-1
ii  virtualbox-qt             4.3.14-dfsg-1

Versions of packages virtualbox suggests:
pn  vde2                            <none>
ii  virtualbox-guest-additions-iso  4.3.18-1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nouveau_krash.log
Type: application/octet-stream
Size: 127228 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20141029/224fd924/attachment-0001.obj>


More information about the Pkg-virtualbox-devel mailing list