Hi together,
I have mirrored a second LG-Display. The highest available solution is for single or join mode 1920 x 1080 px.
I would like to use mirror mode. But there I can choose only a maximum of 1152 x 864 and that results in a screen-skew.
According to Gemini I can't use Wayland for my needs.
Is it really that complicated, as Gemini says?
For non-tech-people these things prevent from changing to Linux.-/
Thanks in advance!
############
Gemini tells me now the following:
Based on the xrandr output, you are using Wayland (identified by XWAYLAND0 and XWAYLAND2), which severely limits or even makes impossible manual configuration via xrandr, as Wayland handles display management differently. The displays are represented as virtual X server instances (XWayland), which rarely report the physical ports or all native modes correctly.
Your current resolution is $1152 \times 864$ on both displays. If your LG monitor supports $1900 \times 1100$, you will need to switch to X server mode (Xorg) to use xrandr effectively.
1. Switch to Xorg Mode (Recommended)
Since xrandr doesn't work reliably in Wayland, switching to the traditional Xorg session is the best way to manually force the resolution.
- Logout: Log out of your current session.
- Switch Session: On the login screen, you'll likely see a small gear or options icon. Click it and select "Zorin Desktop (X11)" or "Zorin Desktop on Xorg" (or a similar non-Wayland option).
- Login: Log in again.
- Recheck
xrandr: Open the terminal and typexrandragain. You should now see the real port names (e.g.,HDMI-1,DP-2,eDP-1), notXWAYLAND0andXWAYLAND2.
2. Manual configuration under Xorg (with the real ports)
Once you're under Xorg and know the real port names (placeholders: INTERN and EXTERN), follow the instructions to force your $1900 \times 1100$ resolution.
2.1. Calculate and add the modeline
- Calculate the modeline: Run
cvtwith your desired resolution ($1900 \times 1100$) and 60 Hz (or your monitor's native frequency).
bash
cvt 1900 1100 60
Remember the output after the modeline (e.g., "1900x1100_60.00" 177.00 1900 2024 2232 2568 1100 1103 1113 1139 -hsync +vsync). Name this part MODELINE_VALUE.
- Add the modeline: Add this mode to the X server.
bash
xrandr --newmode "1900x1100_60.00" 177.00 1900 2024 2232 2568 1100 1103 1113 1139 -hsync +vsync
- Assign mode to the external monitor: Replace
EXTERN(e.g.,HDMI-1) with the correct port name of your LG monitor.
bash
xrandr --addmode EXTERN "1900x1100_60.00"
2.2. Force mirroring at full resolution
To mirror both screens using the higher resolution, apply the new mode to your external monitor and then mirror it to the internal display (INTERN).
bash
xrandr --output EXTERN --mode "1900x1100_60.00" --output INTERN --same-as EXTERN
- Caution: Since your internal display probably has a lower native resolution than $1900 \times 1100$, the image on the internal display will be upscaled and may appear blurry. This is a typical problem when mirroring to screens with different native resolutions.
3. Alternative: Manual scaling in Wayland (if Xorg doesn't work)
If you need to stay in Wayland, use the Zorin OS Settings app:
- Go to Settings $\rightarrow$ Display.
... 2. Try manually setting the resolution to $1900 \times 1100$ for **both** monitors while the **mirroring option** is active. Wayland is often more flexible here than the virtualxrandr` output suggests.
If $1900 \times 1100$ isn't available there, Wayland doesn't support this particular combination/resolution, and switching to Xorg (step 1) is the only safe way.