Hello, it has been more than 5 hours that I am trying to get an external 4k monitor to display anything while using proprietary nvidia driver. Latest nvidia and artix linux kernel.
I have an acer Aspire 7 A715-75G with an intel and nvidia GPU. Result of xrandr --listproviders:
Providers: number : 2
Provider 0: id: 0x1b7 cap: 0x1, Source Output crtcs: 4 outputs: 1 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x201 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 2 associated providers: 1 name:modesetting
My laptop knows about the external monitor. When I change something in arandr, a light turns on for a short time, but the screen always stays black. Output of xrandr --listmonitors:
Monitors: 2
0: +HDMI-0 3840/596x2160/335+1920+0 HDMI-0
1: +eDP-1-1 1920/344x1080/194+0+1080 eDP-1-1
I tried prime, but learned that it was more difficult with more than one monitor, so I decided to do like a year ago, nvidia only.
I do not have a xorg.conf, only a /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf file with the content found here: https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only
My .xinitrc does contain
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
Would anyone know how I can get the monitor to work? I won't be able to assist you for a couple of hours from now on, need to go to sleep.