Fresh install on a Thinkpad W530 with Ubuntu 20.04. The installation had no problem, but after rebooting, everything is extremely slow. When I unplug the monitor (DisplayPort) and use the internal screen, I have no problem.
I have checked the NVIDIA drivers and the problem is the same. I have also checked the BIOS settings and they make no change for Ubuntu.
However, Fedora 32 just worked with no problems. Windows 10 on the other hand couldn’t even use the external screen.
How can I solve this problem?
I have a Thinkpad W520 with freshly installed U20.04. I had a similar problem when I tried to connect my WQHD display through DisplayPort. Even though the NVIDIA driver was installed, it somehow could not be activated. If the NVIDIA driver is properly activated and you run
then you should see something like this:
If you don't see the options on the left, then probably your NVIDIA driver is not properly activated. I purged the driver using the command:
and then reinstalled it using the "Additional Drivers" utility of the "Software & Updates" app. After I restarted the computer the NVIDIA driver got properly activated and the NVIDIA settings also showed the options as it should.
I'm having a similar problem with my laptop and external display. From testing different settings it seems that every time the laptop screen is off (either because it's closed, or because I set gnome display settings for external screen only) the external display gets EXTREMELY slow, completely unusable. If I mirror both screens and leave the laptop screen on, it is back "normal". Screen resolution was the same on all my test cases (4k).
For reference, I'm using an AMD external gpu.
TL;DR: Looks like it might be an issue with X11 and external primary displays.
I have to give credit here to both @Tiago and @hadarS as it was both of their answers combined that led me to a solution.
I'm using an MSI Bravo 15 (AMD Ryzen 7 and Radeon RX 5500M) with a (relatively) fresh install of KDE Neon 5.21. The current 20.04 LTS kernel doesn't support my driver so I've updated to the mainline kernel 5.10 and installed the AMD 20.45 firmware. Yet, I was still finding that my external display (4K) was horrendously slow at doing some of the most basic tasks while doing the same task on the main display was as responsive as ever.
@hadarS mentioned changing their primary display back to the laptop screen so I checked that and, lo and behold, the 4k screen was set as the primary. Switched it to the laptop screen and immediately the external display became usable. Great! Fixed it! But why does it happen?
This is where @Tiago's answer came in handy (as well as your information in your question, OP).
So what's left?
Well, because Wayland doesn't seem to recognise my external display, I'm using X11. C'est la vie. Without knowing whether everyone else is also using X11 - I'm assuming so since AFAIK X11 is still the default display server for Ubuntu 20.04 - I'm going to have to simply assume that this is our common factor. It seems that X11 just doesn't like having an externally connected display set as the primary display.
I have another laptop with a "fresh" Neon install and an Nvidia GPU. I'll test this theory later tonight if I remember.
I've the same problem, on my Asus laptop with GTX1650 & Ryze 3750H. After I suspended my laptop, I couldn't turn it back on so I had to forcibly shut it down.
After this, Firefox & Chrome on my secondary monitor would be VERY SLOW, even for highlighting what I hover.
What solved my problem was to change the primary display back to the laptop one. Now everything works normally again.
In my case, increase the refresh rate helps
I don't know why by default it set the refresh rate to the lowest value, but changing it seems to improve a lot (btw my monitor support 60hz, not sure why the max is 30 on ubuntu)
There are two different problems:
Here is the Fix for second problem:
Then edit the newly created file and paste the copy-paste the following to the file:
Be aware of
'
apostroph characters! They may change turning copy-paste!For me the issue was that I had fractional scaling enabled (found under Displays) and had set 125% scaling for my laptop screen.
Ubuntu does mention that fractional scaling may increase battery consumption and have performance issues.
I had the same issue but was able to fix it by installing nvidia driver 390 from https://www.nvidia.com/en-us/drivers/unix/ and selecting it in software & updates > Additional drivers
Using driver 460 which came by default doesn't let me wake the laptop from sleep. Whenever the laptop goes into sleep, i cannot wake it there is only a black screen and i have to turn it off by holding the power button.
The Nouveau driver doesn't have this sleep wake issue, but when i set the display to external monitor, it slows down so much. Turning both laptop screen and monitor on fixes it, but i want to use only my monitor. The nvidia 390 driver solved both the issues for me. Hope this helps. Make sure to check if the driver supports your device.
From @sera H's answer above
@sera H. was correct in diagnosing why my computer slows down when using an external monitor. My Ubuntu 20.04 is using X11, no clue what this is, and it doesn't like having the primary monitor being any other monitor than the laptop monitor. Everything gets slow and choppy.
Solution which activates Wayland
Requirement - You're computer should be using X11. To check if it is, run
echo $XDG_SESSION_TYPE
in the terminal. It should returnX11
./etc/gdm3/custom.conf
with any editor#WaylandEnable=false
toWaylandEnable=true
sudo systemctl restart gdm3
echo $XDG_SESSION_TYPE
in the terminal. It should returnwayland
.