Bug 107735 - Xorg stops responding when running DRI_PRIME=1 glxgears
Summary: Xorg stops responding when running DRI_PRIME=1 glxgears
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: 18.1
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Nouveau Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-29 09:19 UTC by Sam Morris
Modified: 2019-09-18 20:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
kernel messages (86.12 KB, text/plain)
2018-08-29 09:19 UTC, Sam Morris
Details
Xorg log (295.21 KB, text/x-log)
2018-08-29 09:19 UTC, Sam Morris
Details
glxinfo for integrated gpu (36.73 KB, text/plain)
2018-08-29 09:20 UTC, Sam Morris
Details
glxinfo for discrete gpu (33.85 KB, text/plain)
2018-08-29 09:20 UTC, Sam Morris
Details

Description Sam Morris 2018-08-29 09:19:26 UTC
Created attachment 141338 [details]
kernel messages

If I run 'DRI_PRIME=1 glxgears', glxgears appears and runs normally for < 1 second. However then the screen freezes and pressing Esc to close glxgears (and other keyboard/mouse input) does not work.

Neither the kernel nor Xorg log anything when this happens.

If I run 'DRI_PRIME=1 timeout 5 glxgears', after 5 seconds SIGTERM is sent to the process, it exits and Xorg stops being frozen.

The really weird thing is that if I leave an instance of glxgears (using the integrated graphics) running at the same time, then glxgears using the discrete GPU does not cause Xorg to freeze up at all!

This is on a Lenovo P50 with the following setup:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro M2000M] (rev a2)

I'm using debian unstable.
Mesa version: 18.1.6
nouveau version: 1.0.15
Kernel: Linux version 4.17.0-3-amd64 (debian-kernel@lists.debian.org) (gcc version 7.3.0 (Debian 7.3.0-28)) #1 SMP Debian 4.17.17-1 (2018-08-18)

I've seen this with earlier kernels too.
Comment 1 Sam Morris 2018-08-29 09:19:44 UTC
Created attachment 141339 [details]
Xorg log
Comment 2 Sam Morris 2018-08-29 09:20:19 UTC
Created attachment 141340 [details]
glxinfo for integrated gpu
Comment 3 Sam Morris 2018-08-29 09:20:31 UTC
Created attachment 141341 [details]
glxinfo for discrete gpu
Comment 4 GitLab Migration User 2019-09-18 20:47:07 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/1163.


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.