I have a NUC 5i3RYH and I wanted to set up a customized xorg.conf file, because using a mini DisplayPort to HDMI adapter (cheaper than mini HDMI to HDMI adapter) overscans (does not fit the screen).
We want to set the resolution and transform it a bit as we would with
xrandr -display :0 --output HDMI2 --mode 1920x1080 --transform 1.05,0,-35,0,1.05,-19,0,0,1. To set this boy up, you need to configure what Xorg calls a "Screen". It has two important dependencies: "Device" (link to physical graphics card) and "Monitor" (link to the output port).
- I needed to find the video driver (link to graphics device).
lspci -nnk | grep -i vga -A3 | grep 'in use'which yielded
Kernel driver in use: i915, so naturally, I figured that I needed to put
Driver "i915"into my "Device" section. It turned out that this should be "intel" Why, and how would I come to this conclusion? (assuming I do not have access to Google haha) What, in my understanding, is missing?
Section "Device" Identifier "Intel HD Graphics 5500" #Unique Ref for Screen Section Driver "intel" #Driver used for physical device Option "DPMS" "false" EndSection Section "Monitor" Identifier "monitor-DisplayPort-HDMI2" #Unique Ref for Screen Section # I have no idea how this gets linked to my output port EndSection Section "Screen" Identifier "Screen0" #Join Monitor and Device Section Params Device "Intel HD Graphics 5500" #Mandatory link to Device Section Monitor "monitor-DisplayPort-HDMI2" #Mandatory link to Monitor Section DefaultDepth 16 #Choose the depth (16||24) SubSection "Display" Depth 16 Modes "1920x1080_60.00" #Choose the resolution Option "TransformationMatrix" "1.05,0,-35,0,1.05,-19,0,0,1" #Not working EndSubSection EndSection
- Running Arch Linux: 4.9.11-1-ARCH #1 SMP PREEMPT Sun Feb 19 13:45:52 UTC 2017 x86_64 GNU/Linux
- I am not sure where to put
transformin an Xorg config