You are not logged in.

#1 2017-01-01 01:06:41

DTA7
Member
Registered: 2016-12-31
Posts: 4

Monitor selection with Nvidia DRM kernel mode setting

I enabled the DRM KMS driver of the proprietary nvidia driver (nvidia 375.26-1) by following the steps described in
https://wiki.archlinux.org/index.php/NV … de_setting,
and by putting the relevant files into the initramfs.
Into /etc/modprobe.de/nvidia.conf:

options nvidia-drm modeset=1

and into /etc/mkinitcpio.conf:

MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm"
FILES="/etc/modprobe.de/nvidia.conf"

The nouveau and intel drivers were also disabled.
Then I tried using

GRUB_CMDLINE_LINUX="splash video=HDMI-A-1:D video=DVI-I-1:d"

in /etc/default/grub, as I wanted to disable the monitor on DVI-I-1 and enable the one on HDMI-A-1.
In the dmesg output, this produced the lines

[  +0.000803] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  375.26  Thu Dec  8 18:04:14 PST 2016
[  +0.000868] [drm] Initialized drm 1.1.0 20060810
[  +0.001204] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[  +0.610620] nvidia-modeset: Allocated GPU:0 (GPU-6695c6e3-3250-5fd4-2247-b881d9a9c9f1) @ PCI:0000:01:00.0
[  +0.051489] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DVI-I-0
[  +0.000026] [drm] forcing DVI-I-1 connector OFF
[  +0.023047] [drm] forcing HDMI-A-1 connector ON
[  +0.000226] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  +0.000001] [drm] No driver support for vblank timestamp query.

but still only the monitor on DVI-I-1 was used, so this was somehow not respected.
The EDID information for the DVI-I-1 monitor can't be read because of an DVI-VGA adapter, which is the reason I want to select the other monitor in the first place, as supplying the EDID information with drm_kms_helper did not work either.

Is there something I am missing or is it just not possible?

Offline

Board footer

Powered by FluxBB