Recently installed Fedora 38 on my machine and two displays show up in the settings despite only having one monitor plugged in.
This fake display is sometimes at 800x600 60 hz or 2560x1440 (my monitor’s current resolution) 60 hz and generally is to the right of my main display. It can’t be turned on from settings and the displays can’t be made to mirror each other.
I checked if any integrated graphics were on (they weren’t) and checked the output of inxi -Gxx (based on a post I read prior) and got this:
The offender is “Monitor-2”. Please help me solve the issue, I’m very new to Linux and not experienced but I’ll try to provide more details to the best of my ability.
I couldn’t find any option called “In-game Overlay” in Nvidia X Server Settings (I believe this is the same as Nvidia Control Panel on Windows), though I searched for that option on Google and apparently it is called “Enable Graphics API Visual Indicator” on Linux and I found it was disabled.
I realize that installing the nvidia drivers only adds those 2 options about nouveau to the kernel command line, but on my system I found that I needed additional options for the nvidia driver to function properly.
On my system I have these as related to the nvidia card. Maybe you could try adding in the additional options by editing the grub command line (the one seen that begins with linux with one presses the e key while the grub menu is displayed) and adding one or both the additional options I have for testing purposes.
Could you please explain more about how to add the additional options, temporarily or permanently? I am unfamiliar with using grub so it would be a great help.
Edit/Update: I managed to add nvidia-drm.modeset=1 to the grub command line, and success! The settings app no longer shows any additional displays. I would still like to know how to make this change permanent however.
Edit/Update 2: I also tested using both commands and that got rid of all nouveau related entries from the output of sudo journalctl -b -g 'nouveau' besides the input itself, much better!
To make the changes permanent one needs to edit /etc/default/grub (using sudo) and add the options into the line that begins with GRUB_CMDLINE_LINUX.
Once the changes are saved then run sudo grub2-mkconfig -o /boot/grub2/grub.cfg.
After this a reboot should now include those options in the kernel command line.
Thank you Jeff for the detailed walkthrough - your fix worked for me as well.
My setup details: I am running Fedora 38 with a NVIDIA GeForce GTX 1660 Ti graphics card, trying out KDE (Wayland) . I noticed that the extra display had shown up in System Settings after I installed the Nvidia proprietary drivers. This fix removed the extra display, and it also resolved some pretty bad graphics lag I was seeing (mouse, window movement, keyboard inputs, everything). Thanks again.