You are not logged in.

#1 2024-04-10 01:18:36

Arcansel
Member
Registered: 2024-04-10
Posts: 4

[SOLVED] Since i installed Arch Linux my other monitor is never used

Hello, first time here, i installed Arch Linux for the first time by following a youtube video, i have got both windows and Arch linux installed in the same nvme in diferent partitions and with separate efi partitions.
Every time i boot into Arch Linux or even during the installation, my main monitor would turn off(Not actually powered off, just not being used) and instead it would display on the second monitor, i know it is not an hardware problem because both monitors work just fine in my Windows 11 OS, in resume, both monitors never ever worked at the same time with Arch Linux. I have Xorg installed, the video driver in use is Nouveau, my graphic card is RTX 3090 with an amd ryzen processor. Grub is the bootloader that i use.

I should also say that i did try to fix this in multiple ways myself, i tried creating a 10-monitor.conf file inside /etc/X11/xorg.conf.d.
I tried installing Arch Linux LTS but it only made it worse, both monitors are turned off, so i switched back to latest linux version.
i remember i tried to use xrandr commands to set the monitor to be on but it doesn't display anything still.
Tried using right click on desktop to open context menu and clicking Display Settings and tried multiple settings like making the other monitor as main, switching screens around, changing resolution in the working monitor to the same resolution as the other monitor(the working monitor is 4k and the other is 1920x1080), but it also turned the 4k monitor off so i had to wait for the time to run out to restore to previous resolution or i would risk turning the 4k one off as well if i accidentally applied setting.
I did some other minor stuff i don't remember.

10-monitor.conf

Section "Monitor"
    Identifier  "HDMI-1"
    Option      "Primary" "true"
EndSection

Section "Monitor"
    Identifier  "DP-2"
    Option      "Below" "HDMI-1"
EndSection

uname -r

6.8.4-arch1-1

xrandr --listmonitors

Monitors: 2
 0: +*HDMI-1 3840/1600x2160/900+0+0  HDMI-1
 1: +DP-2 1920/543x1080/302+1282+2160  DP-2

xrandr -q

Screen 0: minimum 320 x 200, current 3840 x 3240, maximum 16384 x 16384
HDMI-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   3840x2160     60.00*+  50.00    59.94    59.97    30.00    25.00    24.00    29.97    23.98  
   4096x2160     60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   3200x1800     59.96    59.94  
   2880x1620     59.96    59.97  
   2560x1600     59.99    59.97  
   2560x1440     59.99    59.96    59.95    59.95  
   2048x1536     85.00    75.00    60.00  
   1920x1440     85.00    75.00    60.00  
   1856x1392     75.00    60.01  
   1792x1344     75.00    60.01  
   2048x1152     59.99    59.98    59.90    59.91  
   1920x1200     59.88    59.95  
   1920x1080     60.01   120.00   100.00   119.88    59.97    59.96    60.00    60.00    50.00    59.94    59.93    30.00    25.00    24.00    29.97    23.98  
   1600x1200     85.00    75.00    70.00    65.00    60.00  
   1680x1050     59.95    59.88  
   1400x1050     74.76    59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     85.02    75.02    60.02  
   1400x900      59.96    59.88  
   1280x960      85.00    60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      60.02  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      75.00    59.97  
   1280x720      60.00    59.99    59.86    60.00    50.00    59.94    59.74  
   1024x768      85.00    75.05    60.04    85.00    75.03    70.07    60.00  
   1024x768i     86.96  
   960x720       85.00    75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   832x624       74.55  
   960x540       59.96    59.99    59.63    59.82  
   800x600       85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   720x576       50.00  
   700x525       74.76    59.98  
   800x450       59.95    59.82  
   720x480       60.00    59.94  
   640x512       85.02    75.02    60.02  
   700x450       59.96    59.88  
   640x480       85.09    60.00    85.01    72.81    75.00    60.00    59.94  
   720x405       59.51    58.99  
   720x400       85.04    70.08  
   684x384       59.88    59.85  
   640x400       59.88    59.98    85.08  
   576x432       75.00  
   640x360       59.86    59.83    59.84    59.32  
   640x350       85.08  
   512x384       85.00    75.03    70.07    60.00  
   512x384i      87.06  
   512x288       60.00    59.92  
   416x312       74.66  
   480x270       59.63    59.82  
   400x300       85.27    72.19    75.12    60.32    56.34  
   432x243       59.92    59.57  
   320x240       85.18    72.81    75.00    60.05  
   360x202       59.51    59.13  
   360x200       85.04  
   320x200       85.27  
   320x180       59.84    59.32  
   320x175       85.27  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 1920x1080+1282+2160 (normal left inverted right x axis y axis) 543mm x 302mm
   1920x1080     59.99 + 240.00*  143.98   119.98    59.97    59.96    59.93  
   1680x1050     59.95    59.88  
   1400x1050     74.76    59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     85.02    75.02    60.02  
   1400x900      59.96    59.88  
   1280x960      85.00    60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      75.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      85.00    75.05    60.04    85.00    75.03    70.07    60.00  
   1024x768i     86.96  
   960x720       85.00    75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   832x624       74.55  
   960x540       59.96    59.99    59.63    59.82  
   800x600       85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       74.76    59.98  
   800x450       59.95    59.82  
   640x512       85.02    75.02    60.02  
   700x450       59.96    59.88  
   640x480       85.09    60.00    85.01    72.81    75.00    60.00    59.94  
   720x405       59.51    58.99  
   720x400       85.04  
   684x384       59.88    59.85  
   640x400       59.88    59.98    85.08  
   576x432       75.00  
   640x360       59.86    59.83    59.84    59.32  
   640x350       85.08  
   512x384       85.00    75.03    70.07    60.00  
   512x384i      87.06  
   512x288       60.00    59.92  
   416x312       74.66  
   480x270       59.63    59.82  
   400x300       85.27    72.19    75.12    60.32    56.34  
   432x243       59.92    59.57  
   320x240       85.18    72.81    75.00    60.05  
   360x202       59.51    59.13  
   360x200       85.04  
   320x200       85.27  
   320x180       59.84    59.32  
   320x175       85.27  
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)

xrandr --listproviders

Providers: number : 1
Provider 0: id: 0x47 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 5 associated providers: 0 name:modesetting

lspci | grep VGA

0b:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3090] (rev a1)

pacman -Qs xf86-video

local/xf86-video-amdgpu 23.0.0-2 (xorg-drivers)
    X.org amdgpu video driver
local/xf86-video-ati 1:22.0.0-2 (xorg-drivers)
    X.org ati video driver
local/xf86-video-dummy 0.4.1-2 (xorg-drivers)
    X.org dummy video driver
local/xf86-video-fbdev 0.5.0-4 (xorg-drivers)
    X.org framebuffer video driver
local/xf86-video-nouveau 1.0.17-3 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards
local/xf86-video-vesa 2.6.0-2 (xorg-drivers xorg)
    X.org vesa video driver
local/xf86-video-vmware 13.4.0-3 (xorg-drivers)
    X.org vmware video driver

pacman -Qs intel

local/intel-gmmlib 22.3.18-1
    Intel Graphics Memory Management Library
local/intel-media-driver 24.2.0-1
    Intel Media Driver for VAAPI — Broadwell+ iGPUs
local/libva-intel-driver 2.4.1-2
    VA-API implementation for Intel G45 and HD Graphics family
local/libvpl 2.10.2-1
    Intel Video Processing Library
local/vulkan-intel 1:24.0.4-2
    Open-source Vulkan driver for Intel GPUs

pacman -Qs mesa

local/libva-mesa-driver 1:24.0.4-2
    Open-source VA-API drivers
local/mesa 1:24.0.4-2
    Open-source OpenGL drivers

pacman -Qs nvidia

local/libvdpau 1.5-2
    Nvidia VDPAU library
local/xf86-video-nouveau 1.0.17-3 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards

This is some info that may be relevant but do let me know what other info is needed.

Last edited by Arcansel (2024-04-10 18:20:41)

Offline

#2 2024-04-10 08:11:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: [SOLVED] Since i installed Arch Linux my other monitor is never used

work just fine in my Windows 11 OS

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

pacman -Qs xf86-video

Remove all of that except maybe xf86-video-vmware if you actually plan to use vmware

0b:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3090] (rev a1)
…
local/xf86-video-nouveau 1.0.17-3 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards
…
Provider 0: id: 0x47 … associated providers: 0 name:modesetting

doesn't add up, please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Screen 0: minimum 320 x 200, current 3840 x 3240, maximum 16384 x 16384
HDMI-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   3840x2160     60.00*+  50.00    59.94    59.97    30.00    25.00    24.00    29.97    23.98 
…
DP-2 connected 1920x1080+1282+2160 (normal left inverted right x axis y axis) 543mm x 302mm
   1920x1080     59.99 + 240.00*  143.98   119.98    59.97    59.96    59.93  

Shows HDMI-0 and DP-2 in use, where the apparently troublesome DP-2 however is off the preferred 60Hz running on 240Hz for some reason.

xrandr --output DP-2 --rate 60

But even if that works, post the xorg log for the inconsistencies mentioned above.

Offline

#3 2024-04-10 08:50:41

Arcansel
Member
Registered: 2024-04-10
Posts: 4

Re: [SOLVED] Since i installed Arch Linux my other monitor is never used

seth wrote:

work just fine in my Windows 11 OS

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

pacman -Qs xf86-video

Remove all of that except maybe xf86-video-vmware if you actually plan to use vmware

0b:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3090] (rev a1)
…
local/xf86-video-nouveau 1.0.17-3 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards
…
Provider 0: id: 0x47 … associated providers: 0 name:modesetting

doesn't add up, please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Screen 0: minimum 320 x 200, current 3840 x 3240, maximum 16384 x 16384
HDMI-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   3840x2160     60.00*+  50.00    59.94    59.97    30.00    25.00    24.00    29.97    23.98 
…
DP-2 connected 1920x1080+1282+2160 (normal left inverted right x axis y axis) 543mm x 302mm
   1920x1080     59.99 + 240.00*  143.98   119.98    59.97    59.96    59.93  

Shows HDMI-0 and DP-2 in use, where the apparently troublesome DP-2 however is off the preferred 60Hz running on 240Hz for some reason.

xrandr --output DP-2 --rate 60

But even if that works, post the xorg log for the inconsistencies mentioned above.

I did 'powercfg /H off' before installing Arch Linux.
Just removed all xf86-video drivers.
The reason DP-2 is 240hz, it is because the monitor is 360hz but i decrease it to 240 because it is overkill.
Here is the xorg log: https://easyupload.io/vzllr1

Last edited by Arcansel (2024-04-10 08:51:34)

Offline

#4 2024-04-10 08:55:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: [SOLVED] Since i installed Arch Linux my other monitor is never used

[     7.981] (EE) Unknown chipset: NV172

xf86-video-nouveau failed because your HW is to new.

Does running DP-2 @ 60Hz activate it?
You might want consider to try https://wiki.archlinux.org/title/NVIDIA#Installation
(Pay close attention to esp. step #5 and also see https://wiki.archlinux.org/title/NVIDIA … de_setting - you don't want to confuse the situation w/ the simpledrm device in the mix)

Offline

#5 2024-04-10 11:18:10

Arcansel
Member
Registered: 2024-04-10
Posts: 4

Re: [SOLVED] Since i installed Arch Linux my other monitor is never used

seth wrote:
[     7.981] (EE) Unknown chipset: NV172

xf86-video-nouveau failed because your HW is to new.

Does running DP-2 @ 60Hz activate it?
You might want consider to try https://wiki.archlinux.org/title/NVIDIA#Installation
(Pay close attention to esp. step #5 and also see https://wiki.archlinux.org/title/NVIDIA … de_setting - you don't want to confuse the situation w/ the simpledrm device in the mix)

I followed your guidance and it seems that installing the nvidia drivers made it work, there is only an artifact that appeared, there is an extra monitor being detected with name 'Unknown Display ' in "Display Settings". It also appears that my previous working monitor, the 4K one, is now displaying as connected in HDMI-0, HDMI-1 is now disconnected but i still ran the command "xrandr --output HDMI-1 --off" to be sure.

xrandr -q

Screen 0: minimum 8 x 8, current 1920 x 2160, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   3840x2160     60.00 +  59.94    50.00    29.97    25.00    23.98  
   4096x2160     59.94    50.00    29.97    25.00    24.00    23.98  
   2560x1440     59.95  
   1920x1080    119.88*  100.00    60.00    59.94    50.00    29.97    25.00    23.98  
   1360x768      60.02  
   1280x1024     60.02  
   1280x720      59.94    50.00  
   1152x864      60.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       59.95    59.94    59.93  
DP-2 connected primary 1920x1080+0+1080 (normal left inverted right x axis y axis) 543mm x 302mm
   1920x1080     59.99 + 360.11   299.95   240.00*  143.98   119.98  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
None-1-1 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +

xrandr --listmonitors

Monitors: 2
 0: +*DP-2 1920/543x1080/302+0+1080  DP-2
 1: +HDMI-0 1920/1600x1080/900+0+0  HDMI-0

xrandr --listproviders

Providers: number : 2
Provider 0: id: 0x1b7 cap: 0x1, Source Output crtcs: 4 outputs: 8 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x20b cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 1 name:modesetting

pacman -Qs nvidia

local/egl-wayland 2:1.1.13-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 550.67-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-2
    Nvidia VDPAU library
local/nvidia 550.67-5
    NVIDIA drivers for linux
local/nvidia-utils 550.67-1
    NVIDIA drivers utilities

modinfo nvidia_drm

filename:       /lib/modules/6.8.4-arch1-1/extramodules/nvidia-drm.ko.xz
version:        550.67
supported:      external
license:        MIT
srcversion:     24DDCB251789C1698DA28D1
alias:          pci:v000010DEd*sv*sd*bc06sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
depends:        nvidia-modeset
retpoline:      Y
name:           nvidia_drm
vermagic:       6.8.4-arch1-1 SMP preempt mod_unload 
parm:           modeset:Enable atomic kernel modesetting (1 = enable, 0 = disable (default)) (bool)
parm:           fbdev:Create a framebuffer device (1 = enable, 0 = disable (default)) (EXPERIMENTAL) (bool)

i am trying stuff but so far i cant seem to get rid of the extra monitor, it doesn't seem to be affecting anything else besides me wanting it gone to make things right and clean.

Last edited by Arcansel (2024-04-10 11:36:44)

Offline

#6 2024-04-10 12:28:22

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,230

Re: [SOLVED] Since i installed Arch Linux my other monitor is never used

The extra monitor will go away if you follow the second link seth posted and set the nvidia-drm.modeset=1 kernel parameter as a kernel parameter on your bootloader.

Offline

#7 2024-04-10 12:28:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: [SOLVED] Since i installed Arch Linux my other monitor is never used

That's the simpledrm device, "cat /proc/cmdline" will reveal that you've not set the nvidia_drm.modeset=1 parameter (the parameter is crucial, putting that into the modprobe.conf won't do)

is now displaying as connected in HDMI-0, HDMI-1

The output naming scheme is unfortunately not standardized and you also changed the kernel module, this is nasty but not concerning.

Offline

#8 2024-04-10 18:20:19

Arcansel
Member
Registered: 2024-04-10
Posts: 4

Re: [SOLVED] Since i installed Arch Linux my other monitor is never used

Alright all done, thank you for all the help.

Offline

Board footer

Powered by FluxBB