How to configure Xorg?

Armbian 23.5 minimal with Ubuntu-Mate-Desktop installed from package. Question is also in Armbian forum and super user forum.

I'm trying to configure Xorg to ignore an unused video output that it insists on defaulting to.

I have tried editing the /etc/X11xorg.conf file but I get the impression this configuration is ignored as no/any change I make has no effect.

xrandr is telling me that an output called "None-1" is the primary and currently in use by Xorg. However this graphics device is internal to my SOC and has no external wiring so I would like that to be ignored and to use device HDMI-1-1 instead.

Here is my xorg.conf file:

Section "Device"
    Identifier  "DRM Graphics Acclerated"

    ## Use modesetting and glamor
        Driver      "modesetting"
        Option      "AccelMethod"    "glamor"     ### "glamor" to enable 3D acceleration, "none" to disable.
        Option      "DRI"            "2"
        Option      "Dri2Vsync"      "true"
        Option      "TripleBuffer"   "True"
    ## End glamor configuration

EndSection

Section "Screen"
    Identifier "Default Screen"
        SubSection "Display"
            Depth 24
        EndSubSection
    Monitor "Default Monitor"
EndSection

Section "Monitor"
    Identifier "Default Monitor"
    Option "Monitor-HDMI-1-1" "HDMI monitor"
    Option "Primary"
    Option "Enable" "1"
EndSection

Section "Monitor"
    Identifier "Unused Monitor"
    Option "Monitor-None-1" "None monitor"
    Option "Ignore" "1"
EndSection

And here is the output from xrandr:

Screen 0: minimum 320 x 200, current 720 x 576, maximum 4096 x 4096
None-1 connected primary 720x576+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   720x576       60.00*+
HDMI-1-1 connected (normal left inverted right x axis y axis)
   2560x1440     59.95 +
   1920x1080     60.00    60.00    50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1400x1050     59.95  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    66.67  

Any ideas on what I'm doing wrong here and how to correctly configure xorg to use the HDMI port?

I think it saves you a lot of hassle if you disable that output on kernel level.

You need the kernel to boot with

 video=None-1:d

and after that, and a reboot, the output shouldn't exist anymore

I don't know if Armbian uses Grub as bootloader, but if it is, you can add this kernelparameter in /etc/default/grub by changing the line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
into
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=None-1:d"

and run update-grub afterwards.

2 Likes

Thanks for your input. Much obliged.

I don't think there is a grub so I will go back to the Armbian community and find out how to dot that.

2 Likes

It turns out this mystery video device (None-1) was due to the latest kernel. I reverted the kernel to a known working version and everything is fixed. It didn't matter what I changed I could not get the newer kernel to disable the device or Xorg to ignore it.

3 Likes