Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen with underscore after suspend/resume #25

Open
nicolas-t opened this issue Jun 3, 2024 · 1 comment
Open

Black screen with underscore after suspend/resume #25

nicolas-t opened this issue Jun 3, 2024 · 1 comment

Comments

@nicolas-t
Copy link

Hello,

Ideally I'd like to have my eGPU always on, and be able suspend/resume my laptop during the night like a regular computer.
I've tried the 3 methods but none of them seem to work for me.

When I resume my laptop I get a black screen with a white underscore, keyboard is unresponsive and l’m forced to stop the laptop and the eGPU before restarting.

Can you help me navigate the logs and to resolve this issue ?

For example after running all-ways-egpu configure egpu

I get this status:

Method 1 setup with following Bus IDs
0000:00:02.0 i915
0000:00:1f.3 snd_hda_intel
Method 2, 3 setup with following Bus IDs
0000:04:00.0 nvidia
0000:04:00.1 snd_hda_intel
0000:04:00.0 eGPU connected, not set as primary with Method 2
Method 1 auto switch at startup service
○ all-ways-egpu.service - Configure eGPU as primary under Wayland desktops
     Loaded: loaded (/etc/systemd/system/all-ways-egpu.service; enabled; vendor preset: enabled)
     Active: inactive (dead)
Method 2 auto switch at startup service
○ all-ways-egpu-boot-vga.service - Configure eGPU as primary using boot_vga under Wayland desktops
     Loaded: loaded (/etc/systemd/system/all-ways-egpu-boot-vga.service; disabled; vendor preset: enabled)
     Active: inactive (dead)
Method 3 auto switch at startup service
○ all-ways-egpu-set-compositor.service - Configure eGPU as primary using compositor variables under Wayland desktops
     Loaded: loaded (/etc/systemd/system/all-ways-egpu-set-compositor.service; disabled; vendor preset: enabled)
     Active: inactive (dead)
Press [Enter] to return to menu.

My setup is as follow:
Ubuntu 22.04
Gnome
Wayland
Razer Core x
Nvidia 3060

Thank you

@nicolas-t
Copy link
Author

New infos:
I get the same behaviour (black screen with underscore, forced to shut down computer) when restarting the Display Manager.

nicolas@laptop ~  » sudo all-ways-egpu set-boot-vga egpu                                                         
Existing bind mounts recorded. Removing...
umount: /sys/bus/pci/devices/0000:00:02.0/boot_vga: non monté.
umount: /sys/bus/pci/devices/0000:04:00.0/boot_vga: non monté.
Bind mounts removed successfully. Restart Display Manager for changes to take effect.
/sys/bus/pci/devices/0000:00:02.0
/sys/bus/pci/devices/0000:04:00.0
Bind mounts set. Restart Display Manager for changes to take effect.

Then status:

Enter Choice [0-9]: 
9   
Method 1 setup with following Bus IDs
0000:00:02.0 i915
0000:00:1f.3 snd_hda_intel
Method 2, 3 setup with following Bus IDs
0000:04:00.0 nvidia
0000:04:00.1 snd_hda_intel
0000:04:00.0 eGPU currently active as primary with Method 2
Method 1 auto switch at startup service
○ all-ways-egpu.service - Configure eGPU as primary under Wayland desktops
     Loaded: loaded (/etc/systemd/system/all-ways-egpu.service; enabled; vendor preset: enabled)
     Active: inactive (dead) since Mon 2024-06-03 22:21:46 CEST; 2min 54s ago
    Process: 2295 ExecStart=all-ways-egpu boot (code=exited, status=0/SUCCESS)
   Main PID: 2295 (code=exited, status=0/SUCCESS)
        CPU: 23ms

juin 03 22:21:46 laptop systemd[1]: Starting Configure eGPU as primary under Wayland desktops...
juin 03 22:21:46 laptop all-ways-egpu[2295]: No eGPU attached display detected. (Of 4 eGPU outputs detected) Internal mode and using prime offloading are recommended for this configuration.
juin 03 22:21:46 laptop all-ways-egpu[2295]: No eGPU detected or not setup to remove internal GPU
juin 03 22:21:46 laptop systemd[1]: all-ways-egpu.service: Deactivated successfully.
juin 03 22:21:46 laptop systemd[1]: Finished Configure eGPU as primary under Wayland desktops.
Method 2 auto switch at startup service
○ all-ways-egpu-boot-vga.service - Configure eGPU as primary using boot_vga under Wayland desktops
     Loaded: loaded (/etc/systemd/system/all-ways-egpu-boot-vga.service; disabled; vendor preset: enabled)
     Active: inactive (dead)
Method 3 auto switch at startup service
○ all-ways-egpu-set-compositor.service - Configure eGPU as primary using compositor variables under Wayland desktops
     Loaded: loaded (/etc/systemd/system/all-ways-egpu-set-compositor.service; disabled; vendor preset: enabled)
     Active: inactive (dead)
Press [Enter] to return to menu.

Then, after restarting the display manager I get stuck on the black screen until I force a shutdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant