HDMI output on MSI GS65 Stealth Thin laptop does not work after suspend or hibernate.
I have an Optimus laptop with bumblebee installed. I use "intel-virtual-output" from the xorg.xf86videointel package to enable HDMI out. This works fine until I suspend or hibernate once. Afterwards HDMI output will not work. Even if I restart, it still will not output anything. Even if I restart, and go into windows, windows will also not be able to display anything through HDMI out.
The only way I can again be able to display to the HDMI out after suspending is if I shutdown the machine and start it using the power button.
I also tried updating the bios, to no avail.
Here are the things I tried (between each one, I fully shutdown, and started the machine using the power button):
1. start intel-virtual-output, and xrandr -- HDMI out works
2. (hibernate or suspend)
3. kill intel-virtual-output, and xrandr
4. start intel-virtual-output, and xrandr -- HDMI out doesn't work
1. start intel-virtual-output, and xrandr -- HDMI out works
2. kill intel-virtual-output, and xrandr
3. (hibernate or suspend)
4. start intel-virtual-output, and xrandr -- HDMI out doesn't work
md5-ac16a955342cccc24ab6dea74e6d8447
1. start intel-virtual-output, and xrandr -- HDMI out works
2. hibernate (system turns completely off)
3. go into windows
-- HDMI output doesn't work
4. shutdown windows
5. start windows
-- HDMI output works
6. resume from hibernate
7. kill and restart intel-virtual-output, and xrandr -- HDMI out works
md5-ac16a955342cccc24ab6dea74e6d8447
1. start intel-virtual-output, and xrandr -- HDMI out works
2. hibernate (system turns completely off)
3. go into windows
-- HDMI output doesn't work
4. restart windows
-- HDMI output doesn't work
5. shutdown windows
6. start windows
-- HDMI output works
7. resume from hibernate
8. kill and restart intel-virtual-output, and xrandr -- HDMI out works
This last one is very strange to me. Even if I go into windows, restart and go back into windows, the HDMI output will still not work. Only if I shutdown in windows will it work again. And then it will even work after I resume from hibernate within linux (and this also works in linux, if I shutdown completely in linux, when I restart, HDMI output works again). It seems there is something special about shutting down that even hibernate isn't doing.
Run:
$ intel-virtual-output
$ xrandr --output VIRTUAL1 --mode VIRTUAL1.447-2560x1440
$ systemctl suspend
HDMI output will then not send a signal after this no matter what I do until I fully shutdown, for example:
$ killall intel-virtual-output
$ intel-virtual-output
$ xrandr --output VIRTUAL1 --mode VIRTUAL1.447-2560x1440
will do nothing. Also see other cases listed above
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
[tim@yellowhat:~]$ nix-shell -p nix-info --run "nix-info -m"
"x86_64-linux"Linux 4.14.53, NixOS, 18.03.132821.56fad146a12 (Impala)yesnonix-env (Nix) 2.0.4/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgsHere are some journal logs of various points in this process. Note that I don't think this line is a problem:
Jul 08 18:59:08 yellowhat bumblebeed[839]: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
because it even occurs when I can successfully display from the HDMI output.
journal_after_hdmi_output.txt
journal_after_hdmi_output_kill_ivo_restart_ivo_xrandr__works__.txt
journal_after_hibernate_and_restart_ivo_xrandr.txt
journal_after_resume_from_suspend.txt
journal_after_suspend_then_kill_and_restart_intel-vout_and_xrandr.txt
I found a workaround, in case this is affecting anyone else. When you want to wake up the machine, start it, shut it down at the grub menu by pressing the power button, and restart it. Then HDMI output will function correctly again.
Hey! I seem to have somewhat the same problem. My computer hibernated while outputting HDMI using Intel-virtual-output but the difference is I haven't been able to get it working again neither on Linux nor windows. Any ideas?
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Most helpful comment
I found a workaround, in case this is affecting anyone else. When you want to wake up the machine, start it, shut it down at the grub menu by pressing the power button, and restart it. Then HDMI output will function correctly again.