Bug 90825

Summary: nouveau crashes on MacBookPro when VirtualBox hardware acceleration is used
Product: Mesa Reporter: Victor Costan <costan>
Component: Drivers/DRI/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Nouveau Project <nouveau>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Victor Costan 2015-06-02 22:25:37 UTC
I can repro this consistently by installing Hearthstone on Windows 7, and trying to run the game. The repro is rather bulky. FWIW, at least the bits can be obtained gratis (Win7 has a trial, Hearthstone is free to play).

The kernel log is filled with these messages:

[ 1167.316496] nouveau E[   PFIFO][0000:01:00.0] PBDMA0: ch 11 [VBoxCrWinCmd[6069]] subc 0 mthd 0x000c data 0x20030298
[ 1167.316510] nouveau E[   PFIFO][0000:01:00.0] PBDMA0: METHOD


The bug appears to be very similar to the following Ubuntu bug, which has more debugging information:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nouveau/+bug/1391086

Please let me know if I can supply extra information to help debug this.
Comment 1 Ilia Mirkin 2015-10-22 02:50:43 UTC
The launchpad link shows a fairly old version of mesa being used. Can you try with Mesa 11.0.3 and see if the issue persists?
Comment 2 Victor Costan 2015-10-23 06:16:46 UTC
I got the following errors with Fedora 23 and VirtualBox 5.0. The display freezes completely, so I had to get the information from journalctl using the previous boot info.

Oct 23 01:28:49 pwnie kernel: nouveau E[   PFIFO][0000:01:00.0] PBDMA0: PBENTRY
Oct 23 01:28:49 pwnie kernel: nouveau E[   PFIFO][0000:01:00.0] PBDMA0: ch 10 [VBoxCrWinCmd[20388]] subc 0 mthd 0x0000 data 0x00000000
Oct 23 01:28:49 pwnie kernel: nouveau E[   PFIFO][0000:01:00.0] PBDMA0: PBENTRY
Oct 23 01:28:49 pwnie kernel: nouveau E[   PFIFO][0000:01:00.0] PBDMA0: ch 10 [VBoxCrWinCmd[20388]] subc 0 mthd 0x0000 data 0x00000000
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR [INVALID_VALUE] ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 0 class 0xa097 mthd 0x2388 data 0x2001091c
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR [INVALID_BITFIELD] ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 0 class 0xa097 mthd 0x2470 data 0x3f000000
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR [INVALID_VALUE] ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 0 class 0xa097 mthd 0x2388 data 0x800004b3
Oct 23 01:28:49 pwnie kernel: nouveau E[   PFIFO][0000:01:00.0] PBDMA0: PBENTRY
Oct 23 01:28:49 pwnie kernel: nouveau E[   PFIFO][0000:01:00.0] PBDMA0: ch 10 [VBoxCrWinCmd[20388]] subc 0 mthd 0x0000 data 0x00000000
Oct 23 01:28:49 pwnie kernel: nouveau E[   PFIFO][0000:01:00.0] PBDMA0: PBENTRY
Oct 23 01:28:49 pwnie kernel: nouveau E[   PFIFO][0000:01:00.0] PBDMA0: ch 10 [VBoxCrWinCmd[20388]] subc 0 mthd 0x0000 data 0x00000000
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR [INVALID_VALUE] ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 0 class 0xa097 mthd 0x2388 data 0x2001091c
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR [INVALID_BITFIELD] ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 0 class 0xa097 mthd 0x2470 data 0x3f000000
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR [INVALID_VALUE] ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 0 class 0xa097 mthd 0x2388 data 0x800004b3
Oct 23 01:28:49 pwnie kernel: nouveau E[   PFIFO][0000:01:00.0] PBDMA0: PBENTRY
Oct 23 01:28:49 pwnie kernel: nouveau E[   PFIFO][0000:01:00.0] PBDMA0: ch 10 [VBoxCrWinCmd[20388]] subc 0 mthd 0x0000 data 0x00000000
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR [INVALID_BITFIELD] ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 0 class 0xa097 mthd 0x2450 data 0x20010487
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR [INVALID_BITFIELD] ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 3 class 0x902d mthd 0x0880 data 0x200203fd
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR [INVALID_BITFIELD] ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 3 class 0x902d mthd 0x0884 data 0x04140000
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR [INVALID_BITFIELD] ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 3 class 0x902d mthd 0x0888 data 0x02fc0000
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR [INVALID_BITFIELD] ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 3 class 0x902d mthd 0x088c data 0x20090200
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] ILLEGAL_MTHD ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 3 class 0x902d mthd 0x0890 data 0x00000000
Oct 23 01:28:49 pwnie kernel: nouveau E[  PGRAPH][0000:01:00.0] ILLEGAL_MTHD ch 10 [0x003f675000 VBoxCrWinCmd[20388]] subc 3 class 0x902d mthd 0x0894 data 0x049a0000

Here are some relevant bits from glxinfo.

server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.0.3 (git-b4bfea0)
OpenGL core profile shading language version string: 4.10
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.0 Mesa 11.0.3 (git-b4bfea0)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

Thank you very much for looking into this bug! Is there anything else I can provide to help investigate it?
Comment 3 GitLab Migration User 2019-09-18 20:40:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1074.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.