Well, got it to work (technically), but not as expected. Now I’m writing this from a Gnome GUI with a 640x480 resolution without the option to change it.
My xorg.conf:
Section “ServerLayout”
Identifier “Layout0”
Screen 0 “Screen0”
InputDevice “Keyboard0” “CoreKeyboard”
InputDevice “Mouse0” “CorePointer”
EndSection
Section “Files”
EndSection
Section “InputDevice”
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section “InputDevice”
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section “Monitor”
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Unknown”
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option “DPMS”
EndSection
Section “Module”
Load “modesetting”
EndSection
Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
BoardName “GeForce GTX 960M”
BusID “PCI:2:0:0”
Option “AllowEmptyInitialConfiguration”
EndSection
Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
SubSection “Display”
Depth 24
EndSubSection
EndSection
xrandr providers:
xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x1e0 cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x44 cap: 0x2, Sink Output crtcs: 3 outputs: 2 associated providers: 1 name:modesetting
lsmod | grep nvidia
nvidia_drm 45056 4
nvidia_modeset 790528 8 nvidia_drm
nvidia 12144640 147 nvidia_modeset
drm_kms_helper 155648 2 i915,nvidia_drm
drm 360448 8 i915,nvidia_drm,drm_kms_helper
Output from xrandr
xrandr
Screen 0: minimum 8 x 8, current 640 x 480, maximum 16384 x 16384
eDP-1-1 connected primary 640x480+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
640x480 59.94*
320x240 60.05
HDMI-1-1 disconnected (normal left inverted right x axis y axis)