bayasdev / envycontrol

Easy GPU switching for Nvidia Optimus laptops under Linux
MIT License
1.22k stars 62 forks source link

Please help me to enable my external monitor - Envycontrol installed #62

Closed Jack-Chou-HZ closed 1 year ago

Jack-Chou-HZ commented 2 years ago

Hi,

I'm on a new laptop, here are some basic info: ██ OS: Manjaro Linux x86_64 ██████████████████ ████████ Host: HP ZBook Power 15.6 inch G9 Mobile Worksta ████████ ████████ Kernel: 5.15.60-1-MANJARO ████████ ████████ ████████ Uptime: 8 mins ████████ ████████ ████████ Packages: 1266 (pacman) ████████ ████████ ████████ Shell: zsh 5.9 ████████ ████████ ████████ Resolution: 1920x1080 ████████ ████████ ████████ DE: GNOME 42.4 ████████ ████████ ████████ WM: Mutter ████████ ████████ ████████ WM Theme: Adwaita ████████ ████████ ████████ Theme: Adw-dark [GTK2/3] ████████ ████████ ████████ Icons: Papirus-Dark [GTK2/3] Terminal: gnome-terminal CPU: 12th Gen Intel i5-12500H (16) @ 4.500GHz GPU: NVIDIA GeForce RTX 3050 Ti Mobile GPU: Intel Alder Lake-P Memory: 1828MiB / 15631MiB

I installed envycontol.

Problems I have:

  1. The external monitor connected with HDMI won't work (no signal dectected)
  2. If I use hybrid/nvidia MODE, I can't login to GNOME Wayland session (only Xorg)

Questoin:

  1. Which nvidia driver should I install. I see there are at least two options: (1) install video-nvidia, seems a driver dedicated to nvidia (2) install video-hybrid-intel-nvidia-prime / video-hybrid-intel-nvidia-470xx-prime

P.S. I tried the above two drivers already, neither can enable my external monitor, so I try envycontrol, still no luck.

I see envycontrol is able to not only switching GPU modes, but also to enable the external monitor, could you guide me on how to do it?

Thanks in advance.

cronyakatsuki commented 1 year ago

Arch based distros still have wayland disabled when nvidia drivers are detected to load.

Do you get no signal when in integrated or hybrid/dedicated mode?

Jack-Chou-HZ commented 1 year ago

Hi @cronyakatsuki , No, I got no signal, the external monitor is not detected at all (but I'm sure it's not broken since it's working fine with my other laptops). Then I purchased a new monitor, plugin, everything goes on fine. I'm guessing if it's hardware compatibility issue.

bayasdev commented 1 year ago

Just use Xorg on Nvidia mode, Wayland is broken on Optimus + external monitor (on Fedora and Ubuntu it works but it's slow since it's not actually HW accelerated but CPU copy).

El dom, 18 de sep. de 2022 01:46, Jack @.***> escribió:

Hi @cronyakatsuki https://github.com/cronyakatsuki , No, I got no signal, the external monitor is not detected at all (but I'm sure it's not broken since it's working fine with my other laptops). Then I purchased a new monitor, plugin, everything goes on fine. I'm guessing if it's hardware compatibility issue.

— Reply to this email directly, view it on GitHub https://github.com/geminis3/envycontrol/issues/62#issuecomment-1250204693, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALY7IYJ5GKG2X2NEPPQBF3TV623ETANCNFSM57EJHYMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Jack-Chou-HZ commented 1 year ago

Now I'm using Ubuntu + LXQt, Manjaro + Xfce, both on Xorg with my new Dell monitor. Both working fine. I'm afraid I won't try to resolve the problem with my old Samsung Monitor, so I closed the issue here.