AMD Radeon RX 580 - Second Monitor not working

Hello,

I’m new to Linux and coming from a decade of using Apple.

Since two days I search the forums and look for similar problems and try to solve my issue with my second monitor. It actually is a Beamer connected to the HDMI out of my AMD Radeon RX 580.

I have my primary display connected via DisplayPort and the second on the HDMI output.

In the native Display Settings the second Display is seen, but cannot be activated. Also it seems like it’s loosing the connection every couple of seconds. Here is a video showing how it looks like in the settings.

I switched to mesa-git driver and also tried the experimentel Kernel 5.17, but still cannot activate the display.

The following system information was requested in similar threads, so I will post them here as well.

Drivers:

[lzee@abc ~]$ mhwd -la
> All PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
    video-nvidia-470xx            2021.12.18               false            PCI
video-hybrid-intel-nvidia-390xx-bumblebee            2021.12.18               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.12.18               false            PCI
          video-nvidia            2021.12.18               false            PCI
video-hybrid-intel-nvidia-prime            2021.12.18               false            PCI
    video-nvidia-390xx            2021.12.18               false            PCI
     video-modesetting            2020.01.13                true            PCI
              video-s3            2020.01.18                true            PCI
            video-vesa            2017.03.12                true            PCI
          video-sisusb            2020.01.18                true            PCI
          video-voodoo            2017.03.12                true            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.12.18               false            PCI
  video-virtualmachine            2021.07.26                true            PCI
video-hybrid-amd-nvidia-prime            2021.12.18               false            PCI
      video-openchrome            2020.01.18                true            PCI
       video-rendition            2020.01.18                true            PCI
           video-linux            2018.05.04                true            PCI
   network-broadcom-wl            2018.10.07               false            PCI
       network-slmodem            2013.12.07                true            PCI
     network-rt3562sta            2013.12.07                true            PCI
         network-r8168            2016.04.20                true            PCI


Warning: No USB configs found!

General System (stripped for graphic relevant device):

[lzee@abc ~]$ lspci -k

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)
	Subsystem: Tul Corporation / PowerColor Radeon RX 580
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

xrandr output

[lzee@abc ~]$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x59 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 5 associated providers: 0 name:AMD Radeon RX 580 Series @ pci:0000:01:00.0

System:

[lzee@abc ~]$ inxi -Fxxxz
System:
  Kernel: 5.15.21-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1
    vt: 7 dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Acidanthera product: iMac20,1 v: 1.0
    serial: <superuser required> Chassis: type: 13 v: Mac-XXX
    serial: <superuser required>
  Mobo: Acidanthera model: Mac-XXX v: iMac20,1
    serial: <superuser required> UEFI: Acidanthera v: 1715.40.15.0.0
    date: 10/03/2021
CPU:
  Info: 8-core model: Intel Core i7-10700K bits: 64 type: MT MCP smt: enabled
    arch: Comet Lake rev: 5 cache: L1: 512 KiB L2: 2 MiB L3: 16 MiB
  Speed (MHz): avg: 1348 high: 4035 min/max: 800/5100 cores: 1: 851 2: 1200
    3: 907 4: 1579 5: 3320 6: 4035 7: 800 8: 800 9: 1149 10: 1055 11: 1200
    12: 1155 13: 1130 14: 800 15: 800 16: 800 bogomips: 121639
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
    vendor: Tul driver: amdgpu v: kernel bus-ID: 01:00.0 chip-ID: 1002:67df
    class-ID: 0300
  Device-2: Logitech Webcam C930e type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-5:3 chip-ID: 046d:0843 class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org 1.21.1.3 compositor: xfwm4 v: 4.16.1 driver:
    loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa
    resolution: 5120x1440~120Hz s-dpi: 96
  OpenGL: renderer: AMD Radeon RX 580 Series (polaris10 LLVM 13.0.1 DRM
    3.42 5.15.21-1-MANJARO)
    v: 4.6 Mesa 22.1.0-devel (git-4ed9fd62c9) direct render: Yes
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Gigabyte driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:06c8 class-ID: 0403
  Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
    vendor: Tul driver: snd_hda_intel v: kernel bus-ID: 01:00.1
    chip-ID: 1002:aaf0 class-ID: 0403
  Device-3: Logitech Webcam C930e type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-5:3 chip-ID: 046d:0843 class-ID: 0102 serial: <filter>
  Sound Server-1: ALSA v: k5.15.21-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.45 running: yes
Network:
  Device-1: Intel Ethernet I225-V vendor: Gigabyte driver: igc v: kernel
    port: N/A bus-ID: 07:00.0 chip-ID: 8086:15f3 class-ID: 0200
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 6.14 TiB used: 14.95 GiB (0.2%)
  ID-1: /dev/sda vendor: HGST (Hitachi) model: HDS724040ALE640
    size: 3.64 TiB speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
    rev: A580 scheme: GPT
  ID-2: /dev/sdb vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 2B6Q scheme: GPT
  ID-3: /dev/sdc vendor: Western Digital model: WD20EZRX-00D8PB0
    size: 1.82 TiB speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A80 scheme: GPT
  ID-4: /dev/sdd vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB
    speed: 6.0 Gb/s type: SSD serial: <filter> rev: 043 scheme: GPT
Partition:
  ID-1: / size: 457.09 GiB used: 14.95 GiB (3.3%) fs: ext4 dev: /dev/sdd2
  ID-2: /boot/efi size: 299.4 MiB used: 288 KiB (0.1%) fs: vfat
    dev: /dev/sdd1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 38.0 C pch: 42.0 C mobo: 16.8 C gpu: amdgpu
    temp: 56.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1162
Info:
  Processes: 390 Uptime: 1h 1m wakeups: 0 Memory: 31.27 GiB
  used: 5.18 GiB (16.6%) Init: systemd v: 250 Compilers: gcc: 11.1.0
  clang: 13.0.1 Packages: pacman: 1121 Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.12

Would be nice to get some help, as I would really like to make the switch.

Thanks!
Mark

Edit:

I tried this:

[lzee@abc ~]$ xrandr | grep " connected " | awk '{ print$1 }'
DisplayPort-1
HDMI-A-0
[lzee@abc ~]$ xrandr --output HDMI-A-0 --mode 1920x1080
xrandr: Configure crtc 1 failed
[lzee@abc ~]$ xrandr --verbose --output HDMI-A-0 --mode 1920x1080
screen 0: 5120x1440 1354x381 mm  96.00dpi
crtc 1:    1920x1080  60.00 +0+0 "HDMI-A-0"
xrandr: Configure crtc 1 failed
crtc 0: disable
crtc 1: disable
crtc 2: disable
crtc 3: disable
crtc 4: disable
crtc 5: disable
screen 0: revert
crtc 0: revert
crtc 1: revert
crtc 2: revert
crtc 3: revert
crtc 4: revert
crtc 5: revert

Also tried other ports now, I got an adapter from HDMI to DisplayPort. They work individually, but not when connected together.

And I tried this: GitHub - geyslan/xrasengan: An xrandr wrapper to make your multi-monitor setup easier

[lzee@abc ~]$ xrasengan -f -on DisplayPort-2 --crtc 2
/usr/bin/xrandr: Configure crtc 1 failed

And I testet all variations from crtc 1 to crtc 5, no luck.

Somebody here mentioned that he has solved the Configure crtc 4 failed error by making his NVDIA driver the primary GPU.

https://bbs.archlinux.org/viewtopic.php?id=265677

I thought about doing the same, but when I check

lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e7)

So I only have one device available, isn’t it automatically my primary then? Even though my CPU comes with an internal graphics, and it is enabled in BIOS, it doesn’t get recognized here.

However, I may still need to configure the X Server, as I do not even have a xorg.conf or similar, like explained here:
https://wiki.archlinux.org/title/PRIME#Discrete_card_as_primary_GPU

Any idea maybe?

The configuration always seems to require two controllers in order to be able to off lode one in favor of the other.

Can I configure the X Server with just one controller as well?

Here is my xorg.conf file located in /root/xorg.conf.new

This has been autoconfigured with the command, following this page: Xorg - ArchWiki

$ Xorg :0 -configure

At first I couldn’t do this automatically, because the X Server already ran, but I started it from “virtual” second display.

Here it actually sees a device:

        Identifier  "Card2"
        Driver      "intel"
        BusID       "PCI:0:2:0"
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        Screen      2  "Screen2" RightOf "Screen1"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/75dpi"
EndSection

Section "Module"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Monitor"
        Identifier   "Monitor2"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                     # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "AccelMethod"               # <str>
        #Option     "DRI3"                      # [<bool>]
        #Option     "DRI"                       # <i>
        #Option     "ShadowPrimary"             # [<bool>]
        #Option     "TearFree"                  # [<bool>]
        #Option     "DeleteUnusedDP12Displays"  # [<bool>]
        #Option     "VariableRefresh"           # [<bool>]
        Identifier  "Card0"
        Driver      "amdgpu"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                     # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "AccelMethod"               # <str>
        #Option     "DRI3"                      # [<bool>]
        #Option     "DRI"                       # <i>
        #Option     "ShadowPrimary"             # [<bool>]
        #Option     "TearFree"                  # [<bool>]
        #Option     "DeleteUnusedDP12Displays"  # [<bool>]
        #Option     "VariableRefresh"           # [<bool>]
        Identifier  "Card1"
        Driver      "amdgpu"
        BusID       "PCI:1:0:1"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"                     # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "Backlight"                 # <str>
        #Option     "CustomEDID"                # <str>
        #Option     "DRI"                       # <str>
        #Option     "Present"                   # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "VideoKey"                  # <i>
        #Option     "Tiling"                    # [<bool>]
        #Option     "LinearFramebuffer"         # [<bool>]
        #Option     "HWRotation"                # [<bool>]
        #Option     "VSync"                     # [<bool>]
        #Option     "PageFlip"                  # [<bool>]
        #Option     "SwapbuffersWait"           # [<bool>]
        #Option     "TripleBuffer"              # [<bool>]
        #Option     "XvPreferOverlay"           # [<bool>]
        #Option     "HotPlug"                   # [<bool>]
        #Option     "ReprobeOutputs"            # [<bool>]
        #Option     "XvMC"                      # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "VirtualHeads"              # <i>
        #Option     "TearFree"                  # [<bool>]
        #Option     "PerCrtcPixmaps"            # [<bool>]
        #Option     "FallbackDebug"             # [<bool>]
        #Option     "DebugFlushBatches"         # [<bool>]
        #Option     "DebugFlushCaches"          # [<bool>]
        #Option     "DebugWait"                 # [<bool>]
        #Option     "BufferCache"               # [<bool>]
        Identifier  "Card2"
        Driver      "intel"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen2"
        Device     "Card2"
        Monitor    "Monitor2"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

EDIT:

In the xorg.0.log file it says: Failed to set mode

[   238.994] (--) AMDGPU(0): HDMI max TMDS frequency 225000KHz
[   239.006] (EE) AMDGPU(0): failed to set mode: Invalid argument
[   239.372] (II) AMDGPU(0): EDID vendor "SAM", prod id 3996
[   239.372] (II) AMDGPU(0): Using hsync ranges from config file
[   239.372] (II) AMDGPU(0): Using vrefresh ranges from config file
[   239.372] (II) AMDGPU(0): Printing DDC gathered Modelines:

So, I also tried adding a new mode with xrandr

➜  ~ cvt 1920 1080                                                                                        
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
➜  ~ xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
➜  ~ xrandr --addmode HDMI-A-0 1920x1080_60.00
➜  ~ xrandr --output HDMI-A-0 --mode 1920x1080_60.00
xrandr: Configure crtc 1 failed

seems that you have to set the amdgpu.dc=1 parameter at the kernel parameters and to edit the /etc/mkinitcpio.conf with MODULES=(amdgpu). you have to update grub and mkinitcpio. there is still more interesting in this article. if you need help for translation me or others will be helpful. you’re thread is interesting and from what i could find is that the needed edid information is not send correct and therefor the displays cannot detected in the right manner.

https://wiki.archlinux.de/title/AMDGPU

1 Like

Thanks @Olli , I will try to do that during the week. Will let you know, appreciate the help! And I’m fluent in german, so no issues here.

Ok, so I edited Grub in

/etc/default/grub 
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3 amdgpu.dc=1"

and

# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES=(piix ide_disk reiserfs)
MODULES=(amdgpu)

Then successfully regenerated the image with:

sudo mkinitcpio -P

but that didn’t help yet @Olli

:confused:

okay, can you try to replace the beamer with an display to check if it is a neamer related problem or swap the connections to see if the problem swaps with ?

Yes it’s working fine when I plug them in single, also I can use an adapter from HDMI to DisplayPort. Those can also not be used together but on their own. If I use the DisplayPort Adapter I can swap the problem. No issues on macOS btw.

I also tested another Display and another cable now, without luck.

Here is the full xorg.0.log content: Xorg.o.log · GitHub

It comes down to always show this:

[   652.355] (WW) AMDGPU(0): Output DisplayPort-2: Strange aspect ratio (1193/336), consider adding a quirk
[   652.355] (WW) AMDGPU(0): Output DisplayPort-2: Strange aspect ratio (1193/336), consider adding a quirk
[   652.355] (WW) AMDGPU(0): Output DisplayPort-2: Strange aspect ratio (1193/336), consider adding a quirk
[   652.355] (WW) AMDGPU(0): Output DisplayPort-2: Strange aspect ratio (1193/336), consider adding a quirk
[   652.355] (WW) AMDGPU(0): Output DisplayPort-2: Strange aspect ratio (1193/336), consider adding a quirk
[   652.356] (--) AMDGPU(0): HDMI max TMDS frequency 225000KHz
[   652.359] (EE) AMDGPU(0): failed to set mode: Invalid argument

Some variation is in line 429 with:

[     6.729] (WW) AMDGPU(0): Failed to set mode on CRTC 1

While starting from line 251 it looked quite good actually:

[     6.536] (II) AMDGPU(0): EDID for output HDMI-A-0
[     6.536] (II) AMDGPU(0): Manufacturer: BNQ  Model: b802  Serial#: 2367
[     6.536] (II) AMDGPU(0): Year: 2015  Week: 44
[     6.536] (II) AMDGPU(0): EDID Version: 1.3
[     6.536] (II) AMDGPU(0): Digital Display Input
[     6.536] (II) AMDGPU(0): Indeterminate output size
[     6.536] (II) AMDGPU(0): Gamma: 2.20
[     6.536] (II) AMDGPU(0): No DPMS capabilities specified
[     6.536] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[     6.536] (II) AMDGPU(0): First detailed timing is preferred mode
[     6.536] (II) AMDGPU(0): redX: 0.627 redY: 0.357   greenX: 0.339 greenY: 0.570
[     6.536] (II) AMDGPU(0): blueX: 0.147 blueY: 0.068   whiteX: 0.311 whiteY: 0.364
[     6.536] (II) AMDGPU(0): Supported established timings:
[     6.536] (II) AMDGPU(0): 720x400@70Hz
[     6.536] (II) AMDGPU(0): 640x480@60Hz
[     6.536] (II) AMDGPU(0): 640x480@67Hz
[     6.536] (II) AMDGPU(0): 640x480@72Hz
[     6.536] (II) AMDGPU(0): 640x480@75Hz
[     6.536] (II) AMDGPU(0): 800x600@60Hz
[     6.536] (II) AMDGPU(0): 800x600@72Hz
[     6.536] (II) AMDGPU(0): 800x600@75Hz
[     6.536] (II) AMDGPU(0): 832x624@75Hz
[     6.536] (II) AMDGPU(0): 1024x768@60Hz
[     6.536] (II) AMDGPU(0): 1024x768@70Hz
[     6.536] (II) AMDGPU(0): 1024x768@75Hz
[     6.536] (II) AMDGPU(0): 1280x1024@75Hz
[     6.536] (II) AMDGPU(0): 1152x864@75Hz
[     6.536] (II) AMDGPU(0): Manufacturer's mask: 0
[     6.536] (II) AMDGPU(0): Supported standard timings:
[     6.536] (II) AMDGPU(0): #0: hsize: 1024  vsize 576  refresh: 60  vid: 49249
[     6.536] (II) AMDGPU(0): #1: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[     6.536] (II) AMDGPU(0): #2: hsize: 1280  vsize 800  refresh: 60  vid: 129
[     6.536] (II) AMDGPU(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[     6.536] (II) AMDGPU(0): #4: hsize: 1440  vsize 900  refresh: 60  vid: 149
[     6.536] (II) AMDGPU(0): #5: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
[     6.536] (II) AMDGPU(0): #6: hsize: 1024  vsize 768  refresh: 120  vid: 31841
[     6.536] (II) AMDGPU(0): #7: hsize: 1280  vsize 800  refresh: 120  vid: 15489
[     6.536] (II) AMDGPU(0): Supported detailed timing:
[     6.536] (II) AMDGPU(0): clock: 148.5 MHz   Image Size:  0 x 0 mm
[     6.536] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[     6.536] (II) AMDGPU(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[     6.536] (II) AMDGPU(0): Ranges: V min: 23 V max: 120 Hz, H min: 15 H max: 102 kHz, PixClock max 175 MHz
[     6.536] (II) AMDGPU(0):  BENQ
[     6.536] (II) AMDGPU(0): Monitor name: BenQ PJ
[     6.536] (II) AMDGPU(0): Supported detailed timing:
[     6.536] (II) AMDGPU(0): clock: 148.5 MHz   Image Size:  0 x 0 mm
[     6.536] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[     6.536] (II) AMDGPU(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 v_blanking: 1125 v_border: 0
[     6.536] (II) AMDGPU(0): Supported detailed timing:
[     6.536] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  0 x 0 mm
[     6.536] (II) AMDGPU(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 h_blank_end 2200 h_border: 0
[     6.536] (II) AMDGPU(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[     6.536] (II) AMDGPU(0): Supported detailed timing:
[     6.536] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  0 x 0 mm
[     6.536] (II) AMDGPU(0): h_active: 1920  h_sync: 2448  h_sync_end 2492 h_blank_end 2640 h_border: 0
[     6.536] (II) AMDGPU(0): v_active: 540  v_sync: 542  v_sync_end 547 v_blanking: 562 v_border: 0
[     6.536] (II) AMDGPU(0): Supported detailed timing:
[     6.536] (II) AMDGPU(0): clock: 74.2 MHz   Image Size:  0 x 0 mm
[     6.536] (II) AMDGPU(0): h_active: 1280  h_sync: 1720  h_sync_end 1760 h_blank_end 1980 h_border: 0
[     6.536] (II) AMDGPU(0): v_active: 720  v_sync: 725  v_sync_end 730 v_blanking: 750 v_border: 0
[     6.536] (II) AMDGPU(0): Number of EDID sections to follow: 1
[     6.536] (II) AMDGPU(0): EDID (in hex):
[     6.536] (II) AMDGPU(0): 	00ffffffffffff0009d102b83f090000
[     6.536] (II) AMDGPU(0): 	2c190103800000780aace9a05b569225
[     6.536] (II) AMDGPU(0): 	114f5dbdef8061c081c0810081809500
[     6.536] (II) AMDGPU(0): 	a940617c813c023a801871382d40582c
[     6.536] (II) AMDGPU(0): 	450000000000001e000000fd0017780f
[     6.536] (II) AMDGPU(0): 	6611000a202020202020000000fe0042
[     6.536] (II) AMDGPU(0): 	454e510a2020202020202020000000fc
[     6.536] (II) AMDGPU(0): 	0042656e5120504a0a202020202001bb
[     6.536] (II) AMDGPU(0): 	020329714f15061f9003040511131402
[     6.536] (II) AMDGPU(0): 	1220212223090707830100006c030c00
[     6.536] (II) AMDGPU(0): 	1000182d20a0020141023a801871382d
[     6.536] (II) AMDGPU(0): 	40582c450000000000001e011d801871
[     6.536] (II) AMDGPU(0): 	1c1620582c250000000000009e011d80
[     6.536] (II) AMDGPU(0): 	d0721c1620102c258000000000009e01
[     6.536] (II) AMDGPU(0): 	1d00bc52d01e20b82855400000000000
[     6.536] (II) AMDGPU(0): 	1e0000000000000000000000000000ec
[     6.536] (--) AMDGPU(0): HDMI max TMDS frequency 225000KHz
[     6.536] (II) AMDGPU(0): Printing probed modes for output HDMI-A-0
[     6.536] (II) AMDGPU(0): Modeline "1920x1080"x60.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[     6.536] (II) AMDGPU(0): Modeline "1920x1080"x50.0  148.50  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (56.2 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1920x1080"x59.9  148.35  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.4 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1920x1080"x30.0   74.25  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.8 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1920x1080"x25.0   74.25  1920 2448 2492 2640  1080 1084 1089 1125 +hsync +vsync (28.1 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1920x1080"x24.0   74.25  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1920x1080"x30.0   74.18  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (33.7 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1920x1080"x24.0   74.18  1920 2558 2602 2750  1080 1084 1089 1125 +hsync +vsync (27.0 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1680x1050"x60.0  148.50  1680 2008 2052 2200  1050 1084 1089 1125 +hsync +vsync (67.5 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1440x900"x59.9   88.75  1440 1488 1520 1600  900 903 909 926 +hsync -vsync (55.5 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1280x800"x119.9  146.25  1280 1328 1360 1440  800 803 809 847 +hsync -vsync (101.6 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1280x720"x60.0   74.25  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1280x720"x50.0   74.25  1280 1720 1760 1980  720 725 730 750 +hsync +vsync (37.5 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1280x720"x59.9   74.18  1280 1390 1430 1650  720 725 730 750 +hsync +vsync (45.0 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1024x768"x120.0  115.50  1024 1072 1104 1184  768 771 775 813 +hsync -vsync (97.6 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[     6.536] (II) AMDGPU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "720x576"x50.0   27.00  720 732 796 864  576 581 586 625 -hsync -vsync (31.2 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "720x480"x60.0   27.03  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "720x480"x59.9   27.00  720 736 798 858  480 489 495 525 -hsync -vsync (31.5 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[     6.537] (II) AMDGPU(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[     6.537] (II) AMDGPU(0): EDID for output DVI-D-0
[     6.537] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[     6.537] (II) AMDGPU(0): Output DisplayPort-1 disconnected
[     6.537] (II) AMDGPU(0): Output DisplayPort-2 connected
[     6.537] (II) AMDGPU(0): Output HDMI-A-0 connected
[     6.537] (II) AMDGPU(0): Output DVI-D-0 disconnected
[     6.537] (II) AMDGPU(0): Using spanning desktop for initial modes
[     6.537] (II) AMDGPU(0): Output DisplayPort-2 using initial mode 5120x1440 +0+0
[     6.537] (II) AMDGPU(0): Output HDMI-A-0 using initial mode 1920x1080 +5120+0
[     6.537] (II) AMDGPU(0): mem size init: gart size :1ff86b000 vram size: s:1fd6b0000 visible:1fd6b0000
[     6.537] (==) AMDGPU(0): DPI set to (96, 96)
[     6.537] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[     6.537] (II) Loading sub module "ramdac"
[     6.537] (II) LoadModule: "ramdac"
[     6.537] (II) Module "ramdac" already built-in
[     6.537] (II) AMDGPU(0): [DRI2] Setup complete
[     6.537] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[     6.537] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[     6.537] (II) AMDGPU(0): Front buffer pitch: 28672 bytes
[     6.539] (II) AMDGPU(0): SYNC extension fences enabled
[     6.539] (II) AMDGPU(0): Present extension enabled
[     6.539] (==) AMDGPU(0): DRI3 enabled
[     6.539] (==) AMDGPU(0): Backing store enabled
[     6.539] (II) AMDGPU(0): Direct rendering enabled
[     6.559] (II) AMDGPU(0): Use GLAMOR acceleration.
[     6.559] (II) AMDGPU(0): Acceleration enabled
[     6.559] (==) AMDGPU(0): DPMS enabled
[     6.559] (==) AMDGPU(0): Silken mouse enabled
[     6.559] (II) AMDGPU(0): Set up textured video (glamor)

really kinda strange, hm
@Olli

This lines from 379 feel a bit weird:

[     6.537] (II) Loading sub module "ramdac"
[     6.537] (II) LoadModule: "ramdac"
[     6.537] (II) Module "ramdac" already built-in
[     6.537] (II) AMDGPU(0): [DRI2] Setup complete
[     6.537] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[     6.537] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi

What is the ramdac module why does it use the radeonsi DRI driver.

Shouldn’t it be using the amdgpu?

However, that is from the early part of the log, these messages do not appear in later stages again.

A bit unrelated, but just for information purpose, this is the lightdm.log

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=729
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /var/lib/flatpak/exports/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating user session
[+0.03s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.06s] DEBUG: Seat seat0: Creating display server of type x
[+0.06s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.06s] DEBUG: Using VT 7
[+0.06s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.06s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.06s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.06s] DEBUG: XServer 0: Launching X Server
[+0.06s] DEBUG: Launching process 777: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.06s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.06s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.06s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.82s] DEBUG: Got signal 10 from process 777
[+0.82s] DEBUG: XServer 0: Got signal from X server :0
[+0.82s] DEBUG: XServer 0: Connecting to XServer :0
[+0.82s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.82s] DEBUG: Session pid=1334: Started with service 'lightdm-autologin', username 'lzee'
[+0.83s] DEBUG: Session pid=1334: Authentication complete with return value 0: Success
[+0.83s] DEBUG: Seat seat0: Session authenticated, running command
[+0.83s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+0.83s] DEBUG: Session pid=1334: Running command /etc/lightdm/Xsession startxfce4
[+0.83s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lzee
[+0.83s] DEBUG: Session pid=1334: Logging to .xsession-errors
[+0.96s] DEBUG: Activating VT 7
[+0.96s] DEBUG: Activating login1 session 1
[+0.96s] DEBUG: Seat seat0 changes active session to 1
[+0.96s] DEBUG: Session 1 is already active