Bug 203567 - nouveau crashes with optimus laptop - rendering the discrete gpu useless
Summary: nouveau crashes with optimus laptop - rendering the discrete gpu useless
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(Other) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_video-other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-10 19:45 UTC by Josua Mayer
Modified: 2019-05-10 19:45 UTC (History)
0 users

See Also:
Kernel Version: 5.1.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg 5.1.0 (421.48 KB, text/plain)
2019-05-10 19:45 UTC, Josua Mayer
Details

Description Josua Mayer 2019-05-10 19:45:38 UTC
Created attachment 282711 [details]
dmesg 5.1.0

While testing my quite recent laptop with a discrete nvidia gpu, I found any attempt at using it with the nouveau driver leads to scary messages in dmesg, and a hang in userspace.

Simple test case:
env DRI_PRIME=1 glxinfo
name of display: :0
nvc0_screen_create:1003 - Error allocating PGRAPH context for M2MF: -16

glxinfo process never terminates.
Please see attached dmesg.log for all the things going on here.
That particular dmesg was produced from a local build of linux 5.1.0.

A very obvious and recurring theme in dmesg is this timeout message:
[    5.481806] nouveau 0000:01:00.0: timeout

The issue was first observed on openSUSE 15.1 Beta - with their variant of 4.12.y. The issue kept shifting between 3 states:
1. the gpu was not usable, and glxinfo did not hang, reporting only the intel igpu
2. the gpu was not usable, and applications using it would hang (e.g. glxinfo)
3. the gpu was usable! This was observed a few days ago with an intermediate release of the opensuse 4.12.y.

Original bug report: https://bugzilla.opensuse.org/show_bug.cgi?id=1126480
Due to the presence of this issue upstream it has been suggested to move the discussion here.

Device in question is an Asus UX331UN with an Intel i7-8550U and an nvidia mx150 gpu.

If there is anything I can provide in testing or information please let me know!

Thanks for reading, yours sincerely
Josua Mayer

Note You need to log in before you can comment on or make changes to this bug.