Page 1 of 1
Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-11-27 20:06
by lefrog
Hello,
Gnome Desktop (Wayland and Classical) does not scale properly on the external screens, but Gnome flashback works on one screen but the other screen goes black. I check in settings and I see the scale is set to 100% but in reality it is scaled to 150% or more. It is like I see only 60% to 70% of the desktop. The lower and right side of the desktop is not visible.
Any idea how to resolve this issue, please?
Kind regards,
Sam
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-11-28 02:02
by ruwolf
In X.org, there should be functioning xrandr
, which should be able to set DPI to any working connected monitor.
What is output of inxi --edid -z
?
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-11-28 12:23
by lefrog
xxrandr did not work when I tried to set the DP scale to 0.75. Maybe it is not possible to use valuse below 1.
Output of inxi --edid -z:
Code: Select all
Graphics:
Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Lenovo
driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
ports: active: DP-6,eDP-1 off: DP-7 empty: DP-1, DP-2, DP-3, HDMI-A-1,
HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:3ea0 class-ID: 0300
Device-2: NVIDIA GP108GLM [Quadro P520] vendor: Lenovo driver: nouveau
v: kernel non-free: 530.xx+ status: current (as of 2023-03) arch: Pascal
code: GP10x process: TSMC 16nm built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s
lanes: 4 link-max: gen: 3 speed: 8 GT/s bus-ID: 3c:00.0 chip-ID: 10de:1d34
class-ID: 0302 temp: 30.0 C
Device-3: Logitech C920 PRO HD Webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-2.3.3:20 chip-ID: 046d:08e5
class-ID: 0102
Device-4: IMC Networks Integrated Camera type: USB driver: uvcvideo
bus-ID: 1-8:4 chip-ID: 13d3:56bc class-ID: 0e02 serial: <filter>
Display: server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0
screens: 1
Screen-1: 0 s-res: 4480x1440 s-dpi: 96 s-size: 1185x381mm (46.65x15.00")
s-diag: 1245mm (49.01")
Monitor-1: not-matched mapped: DP-2-2 pos: primary res: 2560x1440 hz: 60
dpi: 109 size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
Monitor-2: not-matched mapped: DP-2-3 size-res: N/A modes: N/A
Monitor-3: eDP-1 model: Lenovo 0x40ba built: 2018 res: 1920x1080 hz: 60
dpi: 142 gamma: 1.2 chroma: red: x: 0.592 y: 0.369 green: x: 0.349 y: 0.557
blue: x: 0.153 y: 0.110 white: x: 0.314 y: 0.329
size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
modes: 1920x1080
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel UHD Graphics 620 (WHL
GT2) direct-render: Yes
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-11-28 12:44
by sunrat
Please use code tags for terminal text and commands etc. Fixed it for you this time.
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-11-28 17:00
by ruwolf
I would try to use Gnome mutter experimental settings:
AskUbuntu.com: How to set different scaling on multi monitor (3 monitors)
It is also described in:
wiki.ArchLinux.org: HiDPI: Xorg
But I do not know, if
that Ubuntu patch is included in Debian stable or backport repositories, too.
Are you using docking station? Monitor-2 reports unavailable size and unavailable modes, I do not know why.
Maybe new firmware for docking station via
fwupd could help for it (but occasionally the newest could be buggy, too).
(BTW, Have you tried to use Nvidia card?)
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-11-29 06:40
by lefrog
I installed Ubuntu twice on this machine and it worked fine. However, after a few days the OS could not boot and I thought maybe Ubuntu does not like this hardware.
I have searched a lot and i could not find any solution for this issue. And yes my laptop is connected to a HP docking station and the firmware is already updated.
Monitor 2 is an old Samsung monitor. I guess it is not that intelligent.
I downloaded the driver but for some reason it won't install. Here is there error message:
Code: Select all
ERROR: The Nouveau kernel driver is currently in use by your system. This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding. Please consult the
NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
WARNING: One or more modprobe configuration files to disable Nouveau are already present at: /usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf,
/etc/modprobe.d/nvidia-installer-disable-nouveau.conf. Please be sure you have rebooted your system since these files were written. If you have rebooted, then Nouveau may be enabled for
other reasons, such as being included in the system initial ramdisk or in your X configuration file. Please consult the NVIDIA driver README and your Linux distribution's documentation
for details on how to correctly disable the Nouveau kernel driver.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the
Linux
driver download page at www.nvidia.com.
Also, now I removed the old monitor and Debian works fine on one screens. Either Debian cannot scale on 2 screens or the old screen is too old causes issue.
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-11-30 10:27
by ruwolf
It wires you the cause of error.
Nvidia proprietary driver cannot be installed simultaneously with libre (FOSS) nouveau version.
You should uninstall (purge) nouveau before installing proprietary one.
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-12-01 20:08
by lefrog
Well. That is the easy part. I have disabled Nouveau. Rebooted. System came up. I tried to install but now something else came up:
Code: Select all
ERROR: You appear to be running an X server; please exit X before installing. For further details, please see the section INSTALLING THE NVIDIA DRIVER in the README available on the Linux driver download page at www.nvidia.com.
And that README file is not a README file. It is more like a book
Code: Select all
https://download.nvidia.com/XFree86/Linux-x86_64/396.51/README/index.html
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-12-01 20:24
by lefrog
Latest update on that NVIDIA. I went to run level 3, i.e. no X. I started the installation and it complained about the kernel source.
what it does with the kernel source, I do not know.
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-12-01 20:38
by lefrog
I found a solution here and it seems to work. I have not rebooted yet.
Code: Select all
https://phoenixnap.com/kb/nvidia-drivers-debian
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-12-01 20:42
by lefrog
Seems that it worked:
Code: Select all
Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] driver: i915 v: kernel
Device-2: NVIDIA GP108GLM [Quadro P520] driver: nvidia v: 535.183.01
I need to do something about Interl driver. Thank you for your support.
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-12-01 20:59
by stevepusser
lefrog wrote: 2024-12-01 20:42
Seems that it worked:
Code: Select all
Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] driver: i915 v: kernel
Device-2: NVIDIA GP108GLM [Quadro P520] driver: nvidia v: 535.183.01
I need to do something about Interl driver. Thank you for your support.
Do what?
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-12-01 21:11
by lefrog
Do you think I can dare to do this? It is for Ubuntu:
Code: Select all
https://dgpu-docs.intel.com/driver/client/overview.html
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-12-01 22:13
by sunrat
The wiki is your friend.
Nvidia driver installation -
https://wiki.debian.org/NvidiaGraphicsDrivers
For your dual graphics -
https://wiki.debian.org/NVIDIA%20Optimus . I don't have that but I believe the easiest way is to run specific programs with NVIDIA PRIME Render Offload.
That ubuntu instructions won't work in Debian. I think the intel graphics driver should be in the kernel already but it may help to install firmware-intel-graphics from backports -
https://packages.debian.org/bookworm-ba ... l-graphics
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-12-02 12:58
by lefrog
Thank you. Appreciate it.
Re: Gnome Desktop (Wayland and Classical) does not scale correctly
Posted: 2024-12-02 16:10
by lefrog
I downloaded and installed the firmware. The installation was successful. I cannot find it under
. I cannot see anything in
and
. Any idea where to find the firmware? Thanks.