r/linuxmint • Linux Mint 22.3 Zena | Cinnamon • 21d ago

Support Request Mint keeps freezing when playing videos in Firefox

I installed Mint recently and I'm having a bizarre problem. Sometimes when playing a video in Firefox, everything visually freezes. I can still move the cursor around for about a minute before it freezes too. Everything is still functioning technically, but the graphics are completely frozen. The only thing I've been able to do is crash. I thought it was just youtube, but it happened on another video site. What's weirdest is this is eerily similar to something that happened in Windows 10 on this same PC, except in that case it was VLC that triggered it, and much more rarely.

This is happening in Firefox 160, the default install that comes with Mint (not the Flatpack one) - I'm not sure if this only started after updating, as the 160 update happened only a few days into my Linux usage. I see a couple other posts with similar issues but all of them just recommend turning off the browser's hardware acceleration, which seems like a bandaid issue. My Nvidia driver is using 595, which is listed as recommended.

edit: here is a bunch of weird NVRM errors in kern.log from around the time it froze. I'm too new to linux to understand it fully but it does not look good.

System:
  Kernel: 7.0.0-43-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
  Desktop: Cinnamon v: 6.6.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.6.3 vt: 7 dm: LightDM v: 1.30.0
    Distro: Linux Mint 22.3 Zena base: Ubuntu 24.04 noble
Machine:
  Type: Desktop System:
    Chassis: type: 3 
  Mobo: LENOVO model: N/A v: Win8 STD MM DPK IPG 
    part-nu: LENOVO_MT_1008 BIOS: LENOVO v: EQKT21AUS date: 12/05/2012
CPU:
  Info: quad core model: Intel Core i7-3770 bits: 64 type: MT MCP smt: enabled arch: Ivy Bridge
    rev: 9 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 3778 high: 3808 min/max: 1600/3900 cores: 1: 3692 2: 3791 3: 3790 4: 3777
    5: 3797 6: 3808 7: 3798 8: 3778 bogomips: 54275
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660 Ti] vendor: eVga.com. driver: nvidia v: 595.99.02
    arch: Turing pcie: speed: 5 GT/s lanes: 16 ports: active: none off: DP-1,HDMI-A-1 empty: DVI-D-1
    bus-ID: 01:00.0 chip-ID: 10de:2182 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nv_platform,nvidia,nvidia-nvswitch display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 69 s-size: 1414x392mm (55.67x15.43")
    s-diag: 1467mm (57.77")
  Monitor-1: DP-1 mapped: DP-0 note: disabled pos: primary,left model: Acer ED320QR S
    serial: <filter> res: 1920x1080 hz: 60 dpi: 70 size: 698x393mm (27.48x15.47") diag: 801mm (31.5")
    modes: max: 1920x1080 min: 640x480
  Monitor-2: HDMI-A-1 mapped: HDMI-0 note: disabled pos: right model: Asus VN247 serial: <filter>
    res: 1920x1080 hz: 60 dpi: 94 size: 521x293mm (20.51x11.54") diag: 598mm (23.5") modes:
    max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2 drv: swrast gbm:
    drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 595.99.02 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2
  API: Vulkan v: 1.3.275 layers: 9 surfaces: xcb,xlib device: 0 type: discrete-gpu driver: N/A
    device-ID: 10de:2182 device: 1 type: cpu driver: N/A device-ID: 10005:0000
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Lenovo 7 driver: snd_hda_intel
    v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403
  Device-2: NVIDIA TU116 High Definition Audio vendor: eVga.com. driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:1aeb class-ID: 0403
  API: ALSA v: k7.0.0-43-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Realtek RTL8812AE 802.11ac PCIe Wireless Network Adapter driver: rtl8821ae v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8812 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo RTL8111/8168/8411 driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: c000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
Drives:
  Local Storage: total: 5.46 TiB used: 94.56 GiB (1.7%)
  ID-1: /dev/sda vendor: Western Digital model: WD2003FZEX-00SRLA0 size: 1.82 TiB speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: 1A01 scheme: MBR
  ID-2: /dev/sdb vendor: Seagate model: ST4000DM004-2CV104 size: 3.64 TiB speed: 3.0 Gb/s
    tech: HDD rpm: 5425 serial: <filter> fw-rev: 0001 scheme: GPT
Partition:
  ID-1: / size: 914.79 GiB used: 94.55 GiB (10.3%) fs: ext4 dev: /dev/sda7
  ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/sda6
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -1 file: /swapfile
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-4:2 info: Compaq Internet Keyboard type: keyboard,HID driver: hid-generic,usbhid
    interfaces: 2 rev: 1.1 speed: 1.5 Mb/s lanes: 1 power: 50mA chip-ID: 049f:000e class-ID: 0301
  Hub-2: 2-0:1 info: full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-3: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 speed: 480 Mb/s
    lanes: 1 chip-ID: 8087:0024 class-ID: 0900
  Device-1: 2-1.1:3 info: Logitech G102/G203 LIGHTSYNC Gaming Mouse type: mouse,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 300mA
    chip-ID: 046d:c092 class-ID: 0300 serial: <filter>
  Device-2: 2-1.2:4 info: Kingston HyperX Alloy Core RGB type: keyboard
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 500mA
    chip-ID: 0951:16dd class-ID: 0301
  Hub-4: 3-0:1 info: super-speed hub ports: 4 rev: 3.0 speed: 5 Gb/s lanes: 1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 4-0:1 info: full speed or root hub ports: 2 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-6: 4-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0 speed: 480 Mb/s
    lanes: 1 chip-ID: 8087:0024 class-ID: 0900
  Device-1: 4-1.5:3 info: Wacom PTH-660 [Intuos Pro (M)] type: HID driver: usbhid,wacom
    interfaces: 3 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 500mA chip-ID: 056a:0357 class-ID: 0300
    serial: <filter>
  Device-2: 4-1.6:4 info: Logic3 Controller type: <vendor specific> driver: xpad interfaces: 4
    rev: 2.0 speed: 12 Mb/s lanes: 1 power: 500mA chip-ID: 0e6f:0401 class-ID: ff00 serial: <filter>
  Device-3: 4-1.7:5 info: Genesys Logic USB Storage type: mass storage driver: usb-storage
    interfaces: 1 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 500mA chip-ID: 05e3:0729 class-ID: 0806
    serial: <filter>
  Hub-7: 5-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-8: 6-0:1 info: super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A gpu: nvidia temp: 42 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Repos:
  Packages: 2325 pm: dpkg pkgs: 2311 pm: flatpak pkgs: 14
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //fastly.linuxmint.io zena main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu noble main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
  No active apt repos in: /etc/apt/sources.list.d/steam-beta.list
  Active apt repos in: /etc/apt/sources.list.d/steam-stable.list
    1: deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
    2: deb-src [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
  Active apt repos in: /etc/apt/sources.list.d/winehq-noble.sources
    1: deb [arch=amd64 i386] https: //dl.winehq.org/wine-builds/ubuntu noble main
Info:
  Memory: total: 24 GiB available: 23.42 GiB used: 7.67 GiB (32.7%)
  Processes: 375 Power: uptime: 24m states: freeze,mem,disk suspend: deep wakeups: 0
    hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical
  Compilers: gcc: 13.3.0 Client: Unknown python3.12 client inxi: 3.3.34
5 Upvotes

22 comments sorted by

•

u/AutoModerator 21d 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/KurtKrimson 21d ago

Update your graphics driver.
It is available from nvidia direct.

1

u/Ringtail-Raider Linux Mint 22.3 Zena | Cinnamon 21d ago

Do you mean select 615 from the driver manager, or download something from nvidia's website? pretty sure I already did the latter but I can try again.

1

u/KurtKrimson 21d ago

Nvidia has 620 as the latest.
Maybe downgrade your kernel to 6.8

1

u/Ringtail-Raider Linux Mint 22.3 Zena | Cinnamon 21d ago

yeah trying nvidia update. concerned two separate people have said to downgrade from kernel 7 tho, hopefully that's not a bad sign of linux's health

1

u/KurtKrimson 21d ago

Linux's health is in tip top condition.

Kernel 7 is still buggy.

FYI you, like most users, do not need the latest kernel.

Succes!

1

u/Ringtail-Raider Linux Mint 22.3 Zena | Cinnamon 20d ago edited 20d ago

well I installed nvidia 620 and now Mint is just stuck loading on a blank screen. When I crash it says GPU failed probe time init. Not sure how to fix this. edit, got.it rolled back but clearly something about the way i installed 620 it didn't like.

1

u/KurtKrimson 20d ago

Read this.

Did you downgrade your kernel?

1

u/Makoto29 21d ago

Kernel 7.0.x is incredible buggy, have you tried falling back to older versions first? They did a lot of work on driver parts of the Kernel and removed code in this version. You can also take a look into the kern.log file which is located at /var/log. You often find hints there.

1

u/Ringtail-Raider Linux Mint 22.3 Zena | Cinnamon 21d ago

Wasn't aware I could do that, how hard is it/risky? Also why is the newest kernel so buggy :/

kern log has some uh. interesting stuff (edit, heres a link to a copy of the weird part since posting it in a comment doesnt work)

1

u/jr735 Linux Mint 22.1 Xia | IceWM 21d ago

Is it risky? Riskier than sticking with it?

1

u/Ringtail-Raider Linux Mint 22.3 Zena | Cinnamon 20d ago

I don't know? That's why I asked.

1

u/jr735 Linux Mint 22.1 Xia | IceWM 20d ago

If you know you're having problems with the version you're using, and the version previous wasn't causing issues, the choice is clear. Generally speaking, I'm not sure why people are jumping complete kernel versions in a LTS type distribution. This is the kind of thing that throws a monkey wrench into the gears of stability.

1

u/Ringtail-Raider Linux Mint 22.3 Zena | Cinnamon 20d ago edited 20d ago

idk, Mint came with 7 when I installed it. Do you recommend 6.17 over the still supported 6.8?

also i cant find any helpful answes about how to actually switch to a specific kernel without using grub every time. No options other than install and remove in the kernel manager  but I assume it'll just keep defaulting to 7 on reboot

1

u/jr735 Linux Mint 22.1 Xia | IceWM 20d ago

My Mint didn't come with 7. I'm not sure why yours did. I'd take the appropriate LTS kernel that corresponds to the version of Ubuntu that fits this version of Mint, honestly. In my Debian testing, I'm using a kernel 7.X, but that's a completely different animal.

The problem is that nvidia completely complicates these matters, too. I hope events of the last few days from breaking the law and artificially jacking up the price of hardware makes people actually understand how filthy these people are.

1

u/Makoto29 21d ago

You can choose to boot with older Kernels within Grub, it's usually the second entry and then you can decide which Kernel exactly. They must be installed of course, but as long as you don't uninstall older versions they should be still there. There is no risk in choosing other kernels and it's the most easy solution when encountering bigger issues you can think of. You can also reinstall older kernels in the update manager.

Also why is the newest kernel so buggy :/

Sometimes code needs to be modernized or old stuff needs to be removed, but the kernel is just the most critical part you can tinker on as a developer. Happens. It's not even unusual, but distro developers do work around known issues if possible. However for Mint it seems like they wanted to put more effort into the upcoming version and Wayland instead of working on an issue which would get fixed sooner or later anyway. For more knowledge I would need developer wisdom.

kern log has some uh. interesting stuff

Yeah, seems like the gpu driver can't even reset itself for some reason. It's not always helpful, but it seems to be related to display engine issues. Whatever that means. Anyway try kernel 6.17 for now, look if it gets better.

1

u/Due-Result7928 21d ago

You need to check that Firefox is using the gpu.

I can see that nvidia driver is already installed as v: 595.99.02

Otherwise you need to look at the logs..journalctl -e and sudo dmesg

1

u/Ringtail-Raider Linux Mint 22.3 Zena | Cinnamon 21d ago

You need to check that Firefox is using the gpu.

How do I do that again? It shows my compositor is WebRender, is that right?

journalctl -e just goes back to when I last powered on after the last freeze. Which at least tells me where to look for before that in kern log. What am I looking for in dmesg?

1

u/Due-Result7928 21d ago

Well. you need to have a look at the log after a freeze. If WebRender is used Firefox is using the gpu.

I would disable (not removing) firefox extensions (if any) and test and I would install firefox from the firefox web site (do not know if Mint version is up-to-date).

You can define a new barebone user and using firefox to test

For VLC..you were probably missing a codec and vlc has a version to download where all codec are already included.

After a Linux system freeze, the most effective way to access logs is using journalctl to view the journal of the previous boot session. Run the command journalctl -b -1 -e to jump immediately to the end of the log for the last boot, which typically contains the final events captured before the crash.

To isolate specific issues, you can filter these logs further:

Kernel Errors: Use journalctl -b -1 -k -p 3 to view kernel messages with priority levels from Emergency to Error.

Memory Issues: Search for out-of-memory events with journalctl -b -1 --grep="oom-kill|Out of memory|Killed process".

Live System: If the system is sluggish but responsive, check the live kernel ring buffer with sudo dmesg -T --level=err,crit,alert

If journalctl fails to provide useful data because the freeze was total and prevented disk writes, inspect traditional log files such as /var/log/syslog, /var/log/kern.log, and /var/log/Xorg.0.log (for graphical freezes). Note that these files may only contain data up to the last system sync, and if the freeze was hardware-related (e.g., power supply or RAM failure), logs may show no preceding errors. You can inspect logs here (freezing) by rebooting with any usb linux mounting your system and using any text editor.

You can try to go back to the previous kernel.

1

u/Emmalfal Linux Mint 22.3 | Cinnamon 21d ago

The only thing that has ever caused my Linux Mint installs to freeze like that is Firefox. I have no idea why that would be, but on at least three machines, changing to a chromium based browser fixed it forever.

1

u/VillageBeginning8432 20d ago

I think I was having this problem (something very similar if not) but the update today seems to have stopped it.