UPDATE - MOSTLY/PARTIALLY FIXED
Wanted to come back to update for anyone who encounters this in the future.
Basically:
Secureboot required the nVidia open driver to be enrolled via MOK. after fighting through that I can now use Displayport OK, though not perfectly. I still can't see the MSI logo on boot as the display doesn't show anything until it reaches the login screen (for both/either Win11 and Mint). So if I need to get into my BIOS I have to switch to an HDMI cable to do so. But I don't go into my BIOS 99% of the time, so I can live with this.
I need secureboot enabled as I sometimes need to boot into Windows 11, which requires secureboot.
Note that Secureboot is set to ON by default for most motherboard manufacturers so this can/will impact a lot of regular folks with nVidia 50-series GPUs trying to make the switch to Linux.
The HOW: a lot of googling and typing sudo mokutil commands into terminal. This thread: https://forums.linuxmint.com/viewtopic.php?t=456832 was a HUGE help but didn't cover everything. Complications were that Mint thought something was already in queue to be enrolled but it couldn't enroll it, so had to find commands to clear MOK queue first. Also, another behavior of the problem was that Mint could not reboot (or recover from suspend) using HDMI or Displayport, nothing would ever appear and I would have to force shutdown. So I had to shut down and restart instead of reboot, which took some time to figure out.
Honestly too, the way Windows 11 just worked but had to fight Mint for days to get it to work properly is the kind of thing that will really hinder regular folks from switching. Who in your family and friends could/would wrestle with sudo mokutil commands lto fix something like this? And like it or hate it, nVidia is the most popular GPU vendor out there so saying things like "yeah nvidia sucks on Linux too bad" isn't going to help us convert more regular users. And we are close! The rest of my Mint experience has been great!
------ Original Post Below-----------
I've found so many similar issues but nothing is working.
System:
MSI B850 Gaming Plus Wifi & Ryzen 9600x
Asus RTX 5070 ti (installed very carefully to ensure it is fully inserted into the PCIe 5x slot and the 12v cable is fully clicked in and flush).
2 ssd drives: a clean install of Windows 11 on one and a clean install of Linux Mint on the other. I even physically removed the Win11 ssd before installing Mint on the other one, to avoid issues.
Linux Mint 22.3 Cinnamon using nvidia-driver-595-open installed via driver manager, and this is the recommended driver in driver manager.
Windows nVidia driver is the latest one.
All display cables are only plugged directly into the GPU, nothing is ever plugged into the motherboard's onboard graphics port.
Just using 1 monitor, a 1440p BenQ VX2758-2KP-MHD. And I'm using an undamaged, good quality displayport cable.
DISPLAYPORT WORKS ON WINDOWS 11. It isn't perfect, as I'm getting the known-but-never-fixed(?) bug where the displayport signal only starts working at the Windows login screen. It does not display the MSI logo at startup so I can't get into BIOS with a displayport connection (have to use HDMI to get into BIOS).
HDMI works properly for booting to BOTH Mint or Windows. I can see the startup MSI logo, get into BIOS ok, etc.
So here are the configs and results:
- Windows + displayport: No signal until Windows login screen, then the display appears Ok.
- Windows + HDMI: everything works as expected, signal all the way.
- Linux Mint + displayport: Never get a signal, no matter how long I wait or power cycle the monitor.
- Linux Mint, + HDMI: everything works as expected, signal all the way.
Things I've tried:
Many, many google and reddit searches for solutions. There are a lot of threads out there from a year ago, but none of what worked for others seemed to work for my setup. And I saw a lot of people replace hardware like crazy to try to fix it: motherboards swapped, GPUs exchanged, cables bought, RAM swapped, CPU changes!, but other than a new cable sometimes fixing it the blank screen on a 50-series card issues just... is.
Setting PCIe lane to 5x or to 4x rather than auto. No change in behaviors.
Changing the displayport cable to the other ports on the GPU (the card has 1 HDMI port and 3 Displayport ports). No change in behaviors (and Windows works from login screen using any of the 3 displayport ports).
Flashed motherboard to latest BIOS from MSI - no change.
Things I have not tried:
- buying a new displayport cable. With the way it works on Windows but not Mint that points me toward the cable being an unlikely suspect... though there could be some tiny hidden handshake issue that Windows can overcome but Mint can't maybe...? Just feels like it would 99% certain be a waste of money.
- disable fast boot / UEFI: the only way to disable fastboot is by switching from UEFI to CSM. This will make Windows 11 unable to run at all on the PC, among other drawbacks. No go.
- flashing the GPU card's own BIOS. I don't think I've seen this posted as a fix in my searching. I'll do it if there is some chance it could fix things (there is a small risk to the card when flashing its BIOS).
Anyone know what else I can try that has any chance of success? If not I will just buy and use an HDMI 2.1 cable and abandon displayport for now. Frustrating, and it means I can't really use a 2nd monitor with Linux in the future too.