Witko/nvidia-xrun

Refresh rate stuck at 60hz when adding nvidia Device and Screen in nvidia-xorg.conf

Legonzaur opened this issue · 0 comments

Distro : Arch
I'm launching dwm through nvidia-xrun
Launching nvidia-xrun with a nvidia-xorg.conf containing only intel stuff works fine : the refresh rate is at 120hz

Section "Device"
  Identifier "nvidia"
  Driver "nvidia"
  BusID "PCI:1:0:0"
EndSection

Section "Device"
  Identifier "intel"
  Driver "modesetting"
EndSection

Section "Screen"
  Identifier "intel"  
  Device "intel"
EndSection

When adding the nvidia screen, the refresh rate is stuck at 60hz

Section "Files"
  ModulePath "/usr/lib/nvidia"
  ModulePath "/usr/lib32/nvidia"
  ModulePath "/usr/lib32/nvidia/xorg/modules"
  ModulePath "/usr/lib32/xorg/modules"
  ModulePath "/usr/lib64/nvidia/xorg/modules"
  ModulePath "/usr/lib64/nvidia/xorg"
  ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "ServerLayout"
  Identifier "layout"
  Screen 1 "nvidia"
  Inactive "intel"
EndSection

Section "Device"
  Identifier "nvidia"
  Driver "nvidia"
  BusID "PCI:1:0:0"
EndSection

Section "Screen"
  Identifier "nvidia"
  Device "nvidia"

EndSection

Section "Device"
  Identifier "intel"
  Driver "modesetting"
  Option "AccelMethod" "none"
EndSection

Section "Screen"
  Identifier "intel"  
  Device "intel"
EndSection