I have a Lenovo Legion 5 Pro with Ubuntu 22.04 with an external monitor (Lg UltraGear 24GN650). I connected to my laptop and the monitor works but laptop is 4k 2560 x 1600 and my monitor is 1980 x 1080. I need to scale my laptop a bit so that I can see things a bit bigger than they are but as soon as I do that, the monitor gets zoomed in too even though in the settings, it is at 100%.
Laptop Spec
**Processor**
AMD Ryzen™ 7 5800H Processor (8 Cores / 16 Threads, 3.20 GHz, up to 4.40 GHz with Max Boost, 4 MB Cache L2 / 16 MB Cache L3)
**Display Type**
40.64cms (16.0) WQXGA (2560x1600) IPS 500nits Anti-glare 165Hz 100% sRGB Dolby Vision HDR 400 Free-Sync G-Sync DC Dimmer
***Memory***
16 GB SO-DIMM DDR4 3200MHz
**Graphics**
NVIDIA® GeForce RTX™ 3060 6GB GDDR6
**Wireless**
Wi-Fi 6, 802.11ax 2x2 Wi-Fi + Bluetooth® 5.1, M.2 Card
Note that my laptop is in dynamic graphic mode so both my Nvidia and Amd integrated GPUs are working.
After changing it to discrete mode The issue gets solved if i switch to Discrete mode, i.e NVIDIA but now I can't control my screen brightness.
sudo lshw -c video
Output
*-display
description: VGA compatible controller
product: GA106M [GeForce RTX 3060 Mobile / Max-Q]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
logical name: /dev/fb0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom fb
configuration: depth=32 driver=nvidia latency=0 mode=2560x1600 visual=truecolor xres=2560 yres=1600
resources: iomemory:fa0-f9f iomemory:fc0-fbf irq:82 memory:d0000000-d0ffffff memory:fa00000000-fbffffffff memory:fc00000000-fc01ffffff ioport:3000(size=128) memory:d1080000-d10fffff
*-display
description: VGA compatible controller
product: Cezanne
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:05:00.0
logical name: /dev/fb0
version: c5
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list fb
configuration: depth=32 driver=amdgpu latency=0 resolution=2560,1600
resources: iomemory:fc0-fbf iomemory:fc0-fbf irq:49 memory:fc10000000-fc1fffffff memory:fc20000000-fc201fffff ioport:1000(size=256) memory:d1500000-d157ffff
I had the same issue when I had Ubuntu 20.04 and I couldn't fix it. Screen Brightness issue I had with 20.04 (The solutions didn't work and the monitor didn't work at all). That is why I switched to 22.04.
While switching between monitors I also notice considerable amount of lag.
Please help me. :)
sudo cp ~/.config/monitors.xml /var/lib/gdm3/.config
– ManOnTheMoon May 17 '22 at 05:21