How do disable/get rid of PRIME display?

I installed newest cinnamon 24.04, and while in previous version everything works just fine, in this version I have ‘ghost monitor’, which cannot be turned off in Display settings, but cursor can wander there. If I open nvidia settings, I see this:

enter image description here

So there is some prime display, which cannot be controlled. I tried recommendation to add initcall_blacklist=simpledrm_platform_driver_init as kernel parameter, but this just make OS unbootable.

I guess this was induced by upgrading lenovo firmware, which I probably can downgrade back. But is there any other better solution? How to get rid of this PRIME display, which is rather sub-prime, since it does not display anything and just makes your work harder.

Asked By: Martin Mucha


Kudos goes to Martin Mucha for testing and maarallez in reddit who suggested.

The work around is

"You can disable the ghost screen by writing a short config file.

First, open a terminal and run xrandr to identify your screens. Take note of the name of the ghost device (e.g. HDMI-0, DP-0, etc.); mine was "None-1-1".

Then create your config file: sudo gedit /etc/X11/xorg.conf.d/10-monitor.conf

Paste the following, making sure to replace the VGA1 with the name you identified in the previous step:

Section "Monitor"
Identifier "VGA1"
Option "Ignore" "true"

Save the file and reboot."

Answered By: amar
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.