Bug 102648 - [ASUS X556UR] Can't use Nvidia gpu after Suspend/Wake
Summary: [ASUS X556UR] Can't use Nvidia gpu after Suspend/Wake
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Nouveau Project
QA Contact: Xorg Project Team
Depends on:
Reported: 2017-09-11 03:13 UTC by RazorSiS
Modified: 2019-12-04 09:31 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

dmesg with the problem before and after suspend (81.61 KB, text/plain)
2017-09-11 03:13 UTC, RazorSiS
no flags Details
acpidump (977.91 KB, text/plain)
2017-09-11 03:14 UTC, RazorSiS
no flags Details
xorg log (32.72 KB, text/plain)
2017-09-11 03:14 UTC, RazorSiS
no flags Details
nvidia vbios (40.00 KB, application/octet-stream)
2017-09-11 03:15 UTC, RazorSiS
no flags Details

Description RazorSiS 2017-09-11 03:13:04 UTC
Created attachment 134145 [details]
dmesg with the problem before and after suspend

Os: Arch X86_64 Updated regularly
System : Notebook Asus X556UR

Tried with bumblebee nvidia:
Works perefectly after boot
but after a suspend/wake optirun output: Failed to initialize secondary GPU

only way to make it work again is: 
reboot or pci bus remove/rescan(doesn't work sometimes)

So I consulted with Lekensteyn and did numerous testings
checked nvidia card powermanagement, parent bus power mangement
PM is on for both but it just doesn't work after suspend/wake

switched to nouveau (removed bumblebee nvidia)
tested with lspci, no errors after boot
but after suspend/wake: DRM: failed to idle channel 0 [DRM]

So he suggested to file a bug for nouveau with kernel log and acpidump
Comment 1 RazorSiS 2017-09-11 03:14:20 UTC
Created attachment 134146 [details]
Comment 2 RazorSiS 2017-09-11 03:14:51 UTC
Created attachment 134147 [details]
xorg log
Comment 3 RazorSiS 2017-09-11 03:15:26 UTC
Created attachment 134148 [details]
nvidia vbios
Comment 4 RazorSiS 2017-09-11 03:58:04 UTC
Kernel: 4.12.12-1-ARCH

with bumblebee nvidia after supend/wake then running optirun:
dmesg outputs some error like "RmInitAdapter failed"
Comment 5 Martin Peres 2019-12-04 09:31:09 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/xorg/driver/xf86-video-nouveau/issues/369.

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.