MSI with Radeon RX 5600m - Fullscreen in any Wayland / Xwayland window disconnects the second monitor automatically
Brief summary of the problem:
This error appears frequently. When you are going to play any video in fullscreen (Firefox with Wayland, Vivaldi with XWayland), or you are going to launch a game via Steam (XWayland), if it is launched in fullscreen mode, the second monitor is automatically disconnected. It appears randomly, it is not clear what factor this affects. It happens with other normal monitors as well (Samsung 1080p 60Hz, no VRR).
Hardware description:
- CPU: AMD Ryzen 7 4000 Series
- GPU: AMD Radeon RX 5600m
- System Memory: 1TB
- Display(s): MSI 4k 144Hz with VRR
- Type of Display Connection: HDMI
System information:
- Distro name and Version: Ubuntu 23.10
- Kernel version: 6.5.0.10-generic
- Custom kernel: N/A
- AMD official driver version: N/A
How to reproduce the issue:
You just need go to fullscreen mode in a video (HBO, Netflix, etc with Firefox or Chrome) or in a game.
Screenshots/video files
Some screenshots when I try for ex. play a game with Steam:
Video of full process trying to play a game:
Log files
- Dmesg log (full log) dmesg.log