I just reinstalled ubuntu 20.04, updated to kernel 5.6, and installed the amdgpu drivers as I just got an rx6800. Edit: My session is Wayland also.
After a little bit of a rough start things are working great, however when I reboot I seem to have about a 1 in 3 chance for my two side monitors to switch on me. Which is very annoying as they are also vertical monitors so they also flip upside down when this happens.
Also checking xrandr, I’ve noticed that my monitors change numbers regularly.
After resetting my primary display, I currently have it all the way at WAYLAND6. When it was WAYLAND1 yesterday at one point.
xrandr
Screen 0: minimum 16 x 16, current 5440 x 2560, maximum 32767 x 32767
XWAYLAND0 connected 1440x2560+4000+0 (normal left inverted right x axis y axis) 340mm x 600mm
1440x2560 59.93*+
XWAYLAND2 connected 1440x2560+0+0 (normal left inverted right x axis y axis) 340mm x 600mm
1440x2560 59.93*+
XWAYLAND6 connected primary 2560x1440+1440+170 (normal left inverted right x axis y axis) 600mm x 330mm
2560x1440 143.83*+
So monitor 1 and monitor 2 are both the same model monitor and both running on displayport. Randomly on reboot they seem to initialize in different orders. Is there any way to reassign the numbers between the two?
Also, it sounds like you are using the closed source driver instead of the opensource driver (since you are on Kernel 5.6) so you may be running into issues from that too.
I was using amdgpu for the driver but I actually switched to amdgpu-pro last night, I want to update to the 5.10 kernel but I currently require the ACS patch and it doesn’t look like that exists for anything newer than 5.8.
Thank you for the info and the wiki link. I’ll try that after work and let you know!
Just checked xrandr with comparing before and after a flip. Looks like xrandr doesn’t change at all. It’s looking like the GPU is assigning the ports differently sometimes on boot.
xrandr
Screen 0: minimum 320 x 200, current 5440 x 2560, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
I was originally using the amdgpu drivers (my understanding is those are the FOSS ones) I switched to the amdgpu-pro to try to solve it. It’s still happening…
I might have to just write a script to swap the monitors…
Edit: it also probably doesn’t help that both of those monitors are identical, so it can’t even use the model number to keep them straight.
They should be unique due to the EDID. There is a serial number that is sent with the EDID. I don’t know how that is exposed through the xorg.conf file.
I couldn’t figure out setting the monitors up by unique id, but I did get 5.10.4 with the acs patch, so I was able to update the firmware folder and drivers. We’ll see if that fixes it.
Thank you for trying, I couldn’t figure this out. I’m going to try to switch one of the monitors to hdmi, maybe that will make it unique enough to stop switching…
I had this start happening to me out of the blue on Linux Mint 20.0 Cinnamon and I kept having to set things back manually. For whatever reason, it stopped happening (so far) after I updated to Mint 20.1 Cinnamon.