I’m fairly new to fedora but this issue has been there since I installed it. Some apps don’t work on my second monitor. What I mean is it gets incredibly slow, to the point where nothing works. I use a laptop and those same apps work perfectly fine on the laptop screen. The apps I’ve notived these issues with are: Vivaldi, VLC, Videos, and a flathub game called Flare: Empyrean Campaign. Other apps like firefox or anything else (including games) seem fine. If additional information is required, let me know and I’ll post it below.
EDIT: I found out that discord also has the issue.
I do have an intergrated card, but can I ask why and by how much? It’s not that I’m doubting the advice, but I’m genuinely curious as to how that works. I have 16 GB of RAM if that’ll help answer the second question (though fedora displays it as 15).
Do you have a dual GPU laptop? If so what is the second GPU. You can post the output of inxi -Fzx to answer that.
Some of the dual gpu laptops are configured to (by default) use the IGP for the laptop screen and the dGPU for the external monitor. Those sometimes give the type errors you are reporting because of switching between devices for the displays.
An analysis of the inxi output will let us make better analysis of what is happening and better suggestions for solution.
inxi was not installed on my system, after installing and running, I got a bunch of text, I’ll paste it all since I can’t tell what’s important. My second GPU is an Nvidia one, sorry I forgot to mention that. Let me know if any other information will be helpful.
I can’t seem to edit this again so I’ll reply to the original post, but I discovered something. From what I can see the issue now only affects flatpaks from flathub. Apps like videos and vivaldi which had the issue before no longer seem to have the issue. I wonder if it was a bug in some library that got patched?
EDIT: Nevermind, the issue simply fixed itself when I made the laptop monitor the primary monitor instead of my second external monitor being the primary monitor.
NVIDIA PrimaryGPU Support
Using PrimaryGPU allows to use the NVIDIA driver by default instead of the iGPU. This is also required in order to use external display when internally connected from the NVIDIA hardware. Unfortunately, setting this option automatically when an external display is connected is not supported by NVIDIA at this time. To recover this previous behaviour, you can use:
cp -p /usr/share/X11/xorg.conf.d/nvidia.conf /etc/X11/xorg.conf.d/nvidia.conf
And edit the file to use: Option "PrimaryGPU" "yes"
I did that a long time back and have had no issues at all with switching between screens. I placed the recommended Option "PrimaryGPU" "yes" in both stanzas of the copied nvidia.conf file after it is placed it /etc/X11/xorg.conf.d/
Ok, I copied the file and made that edit, then rebooted. It seems to be fine now, even when the second monitor is set to the primary monitor. Thanks for the help!