so you uninstall optimus? and also are you running on wayland?
I am not sure what it means to run on Wayland, but Wayland is installed.
run this command:
inxi -Gy1
and is optimus uninstalled?
~ find /etc/X11/ -name "*.conf" ✔
/etc/X11/xorg.conf.d/00-keyboard.conf
/etc/X11/xorg.conf.d/30-touchpad.conf
/etc/X11/mhwd.d/nvidia.conf
~ inxi -Gy1 ✔
Graphics:
Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q]
driver: nvidia
v: 510.73.05
Device-2: AMD Cezanne
driver: amdgpu
v: kernel
Display: wayland
server: X.org
v: 1.21.1.3
with: Xwayland
v: 22.1.1
compositor: kwin_wayland
driver:
X:
loaded: amdgpu,nvidia
unloaded: modesetting,nouveau
gpu: nvidia,amdgpu
resolution: 1920x1080
OpenGL:
renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.42 5.15.41-1-MANJARO)
v: 4.6 Mesa 22.0.4
~ systemctl status optimus-manager ✔
Unit optimus-manager.service could not be found.
you are using wayland on kde with nvidia
in the login screen switch to x11
Done.
inxi -Gy1 ✔
Graphics:
Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q]
driver: nvidia
v: 510.73.05
Device-2: AMD Cezanne
driver: amdgpu
v: kernel
Display: x11
server: X.Org
v: 21.1.3
with: Xwayland
v: 22.1.1
driver:
X:
loaded: amdgpu,nvidia
unloaded: modesetting,nouveau
gpu: amdgpu
resolution:
1: N/A
2: 1920x1080~165Hz
OpenGL:
renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.42 5.15.41-1-MANJARO)
v: 4.6 Mesa 22.0.4
I also see the device in display settings. But I still can’t get it working:
@brahma Do you have any suggestions on how to proceed from here? I guess my last option is to uninstall the Nvidia drivers… The external display worked fine when I first connected, I believe I had free.
i still dont know if you have uninstalled optimus-manager?
all right and output from:
find /etc/X11/ -name "*.conf"
find /etc/X11/ -name "*.conf" 4 ✘
/etc/X11/xorg.conf.d/00-keyboard.conf
/etc/X11/xorg.conf.d/30-touchpad.conf
/etc/X11/mhwd.d/nvidia.conf
so uninstall the hybrid drivers and see if that helps:
sudo mhwd -r pci video-hybrid-amd-nvidia-prime
reboot
No improvements. See the results after reboot:
find /etc/X11/ -name "*.conf" ✔
/etc/X11/xorg.conf.d/00-keyboard.conf
/etc/X11/xorg.conf.d/30-touchpad.conf
inxi -G ✔
Graphics:
Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q] driver: nouveau
v: kernel
Device-2: AMD Cezanne driver: amdgpu v: kernel
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1 driver: X:
loaded: amdgpu,modesetting gpu: amdgpu,nouveau resolution: 1920x1080~165Hz
OpenGL: renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.42 5.15.41-1-MANJARO)
v: 4.6 Mesa 22.0.4
create a new user, and test with it if you can detect the monitor, so that we can check if its some config in home folder
why are you still on Wayland ? It does not work properly with nvidia-prime !
Creating and using a new user did not work.
@Olli
Sorry. I see Xwayland, but the session is X11 I think - at least that’s what which is selected.
go to system settings/compositor and uncheck enable on startup, click, apply and reboot
please post the output of
echo $XDG_SESSION_TYPE
then we’ll see what session you’re on
and also post the output of
glxinfo | grep server
and
prime-run glxinfo | grep server
~ echo $XDG_SESSION_TYPE ✔
x11
~ glxinfo | grep server ✔
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
~ prime-run glxinfo | grep server ✔
The application prime-run is not installed. It may be found in the following packages:
extra/nvidia-prime 1.0-4 /usr/bin/prime-run
Do you want to Install package nvidia-prime? (y/N) y
Executing command: pamac install nvidia-prime
Preparing...
Error: Authentication failed
~ 127|1 ✘ 7s
prime-run not installed. Want me to do so?
yes do it, it can’t get more worse than it is now.
btw. do you think you’re confident enough to install the nvidia-non free driver back ?