r/linuxmint • • 24d ago

Support Request Does anyone know why is my Linux mint doing this after every boot?

[TLDR] My pc is freezing when I leave videos paused in YouTube, and when I try to reboot it, the monitors show an interference image before instantly booting normally.

Good afternoon!

I installed mint in my pc a week ago and I've been using it normally since. I really don't know what could have happened, but yesterday I left the pc with a paused video on YouTube, and when I returned a few moments later, it froze, not even the mouse cursor would show. I used Alt+SysRq+b to restart it, and when it restarted it showed exactly these interference images on my monitors while booting. And since then, sometimes it just randomly freezes, I do the same procedure and it shows the same images while booting.

I noticed it happens when I leave videos paused on YouTube, though I'm not sure it is related.

I use a Wacom CTL4100 drawing tablet and I did have to set it up because the wacon driver was glitching with some other driver I was using (also for the drawing tablet), that was the only change regarding graphics design I did on my pc, although I don't think it would interfere in the Linux system, I did run these commands to fix the drawing tablet:

echo "blacklist wacom" | sudo tee /etc/modprobe.d/blacklist-wacom.conf

sudo update-initramfs -u (this is said to update the boot image)

these commands as well as this driver issue is on the driver documentation, so again I don't really think that's causing the problem but it's the only change I remember doing regarding graphics and etc

I use a NVIDIA GTX 1059 Ti, I installed the driver NVIDIA 580 while setting it up a week ago. The problem really just started yesterday.

I'm sorry I'm really new to this tech stuff, I'm sorry if the post is lacking info. Thank you all for your attention!

7 Upvotes

4 comments sorted by

•

u/AutoModerator 24d 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.

2

u/Greedy-Opposite-9133 20d ago

Hmm, interesting one.

The stripes on the screens: my guess is it's leftover data in the graphics card's memory. Alt+SysRq+B restarts the PC without fully powering the card off, so it may show whatever was left in there until the driver starts up again. If that's what it is, it should be harmless on its own and the freeze is the real problem.

It's worth ruling out if it's the card. If the stripes ever show up after a full power-off (shut down, switch off at the wall for 30 seconds, then start), or on the BIOS screen, that would point more towards the card/hardware.

The freeze: a full freeze with the mouse stuck often points at the graphics driver hanging, but there are other possible causes, so it would help to get the logs first. Next time it freezes, try Alt+SysRq+S, then U, then B (a couple of seconds apart) instead of just B. S and U should write everything to disk first, so the log from the freeze has a better chance of surviving. Then run:

journalctl -b -1 -k | grep -iE 'NVRM|Xid'

If you get lines with NVRM or Xid, that would suggest the NVIDIA driver crashed. Worth posting whatever it shows either way.

A few things that might be worth trying in the meantime:

  1. A paused video doesn't keep the screen awake the way a playing one does, so it's possible the screen blanking or the monitors going to sleep is what sets it off. As a test, you could set the screensaver delay to Never and "Turn off the screen when inactive" in Power Management to Never for a day or so, and see if it still freezes.
  2. Turning off hardware acceleration in whichever browser you use for YouTube. assuming Firefox since it's Mint's default: Settings > General > Performance, untick "Use recommended performance settings", then untick "Use hardware acceleration when available".
  3. If Driver Manager lists an older NVIDIA driver than 580, that might be worth a try too.

If it's easily reproducable then try send through some info per above

3

u/Crafty_Pea_4513 19d ago

wow thank you for all the help actually!

I did the test of fully powering it off for a while and it still showed the stripes. I decided to try using only one monitor to test, and used only one for a whole day, and nothing happened, it didn't show the stripes on boot and it didn't freeze the whole day, I even left it with a paused video again for an hour just standing, when I came back it worked normally. I tried connecting the second monitor while it was on (as I would normally in my windows, I really don't know if you're not supposed to connect monitors while the pc is on, i never minded it) and it instantly froze hahah....

I feel like it had something to do with the driver and I checked again the driver manager. it was pointing to an older version as "recommended", so I decided to try switching to this older version, as you mentioned. Since it was working with one monitor I supposed maybe the latest driver really wasn't compatible with both monitors. But when I installed this older version (it was nvidia 470, don't know if it's worth mentioning), the pc simply wouldn't recognize both monitors, only my main one, I got some error messages when I booted it with the old driver but unfortunately I didn't take any pics of them.

At the end what I did was installing the Nvidia 580 which was the driver I was using before installing this older version and it just worked, it's been almost a day and it didn't show the stripes again as well as it's not freezing either. Not I don't know if maybe the driver had to update, and by reinstalling it I updated it and now it's working, or it the problem is still there, just not showing, to be honest I'm very confused. It also didn't give me any error messages either.

I'm sorry for the long text, from these infos what do you think?

1

u/Greedy-Opposite-9133 19d ago edited 19d ago

No problems on the long text!

Man it could have been a few things. My best guess: your 580 driver install had broken somehow, it's rare these days but file corruption or bad installs still happen. possibly after a kernel update. Part of the NVIDIA driver has to match the exact kernel you’re running. If that part doesn’t get rebuilt properly after a kernel update, you get exactly what you saw: stripes at boot, random freezes, and freezes when a monitor is plugged in. Reinstalling 580 rebuilt it for your current kernel, and it’s been fine since. 470 not seeing both monitors fits as well. It’s an old driver branch and not a good match for your card, so stay on 580 and ignore the “recommended” label. The stripes showing up even after a full power-off had me suspecting the card, but since a driver reinstall fixed them, it looks like it was the driver after all.

  1. Quick check now:

    nvidia-smi

It should show your card and driver version 580. If it gives an error instead, the driver isn’t loaded properly.

2. If it freezes or shows stripes again, ruse the Alt+SysRq S, U, B combo from before so the log survives, then reboot and run this to see the errors from the boot that went wrong:

 journalctl -b -1 -p err

Post the output or DM to me. If it starts right after a system update, a new kernel is the likely trigger, and reinstalling 580 in Driver Manager is the quick fix.

Plugging in a monitor while the PC is on is fine on Linux or most pcs, by the way. Once it’s been stable for a few days, try it again. If it still freezes, that could be a whole other problem, but worth lookin at.

excuse this reply formatting its being weird and not doing what I want it to do.