I’m trying to get a multi-display setup working on a Dell / Alienware linux laptop.
The graphics card is an AMD RX 6700M / REMBRANDT, and the OS is Ubuntu 22.04 LTS (what it came installed with). The CPU is an AMD Ryzen 7 6800h. I have read through the “HybridGraphics” documentation, and I used the following command to install low-latency HWE:
sudo apt install –install-recommends linux-lowlatency-hwe-22.04
My X-Server version seems to be new enough, and so does Mesa (though I infer that since this laptop has an AMD chip, that’s not relevant). Thus I think my use case corresponds most closely to the section “Laptops with dual AMD gpus AMD iGPU + AMD dGPU (“AMD Enduro” models)” in the HybridGraphics documentation, which suggests no specific reason why this system shouldn’t work, but of course it hasn’t specifically been tested, so there we are.
I will also note that I’ve got the secondary display plugged into the HDMI output port of the laptop. I do see the DisplayPort symbol next to a single USB-C port on the back of the laptop, but I haven’t tried using that output. I don’t have any USB-C to DisplayPort adapters on hand, but if it might solve my issue, I would be very happy to purchase one.
The steps I’ve taken so far: I’ve run XOrgConfCreator and selected TWO separate series of responses to the prompts presented (see below), but with both sets of responses I start with assigning: “X-Screen 0: eDP-1”, and “X-Screen 1: HDML-A-1-0”:
(1) Multi-screen setup, followed by saying “no” to the question “Do you experience weird issues with display arrangements and want me to try to fix it?” I then also say “no” to “Do you want to configure special / advanced settings?”. After this I use XOrgConfSelector to select the configuration, exit MATLAB, log out, log back in. When I log in I can see that the 22.04 “Squid” is still present on both displays, and indeed when I launch MATLAB and execute “Screen(‘Screens’)” it returns “0” (only a single display).
(2) Multi-screen setup, followed by saying “yes” to the question “Do you experience weird issues with display arrangements and want me to try to fix it?” I then say “no” to “Do you want to setup a 30 bit frame buffer…?”, “no” to “Do you want to allow use of so called VRR…?”, and “no” to “Use AsyncFlipSecondaries mode…?”. After this I use XOrgConfSelector to select the configuration, exit MATLAB, log out, log back in. When I log in, the secondary display tells me there is no input signal. When I launch MATLAB and execute “Screen(‘Screens’)” it returns “0” (only a single display). I also tried a variant of this set of responses in which I say “yes” to “…VRR…?”, and I get the same performance as in “(1)” - when I log out and back in the squid is there and “Screen(‘Screens’)” returns “0”.
My best guess at this point, consulting the text that accompanies XOrgConfCreator is that I need to manually set up a dual-X-Screen configuration following the “_SeparateScreensDualGPUIntelAndAMD” example. Is that a good idea? Is there anything else I should try? I suspect it should be possible to look at some log files, perhaps for X11, to try to understand what’s failing with one or both of the conf files created by XOrgConfCreator, but I’m not sure where to start. Any advice would be greatly appreciated! @mariokleiner if you’d like me to buy another 1 or 2 Support Memberships, or to simply figure out a way to directly compensate you for any effort you might put into this, I will be very happy to do so. Just let me know.