The solution to my problem was deleting the file
/etc/X11/xorg.conf
. I must have made a mistake when fiddling with underscan/resolution settings in the NVIDIA X Server settings. Also, I probably need to update my kernel. Thanks SMG!Quick system specs
My computer is an Acer Nitro 5 laptop. It has an NVIDIA graphics card and it is running Linux Mint 19.1 Tessa 64-bit (XFCE).
My X.Org X Server version is 1.19.6.
Output of inxi -Fxxxrz: https://pastebin.com/Bm2bjvrJ
The problem:
Today, I got a second monitor, and connected it to my laptop with an HDMI cable. After some fiddling around, I was able to get it to work just fine, and I had windows on both monitors.
I restarted my computer, used GRUB to select Linux Mint, saw the splash screen (The Linux Mint logo), but then my laptop's monitor faded to black. The only thing on my screen was an underscore in the top-left corner. I hit Ctrl+Alt+F1 to open the command line. Then I did
startx
and fortunately, that worked. But I only had windows on my external display. On my laptop's display, it was just the command-line.For some reason, display settings and NVIDIA X server settings can't detect my laptop's monitor. Screenshot: https://i.imgur.com/PDZ5SjR.jpg
Picture of what my setup looks like:
https://i.imgur.com/vx5uLpO.jpg
Things I have tried (that have done nothing):
- Unplugging the external monitor (my laptop screen stays black)
- Unplugging the external monitor, then restarting my computer.
- Clicked "Detect Displays" in the NVIDIA X Server Settings
- Looked at "System Reports," which mentions 2 crashes related to light-locker. Specifically:
_usr_bin_light-locker.1000.crash
, and_usr_bin_nvidia-settings.1000.crash
. Screenshot: https://i.imgur.com/R7mEnKk.png Stack trace of _usr_bin_light-locker.1000.crash: https://pastebin.com/tVgZhgnY Stack trace of _usr_bin_nvidia-settings.1000.crash: https://pastebin.com/VbGAWhQQ
- Xorg.0.log: https://pastebin.com/ZTsghgZL
- Xorg.conf: https://pastebin.com/641fjhns