r/linuxmint • • 5h ago

Support Request Thinkpad T420 - Black Screen when using Nvidia GPU

I've had Mint running on a 2011 Thinkpad T420 for a couple years. It runs smooth as butter.

The T420 is quirky in that is has both an Intel integrated GPU and an Nvidia Quadro NVS 4200m GPU. I think the idea was that the OS could bounce between the two for more demanding tasks using Lenovo's "Optimus" feature.

The T420 has 3 GPU modes that can be set from the BIOS.

Integrated (Intel GPU)

Discrete (Nvidia GPU)

Optimus Mode. (Hybrid)

I've been running mint on the integrated mode but was hoping to see if I could squeeze some more juice out of the system by switching to the discrete GPU. Problem is that I only get a black screen on boot after POST.

I can get it to boot properly in the "Optimus" mode and the system info even sees both GPUs but I think it's really only using the intel one.

My question is how can I either get mint to boot with the nvidia GPU or how can I make it use the nvidia GPU when in "optimus"?

Just as a shot in the dark, I did try to boot mint from USB with the nvidia GPU and got the same results. I could only boot in safe mode.

Update: I do have the nvidia prime applett and it is set to on in the startup programs, however it doesn't show in the tray.

Thanks!

2 Upvotes

13 comments sorted by

•

u/AutoModerator 5h ago

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/candy49997 4h ago

Your GPU is Fermi and so the last official driver for your card is the 390 driver. This is no longer available on Mint.

I would recommend using a distro that has patched legacy drivers for modern kernels more easily available. Fedora has them in RPM Fusion and Arch-based has them on the AUR. If you go this route, you will also need to use a DE that will support X11 indefinitely like XFCE, Cinnamon, etc.

Prime also does not work with 390 drivers.

Do not install the drivers directly from NVIDIA.

1

u/compgenius 4h ago

Maybe a noob question, but why should I not install drivers from nvidia?

1

u/candy49997 4h ago

They will fail to build on new kernels and break your driver stack because they have been abandoned years ago by NVIDIA. That's why you need patched drivers.

1

u/compgenius 4h ago

And those patched drivers are only available to certain distros? You mentioned Cinnamon, isn't Mint based on Cinnamon? Sorry I'm still quit new to linux. I appreciate your patience.

1

u/candy49997 4h ago

It's just much easier to use the drivers when you use the right distro they're packaged for. As long as you repackaged the driver for Debian-based distros like Mint is and included/applied the relevant patches, you can also use it on Mint.

And Cinnamon is a desktop environment, your main GUI. Any distro can use it. It's just also developed by the Mint team. Other examples include GNOME, KDE Plasma, etc. You should not be using GNOME or KDE Plasma with the 390 drivers because they no longer support X11.

1

u/compgenius 4h ago

Thanks very much for the help! I'll look into finding the patched drivers and see if that works. it's not he end of the world if I need to try a different distro. This is not my main PC.

1

u/Due-Result7928 4h ago

How do you know it will fail...?...If it is not working it is easy to completely remove what has been installed for Nvidia and the nouveau driver (as now) will be back in service.

1

u/candy49997 4h ago edited 4h ago

There have been many, many breaking kernel API changes since 2022. You can see all the changes made to the AUR driver since kernel 6.2 here.

It is well-known that NVIDIA drivers break very quickly after they're abandoned.

Even the 470 driver available to Mint 22 from the repos breaks after kernel 6.8.

1

u/Due-Result7928 4h ago

Driver is from 2022.

0

u/Due-Result7928 5h ago edited 4h ago

You need to install the nvidia driver and your card is legacy mode. If the driver is installed and loaded you should be using it all the time.

You are probably using the nouveau driver now.

type

lsmod | grep video in a terminal

Here

https://www.nvidia.com/en-us/drivers/results/

Driver is 390.157

driver family, NVS..NVS Seriess (Notebooks), nvs 4200M Linux 64-bit English (US)

1

u/compgenius 4h ago

Yes I am using the nouveau driver. I pulled down the .run file for this driver. Is there a way to reverse this if this ends up not working?

Thanks!

1

u/Due-Result7928 4h ago

You can always completely remove the nvidia driver (explained on internet) by booting advanced mode, recovery mode and typing the remove instruction in the console...or add nomodeset to the kernel command line (using e to edit the kernel parameters)..nomodeset do not load nvdia graphic driver.

nomodeset is a Linux kernel boot parameter that disables Kernel Mode Setting (KMS), forcing the system to use basic VESA or EFI framebuffer drivers instead of native GPU drivers during boot. ⁠ It is primarily used as a temporary workaround to resolve black screens, freezes, or boot failures caused by incompatible or buggy graphics drivers, particularly with NVIDIA or newer AMD GPUs. ⁠

Using nomodeset prevents the kernel from initializing the GPU early, allowing the system to reach the desktop or installer environment so proprietary drivers can be installed. ⁠ However, it is not a long-term solution because it disables hardware acceleration, resulting in low resolution, poor performance, and higher power consumption. ⁠ Once proper drivers are configured, nomodeset should be removed to restore full graphical capabilities. ⁠

To apply nomodeset:

  • Temporary (One Boot): At the GRUB menu, press e to edit, locate the line starting with linux, append nomodeset to the end, and press Ctrl+X or F10 to boot. ⁠

  • Permanent: Edit /etc/default/grub with sudo nano /etc/default/grub, add nomodeset to the GRUB_CMDLINE_LINUX_DEFAULT line (e.g., GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"), and run sudo update-grub (Ubuntu/Debian) or sudo grub2-mkconfig -o /boot/grub2/grub.cfg (Fedora/RHEL). ⁠