Public bug reported:

While `optirun bash` works fine before a suspend, it fails due to

```
[  240.893044] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed 
to load module "nvidia340" (module does not exist, 0)

[  240.893066] [ERROR]Aborting because fallback start is disabled.
```

`dmesg` shows

```
[   42.480167] bbswitch: enabling discrete graphics
[   42.694778] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:01:00.0 on 
minor 1
[   42.694782] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.104  Thu Sep 
14 17:13:13 PDT 2017
[   42.819112] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   42.819182] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   42.819226] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   42.819275] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   42.819317] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   42.819357] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   42.819414] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   42.819455] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   42.833403] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
```

before suspend and

```
[   69.619403] PM: Syncing filesystems ... done.
[   69.679227] PM: Preparing system for sleep (mem)
[   69.718003] Freezing user space processes ... (elapsed 0.002 seconds) done.
[   69.720227] OOM killer disabled.
[   69.720227] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) 
done.
[   69.721366] PM: Suspending system (mem)
[   69.721388] Suspending console(s) (use no_console_suspend to debug)
[   69.721881] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
[   69.721890] sd 1:0:0:0: [sda] Synchronizing SCSI cache
[   69.721943] sd 2:0:0:0: [sdb] Stopping disk
[   69.721968] sd 1:0:0:0: [sda] Stopping disk
[   70.874209] PM: suspend of devices complete after 1152.938 msecs
[   70.893031] PM: late suspend of devices complete after 18.822 msecs
[   70.913074] PM: noirq suspend of devices complete after 20.045 msecs
[   70.913300] ACPI: Preparing to enter system sleep state S3
[   71.900835] ACPI: EC: event blocked
[   71.900835] ACPI: EC: EC stopped
[   71.900835] PM: Saving platform NVS memory
[   71.900908] Disabling non-boot CPUs ...
[   71.918505] smpboot: CPU 1 is now offline
[   71.938199] smpboot: CPU 2 is now offline
[   71.962120] smpboot: CPU 3 is now offline
[   71.986093] smpboot: CPU 4 is now offline
[   72.010022] smpboot: CPU 5 is now offline
[   72.038003] smpboot: CPU 6 is now offline
[   72.053950] smpboot: CPU 7 is now offline
[   72.056825] ACPI: Low-level resume complete
[   72.056883] ACPI: EC: EC started
[   72.056884] PM: Restoring platform NVS memory
[   72.062370] Suspended for 9.011 seconds
[   72.063179] Enabling non-boot CPUs ...
[   72.063281] x86: Booting SMP configuration:
[   72.063282] smpboot: Booting Node 0 Processor 1 APIC 0x1
[   72.066318]  cache: parent cpu1 should not be sleeping
[   72.066622] CPU1 is up
[   72.066657] smpboot: Booting Node 0 Processor 2 APIC 0x2
[   72.069567]  cache: parent cpu2 should not be sleeping
[   72.069900] CPU2 is up
[   72.069929] smpboot: Booting Node 0 Processor 3 APIC 0x3
[   72.072939]  cache: parent cpu3 should not be sleeping
[   72.073285] CPU3 is up
[   72.073318] smpboot: Booting Node 0 Processor 4 APIC 0x4
[   72.076349]  cache: parent cpu4 should not be sleeping
[   72.076757] CPU4 is up
[   72.076784] smpboot: Booting Node 0 Processor 5 APIC 0x5
[   72.079796]  cache: parent cpu5 should not be sleeping
[   72.080253] CPU5 is up
[   72.080280] smpboot: Booting Node 0 Processor 6 APIC 0x6
[   72.083319]  cache: parent cpu6 should not be sleeping
[   72.083864] CPU6 is up
[   72.083896] smpboot: Booting Node 0 Processor 7 APIC 0x7
[   72.086920]  cache: parent cpu7 should not be sleeping
[   72.087921] CPU7 is up
[   72.095101] ACPI: Waking up from system sleep state S3
[   72.152634] PM: noirq resume of devices complete after 20.855 msecs
[   72.153020] PM: early resume of devices complete after 0.370 msecs
[   72.153142] ACPI: EC: event unblocked
[   72.163221] sd 2:0:0:0: [sdb] Starting disk
[   72.163267] sd 1:0:0:0: [sda] Starting disk
[   72.223563] xhci_hcd 0000:00:14.0: port 3 resume PLC timeout
[   72.246912] xhci_hcd 0000:00:14.0: port 1 resume PLC timeout
[   72.251324] ACPI: button: The lid device is not compliant to SW_LID.
[   72.262731] usb 4-1: Disable of device-initiated U1 failed.
[   72.266223] usb 4-1: Disable of device-initiated U2 failed.
[   72.399266] usb 1-1.4: reset high-speed USB device number 5 using ehci-pci
[   72.443636] usb 4-1: reset SuperSpeed USB device number 2 using xhci_hcd
[   72.489969] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[   72.491951] ata2.00: supports DRM functions and may not be fully accessible
[   72.498749] ata2.00: disabling queued TRIM support
[   72.505798] ata2.00: supports DRM functions and may not be fully accessible
[   72.513025] ata2.00: disabling queued TRIM support
[   72.519761] ata2.00: configured for UDMA/133
[   72.583470] usb 3-2: reset full-speed USB device number 3 using xhci_hcd
[   72.687601] usb 4-1.3: Disable of device-initiated U1 failed.
[   72.691284] usb 4-1.3: Disable of device-initiated U2 failed.
[   72.843389] usb 3-4: reset high-speed USB device number 5 using xhci_hcd
[   73.063506] usb 4-1.3: reset SuperSpeed USB device number 3 using xhci_hcd
[   73.634849] usb 4-1.3.3: Disable of device-initiated U1 failed.
[   73.638602] usb 4-1.3.3: Disable of device-initiated U2 failed.
[   73.719267] usb 4-1.3.3: reset SuperSpeed USB device number 4 using xhci_hcd
[   74.766721] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   74.779984] ata3.00: configured for UDMA/133
[   75.128122] PM: resume of devices complete after 2975.705 msecs
[   75.128333] PM: Finishing wakeup.
[   75.128334] OOM killer enabled.
[   75.128334] Restarting tasks ... 
[   75.129245] kauditd_printk_skb: 59 callbacks suppressed
[   75.129246] audit: type=1400 audit(1512416937.067:5580): apparmor="ALLOWED" 
operation="recvmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=55445052656365697665722031 lport=19076 family="inet6" sock_type="dgram" 
protocol=17 requested_mask="receive" denied_mask="receive"
[   75.135348] usb 1-1.3: USB disconnect, device number 4
[   75.142777] audit: type=1400 audit(1512416937.081:5581): apparmor="ALLOWED" 
operation="recvmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm="Cyber.SSDPSearc" laddr=::ffff:172.17.0.1 lport=7653 family="inet6" 
sock_type="dgram" protocol=17 requested_mask="receive" denied_mask="receive"
[   75.142795] audit: type=1400 audit(1512416937.081:5582): apparmor="ALLOWED" 
operation="recvmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm="Cyber.SSDPSearc" laddr=::ffff:192.168.122.1 lport=7653 family="inet6" 
sock_type="dgram" protocol=17 requested_mask="receive" denied_mask="receive"
[   75.142845] audit: type=1400 audit(1512416937.081:5583): apparmor="ALLOWED" 
operation="recvmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm="Wrapper-Connect" laddr=::ffff:127.0.0.1 lport=31000 
faddr=::ffff:127.0.0.1 fport=32000 family="inet6" sock_type="stream" protocol=6 
requested_mask="receive" denied_mask="receive"
[   75.143177] audit: type=1400 audit(1512416937.081:5584): apparmor="ALLOWED" 
operation="recvmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm="Cyber.SSDPNotif" lport=1900 family="inet6" sock_type="dgram" protocol=17 
requested_mask="receive" denied_mask="receive"
[   75.143191] audit: type=1400 audit(1512416937.081:5585): apparmor="ALLOWED" 
operation="recvmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm="Cyber.SSDPNotif" lport=1900 family="inet6" sock_type="dgram" protocol=17 
requested_mask="receive" denied_mask="receive"
[   75.144503] audit: type=1400 audit(1512416937.082:5586): apparmor="ALLOWED" 
operation="accept" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=45657073697465204A657474792D31 laddr=::ffff:127.0.0.1 lport=7658 
family="inet6" sock_type="stream" protocol=6 requested_mask="accept" 
denied_mask="accept"
[   75.144534] audit: type=1400 audit(1512416937.082:5587): apparmor="ALLOWED" 
operation="accept" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=526F75746572436F6E736F6C65204A laddr=::ffff:127.0.0.1 lport=7657 
family="inet6" sock_type="stream" protocol=6 requested_mask="accept" 
denied_mask="accept"
[   75.144569] audit: type=1400 audit(1512416937.082:5588): apparmor="ALLOWED" 
operation="accept" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=526F75746572436F6E736F6C65204A laddr=::1 lport=7657 family="inet6" 
sock_type="stream" protocol=6 requested_mask="accept" denied_mask="accept"
[   75.146081] done.
[   75.157133] audit: type=1400 audit(1512416937.095:5589): apparmor="ALLOWED" 
operation="sendmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=4E5443502050756D706572 laddr=::ffff:192.168.179.5 lport=39826 
faddr=::ffff:77.108.252.80 fport=28836 family="inet6" sock_type="stream" 
protocol=6 requested_mask="send" denied_mask="send"
[   75.923020] IPv6: ADDRCONF(NETDEV_UP): enx00e07cc862a1: link is not ready
[   75.925671] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[   76.125504] r8169 0000:02:00.0 enp2s0: link down
[   76.125563] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[   76.126638] IPv6: ADDRCONF(NETDEV_UP): enx00e07cc862a1: link is not ready
[   76.130508] IPv6: ADDRCONF(NETDEV_UP): enx00e07cc862a1: link is not ready
[   76.132104] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[   76.146142] iwlwifi 0000:03:00.0: Radio type=0x2-0x0-0x0
[   76.419889] iwlwifi 0000:03:00.0: Radio type=0x2-0x0-0x0
[   76.481584] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[   76.663958] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[   77.273826] r8152 4-1.3.3:1.0 enx00e07cc862a1: carrier on
[   77.273860] IPv6: ADDRCONF(NETDEV_CHANGE): enx00e07cc862a1: link becomes 
ready
[   81.143888] kauditd_printk_skb: 11 callbacks suppressed
[   81.143889] audit: type=1400 audit(1512416943.083:5601): apparmor="ALLOWED" 
operation="sendmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=55445053656E6465722031 lport=19076 family="inet6" sock_type="dgram" 
protocol=17 requested_mask="send" denied_mask="send"
[   81.264973] audit: type=1400 audit(1512416943.204:5602): apparmor="ALLOWED" 
operation="open" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" 
name="/var/lib/i2p/i2p-config/i2psnark/" pid=13215 
comm=536E61726B204469724D6F6E69746F requested_mask="r" denied_mask="r" 
fsuid=129 ouid=129
[   83.144578] audit: type=1400 audit(1512416945.083:5603): apparmor="ALLOWED" 
operation="sendmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=53696D706C6554696D65723220342F laddr=::ffff:172.17.0.1 lport=7653 
family="inet6" sock_type="dgram" protocol=17 requested_mask="send" 
denied_mask="send"
[   83.144700] audit: type=1400 audit(1512416945.084:5604): apparmor="ALLOWED" 
operation="sendmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=53696D706C6554696D65723220342F laddr=::ffff:192.168.122.1 lport=7653 
family="inet6" sock_type="dgram" protocol=17 requested_mask="send" 
denied_mask="send"
[   83.144855] audit: type=1400 audit(1512416945.084:5605): apparmor="ALLOWED" 
operation="recvmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm="Cyber.SSDPNotif" lport=1900 family="inet6" sock_type="dgram" protocol=17 
requested_mask="receive" denied_mask="receive"
[   83.144969] audit: type=1400 audit(1512416945.084:5606): apparmor="ALLOWED" 
operation="recvmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm="Cyber.SSDPNotif" lport=1900 family="inet6" sock_type="dgram" protocol=17 
requested_mask="receive" denied_mask="receive"
[   83.146231] audit: type=1400 audit(1512416945.085:5607): apparmor="ALLOWED" 
operation="open" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" 
name="/var/lib/i2p/i2p-config/router.info" pid=13215 
comm=4A6F62517565756520312F31 requested_mask="wc" denied_mask="wc" fsuid=129 
ouid=129
[   83.146234] audit: type=1400 audit(1512416945.085:5608): apparmor="ALLOWED" 
operation="truncate" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" 
name="/var/lib/i2p/i2p-config/router.info" pid=13215 
comm=4A6F62517565756520312F31 requested_mask="w" denied_mask="w" fsuid=129 
ouid=129
[   83.146369] audit: type=1400 audit(1512416945.085:5609): apparmor="ALLOWED" 
operation="chmod" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" 
name="/var/lib/i2p/i2p-config/router.info" pid=13215 
comm=4A6F62517565756520312F31 requested_mask="w" denied_mask="w" fsuid=129 
ouid=129
[   83.146389] audit: type=1400 audit(1512416945.085:5610): apparmor="ALLOWED" 
operation="chmod" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" 
name="/var/lib/i2p/i2p-config/router.info" pid=13215 
comm=4A6F62517565756520312F31 requested_mask="w" denied_mask="w" fsuid=129 
ouid=129
[   88.223013] kauditd_printk_skb: 5 callbacks suppressed
[   88.223014] audit: type=1400 audit(1512416950.162:5616): apparmor="ALLOWED" 
operation="sendmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=55445053656E6465722031 lport=19076 family="inet6" sock_type="dgram" 
protocol=17 requested_mask="send" denied_mask="send"
[   88.223090] audit: type=1400 audit(1512416950.162:5617): apparmor="ALLOWED" 
operation="sendmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=55445053656E6465722031 lport=19076 family="inet6" sock_type="dgram" 
protocol=17 requested_mask="send" denied_mask="send"
[   88.223100] audit: type=1400 audit(1512416950.162:5618): apparmor="ALLOWED" 
operation="sendmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=55445053656E6465722031 lport=19076 family="inet6" sock_type="dgram" 
protocol=17 requested_mask="send" denied_mask="send"
[   88.223158] audit: type=1400 audit(1512416950.163:5619): apparmor="ALLOWED" 
operation="sendmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=55445053656E6465722031 lport=19076 family="inet6" sock_type="dgram" 
protocol=17 requested_mask="send" denied_mask="send"
[   89.638925] audit: type=1400 audit(1512416951.578:5620): apparmor="ALLOWED" 
operation="sendmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=55445053656E6465722031 lport=19076 family="inet6" sock_type="dgram" 
protocol=17 requested_mask="send" denied_mask="send"
[   89.639007] audit: type=1400 audit(1512416951.578:5621): apparmor="ALLOWED" 
operation="sendmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=55445053656E6465722031 lport=19076 family="inet6" sock_type="dgram" 
protocol=17 requested_mask="send" denied_mask="send"
[   89.639041] audit: type=1400 audit(1512416951.579:5622): apparmor="ALLOWED" 
operation="sendmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=55445053656E6465722031 lport=19076 family="inet6" sock_type="dgram" 
protocol=17 requested_mask="send" denied_mask="send"
[   89.639074] audit: type=1400 audit(1512416951.579:5623): apparmor="ALLOWED" 
operation="sendmsg" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm=55445053656E6465722031 lport=19076 family="inet6" sock_type="dgram" 
protocol=17 requested_mask="send" denied_mask="send"
[   90.541343] audit: type=1400 audit(1512416952.481:5624): apparmor="ALLOWED" 
operation="create" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm="BuildExecutor" family="inet6" sock_type="stream" protocol=0 
requested_mask="create" denied_mask="create"
[   90.541356] audit: type=1400 audit(1512416952.481:5625): apparmor="ALLOWED" 
operation="setsockopt" 
profile="system_i2p//null-/usr/lib/jvm/java-9-openjdk-amd64/bin/java" pid=13215 
comm="BuildExecutor" family="inet6" sock_type="stream" protocol=6 
requested_mask="setopt" denied_mask="setopt"
[   90.697080] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   90.697154] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   90.697200] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   90.697252] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   90.697295] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   90.697338] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   90.697396] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   90.697454] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   90.698352] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type 
mismatch - Found [Buffer], ACPI requires [Package] (20170531/nsarguments-95)
[   90.763550] pipe B vblank wait timed out
[   90.763605] ------------[ cut here ]------------
[   90.763655] WARNING: CPU: 2 PID: 26306 at 
/build/linux-KM2a5S/linux-4.13.0/drivers/gpu/drm/i915/intel_display.c:12848 
intel_atomic_commit_tail+0xf7d/0xf90 [i915]
[   90.763656] Modules linked in: nvidia(POE) msr rfcomm nf_conntrack_netlink 
nfnetlink xfrm_user xfrm_algo xt_addrtype br_netfilter xt_CHECKSUM 
iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 
nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c 
ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables 
ip6table_filter ip6_tables iptable_filter snd_hda_codec_hdmi 
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec 
snd_hda_core snd_hwdep snd_pcm snd_timer snd soundcore pci_stub vboxpci(OE) 
vboxnetadp(OE) vboxnetflt(OE) bnep bbswitch(OE) vboxdrv(OE) cdc_ether usbnet 
r8152 rtsx_usb_ms btusb btrtl memstick btbcm btintel bluetooth ecdh_generic 
binfmt_misc zfs(POE) zunicode(POE) zavl(POE) icp(POE) uvcvideo videobuf2_vmalloc
[   90.763677]  videobuf2_memops videobuf2_v4l2 videobuf2_core videodev 
hid_multitouch media nls_iso8859_1 zcommon(POE) znvpair(POE) spl(OE) intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 
crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf joydev input_leds 
serio_raw arc4 iwldvm ideapad_laptop mac80211 sparse_keymap wmi iwlwifi mac_hid 
cfg80211 lpc_ich mei_me mei shpchp ib_iser rdma_cm iw_cm ib_cm ib_core 
iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi coda parport_pc ppdev lp 
parport sunrpc ip_tables x_tables autofs4 btrfs xor raid6_pq rtsx_usb_sdmmc 
rtsx_usb hid_generic usbhid hid psmouse i915 r8169 mii video i2c_algo_bit 
drm_kms_helper ahci libahci syscopyarea sysfillrect
[   90.763699]  sysimgblt fb_sys_fops drm
[   90.763702] CPU: 2 PID: 26306 Comm: kworker/u16:57 Tainted: P           OE   
4.13.0-17-generic #20-Ubuntu
[   90.763703] Hardware name: LENOVO 20221/INVALID, BIOS 71CN51WW(V1.21) 
07/12/2013
[   90.763726] Workqueue: events_unbound intel_atomic_commit_work [i915]
[   90.763727] task: ffff99bef3782e80 task.stack: ffffb93a0c2f8000
[   90.763746] RIP: 0010:intel_atomic_commit_tail+0xf7d/0xf90 [i915]
[   90.763746] RSP: 0018:ffffb93a0c2fbd88 EFLAGS: 00010282
[   90.763747] RAX: 000000000000001c RBX: 0000000000000001 RCX: 0000000000000000
[   90.763748] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000246
[   90.763748] RBP: ffffb93a0c2fbe40 R08: 000000000000001c R09: 0000000000021510
[   90.763749] R10: ffffb93a0c2fbd88 R11: 00000000000004b2 R12: 0000000000000ee1
[   90.763749] R13: ffff99bf211f8000 R14: ffff99bf2c49e000 R15: 0000000000000002
[   90.763750] FS:  0000000000000000(0000) GS:ffff99bf3f280000(0000) 
knlGS:0000000000000000
[   90.763751] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   90.763751] CR2: 00007f71b5ce1000 CR3: 0000000296209000 CR4: 00000000001406e0
[   90.763752] Call Trace:
[   90.763757]  ? dequeue_task_fair+0x49f/0x640
[   90.763759]  ? wait_woken+0x80/0x80
[   90.763777]  intel_atomic_commit_work+0x12/0x20 [i915]
[   90.763779]  process_one_work+0x1e7/0x410
[   90.763780]  worker_thread+0x4a/0x410
[   90.763782]  kthread+0x125/0x140
[   90.763783]  ? process_one_work+0x410/0x410
[   90.763784]  ? kthread_create_on_node+0x70/0x70
[   90.763786]  ret_from_fork+0x25/0x30
[   90.763787] Code: ff ff ff 48 83 c7 08 e8 42 91 c7 e5 4c 8b 85 70 ff ff ff 
4d 85 c0 0f 85 7b fa ff ff 8d 73 41 48 c7 c7 60 d4 31 c0 e8 d4 43 c9 e5 <0f> ff 
e9 65 fa ff ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 
[   90.763801] ---[ end trace dd66bad1475992e1 ]---
[   90.764070] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[   90.766764] NVRM: RmInitAdapter failed! (0x25:0x28:1197)
[   90.766776] NVRM: rm_init_adapter failed for device bearing minor number 0
[   90.766799] NVRM: nvidia_frontend_open: minor 0, module->open() failed, 
error -5
```

after.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: bumblebee 3.2.1-16
ProcVersionSignature: Ubuntu 4.13.0-17.20-generic 4.13.8
Uname: Linux 4.13.0-17-generic x86_64
NonfreeKernelModules: nvidia zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.7-0ubuntu3.5
Architecture: amd64
CurrentDesktop: Unity:Unity7:ubuntu
Date: Mon Dec  4 20:50:14 2017
InstallationDate: Installed on 2015-12-12 (723 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: bumblebee
UpgradeStatus: Upgraded to artful on 2017-10-19 (46 days ago)
mtime.conffile..etc.bumblebee.bumblebee.conf: 2017-11-17T12:14:50.865591
mtime.conffile..etc.bumblebee.xorg.conf.nouveau: 2017-10-20T13:18:10
mtime.conffile..etc.bumblebee.xorg.conf.nvidia: 2017-11-17T12:14:17.970413
mtime.conffile..etc.init.d.bumblebeed: 2017-07-01T19:11:27

** Affects: bumblebee (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug artful third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1736229

Title:
  optirun doesn't work after suspend

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bumblebee/+bug/1736229/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to