-
-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Generally the eGPU switcher works great. I have a Razer Core X Chroma eGPU with an HDMI monitor and a VR headset via DisplayPort and both work fine (as long as my GPU does not run out of VRAM and there are still several issues with Monado + SteamVR with the HP Reverb G2). I can also reenable the laptop screen fine with the eGPU enabled via xrandr/arandr in this case (it's just named differently, eDP-1 instead of eDP and not enabled by default when the eGPU is enabled). Thanks a lot for this very useful tool!
What does not work for me yet is starting X11/lightdm with no screen connected to the eGPU, so using just the laptop screen but with the eGPU enabled. The eGPU switcher correctly notices that no monitor is connected to the eGPU and that it has four HDMI+DisplayPort ports available. And suggest to use the "--override" flag.
Running the following leaves me with a black laptop screen:
$ sudo ~/dev-priv/egpu-switcher/bin/egpu-switcher switch --override
$ sudo /etc/init.d/lightdm restart
On a non-X11 TTY xrandr shows the following error message:
$ DISPLAY=:0 xrandr
Invalid MIT-MAGIC-COOKIE-1 key
Can't open display :0
$ DISPLAY=:1 xrandr
Can't open display :1
$ DISPLAY=:2 xrandr
Can't open display :2
Where I would have expected to see at least eDP-1.
$ cat /etc/X11/xorg.conf.d/99-egpu-switcher.conf
# autogenerated by egpu-switcher
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "Device0"
Driver "amdgpu"
BusID "PCI:7@0:0:0"
Option "AllowEmptyInitialConfiguration"
Option "AllowExternalGpus" "True"
EndSection
Xorg log:
Xorg.0.log
lspci:
lspci.txt
- Did you install
egpu-switchervia ppa or via git + make- git + make, no install
- What Linux distribution (+ version) are you using
- Debian Sid, Linux 6.1.15-1 (from Debian packages)
- What brand / model is your laptop
- Lenovo Thinkpad T14s AMD Gen3
- What brand / model is your GPU (+ enclosure)
- iGPU: AMD/ATI Ryzen Radeon 680M, eGPU: Radeon RX 6650 XT, eGPU enclosure: Razer Core X Chroma
- What drivers (+ version) are you using
- OpenSource amdgpu from Linux 6.1.15-1, firmware-amd-graphics 20230210-4, Mesa 22.3.6-1
- What Desktop-Environment do you use (+ Display-Manager)
- lightdm
- If you are not using a Desktop-Environment, what Window-Manager do you use?
- Xmonad (with the LightDM greeter with no Xmonad starting up by default, but not even the LightDM greeter appears on the laptop monitor when no monitor is connected to the eGPU)
Metadata
Metadata
Assignees
Labels
Projects
Status