FS#47250 - [nvidia] Optirun launched apps freeze after resume

Attached to Project: Arch Linux
Opened by Marc-Olivier Barre (mobarre) - Thursday, 03 December 2015, 16:46 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 11 December 2015, 17:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Sven-Hendrik Haase (Svenstaro)
Felix Yan (felixonmars)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I start an application with optirun and/or primus and suspend my laptop, the application is frozen on resume.

Additional info:
* package version(s)
* bumblebee 3.2.1-10
* primus 20151110-1
* nvidia 358.16-1
* xorg 1.18.0-3
* kernel 4.2.5-1-ARCH

* Hardware:
* laptop is an ASUS UX303LN with an Nvidia GeForce 840M graphics card + an Intel Corporation Haswell-ULT Integrated Graphics Controller.

* config and/or log files etc.
So far, the most usefull logs I can produce are an extract of my dmesg with the whole suspend/resume process. File is attached. You should notice the mess here:

[ 987.402372] NVRM: GPU at PCI:0000:03:00: GPU-c3350c76-8707-abd9-a985-52814992bd10
[ 987.402380] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: Shader Program Header 1 Error
[ 987.402442] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: Shader Program Header 2 Error
[ 987.402493] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: Shader Program Header 3 Error
[ 987.402545] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: Shader Program Header 9 Error
[ 987.402596] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: Shader Program Header 18 Error
[ 987.402648] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ESR 0x405840=0xa204020e
[ 987.402727] NVRM: Xid (PCI:0000:03:00): 13, Graphics Exception: ChID 0010, Class 0000b097, Offset 00001644, Data 00000001

I've also attached my bumblebee config.

Steps to reproduce:
That's the easy part... run glxspheres (32bit or 64bit) through optirun, suspend, resume and voilà ! glxspheres should be frozen.

This works with any OpenGL application that I try to run with optirun.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Friday, 11 December 2015, 17:03 GMT
Reason for closing:  Upstream
Comment by Marc-Olivier Barre (mobarre) - Thursday, 03 December 2015, 16:58 GMT
BTW, that's my first Archlinux bug, so feel free to change the severity and category if I got that wrong...
Comment by Sven-Hendrik Haase (Svenstaro) - Friday, 11 December 2015, 17:03 GMT
I don't think we can do anything here. Doesn't appear like a packaging bug. You might have more success discussing this with bumblebee upstream on Github. Closing for now. Request a re-open when you think we can do something here to fix it.

Loading...