NVIDIA freezes randomly

Which NVIDIA driver is needed for bumblebee? In garuda-settings-manager, there are three options : video-optimus-manager, video-nvidia-prime-render-offload and video-nvidia-dkms

Which one to install? At first MHWD automatically installed optimus driver but I need to use bumblebee so how can I make it work? Can you please help me? I followed Archwiki and also searched for it but didn't get any solution.

I don't know much about these aspects but I think I can give you some general, "approach" advices.
Are you sure you are taking the right path?
I see you're looking for a path on your own... but details are missing, without which I don't think anyone can help you.

Details missing

Are you really sure? Sources? Rarely I've seen Bumblebee suggested here (this could be a case, of course!).

That service status is not enough in my opinion, I hope there are logs, journal etc.

I see it's a long guide (with also a lot of troubleshootings). Are you 100% you followed everything and correctly? For sure, providing some details would help, but here I understand it is hard. Maybe if someone confirms this is the right way to go...

The Arch Wiki says

An appropriate version of the NVIDIA driver, see NVIDIA#Installation.

You should have the drivers installed according to the garuda-inxi. That's why I'm thinking there might be something else missing.
To make it simple, I would say video-nvidia-dkms, but as I said at the beginning these were only supposed to be general advices for the future.

2 Likes

Yes you are right. Actually it works well with drivers installed by mhwd after installation of Garuda but I don't know why it happens. The optimus manager works fine with hybrid and integrated mode but when it is set to nvidia, then also it works fine for a few minutes of use with any percentage or GPU utilization or load but after sometime the screen starts freezing, then again after a few seconds it is fine and the cycle of freezing continues. So I am a little confused what to do in this case. Above suggested troubleshooting steps are not helping in this case. It might be the issue from NVIDIA side because I saw some other users of different linux distros having same problem like me with NVIDIA RTX 3050. And one user has it working fine by bumblebee method.

And we are 100% sure here in this thread that this freeze is caused by GPU?

Problem is only there when switched to NVIDIA otherwise no problem is there.

You have been asked to provide some actual information, and as yet you have provided next to none.

Start providing full information on your issue or this thread may be shut down. The information we need was already linked several times here already.

This is from the FAQ Tutorial already linked several times (proceed to providing the information requested):



Feedback you should provide:



There are numerous threads on the forum dealing with freezing issues with many different suggestions posted on how to hopefully correct the issue. Please search the forum and report in detail on every fix you attempt and post relevant logs and command outputs. To troubleshoot any issue effectively forum assistants must know all the troubleshooting steps that have been tested to have any chance of finding a solution. Threads already covering this topic on the forum should provide plenty of information on the steps you need to take to troubleshoot this issue.

If a thorough search of the Garuda forum doesn't turn up a solution, then searching other Arch based forums is usually the next step. If you can't turn up what you need on the Arch derivative distro foras then throw a wider net with an internet wide search.



Freezing Questionnaire/Checklist:



Have you posted the output of the garuda-inxi command?


Have you provided a full history of fixes attempted?


Have you checked for errors/segfaults/crash dumps, and posted your logs?


Have you given at least 3 alternate kernels a test out? which ones?


Have you fully updated your system?


Is your BIOS up to date?


Have you checked your resource usage with htop, iotop, etc?


Are you getting close to maxing out your ram at any time?


Have you checked your system temperatures?


Did this issue start recently after an update?


If this started recently, have you tried performing a rollback via a snapshot?


Can you recall making any config changes about when this issue began?


Have you tried disabling the baloo file indexer temporarily?


Have you tried disabling all network adapters temporarily?


Have you tried disabling hardware acceleration in your browser?


Have you tried disabling BTRFS Quotas (qgroups)?


Have you run a BTRFS balancing operation?


If you press the CAPS or NUMLOCK key, does your KB state light change?


Is your CAPS or NUMLOCK LED blinking? (kernel panic indicator)


Can you move your mouse cursor?


Can you move your mouse cursor, but clicking has no effect?


Do you have full keyboard functionality?


Is this a complete freeze up with no keyboard or mouse responsiveness?


Does pressing CTRL+T open a terminal?


Does pressing CTRL+ALT+F2 get you to a TTY?


Have you tried restarting your system from the terminal or TTY?


Have you tried to remote in from another computer via ssh?


Have you tried to ping your machine from another computer?


Can you use the Magic SysRq key to restart/shutdown?


Have you tried restarting (KDE) plasmashell or kwin from the terminal?


Is there a specific program or action that often triggers a freeze?


How many applications are generally running when the freezing occurs?


Are the freezes completely random?


Is their any pattern to the freezes?


How often do the freezes usually occur?


How long have these freezes been happening on this install?


Do the freezes seem to be getting more frequent over time?


What is your longest time without a freeze?


Do freezes only happen while doing something CPU intensive?


Do the freezes happen even if the system is completely idle?


If a freeze does occur, does it resolve on its own if you wait a long time?


Have you tried both the proprietary and free Nvidia drivers, (if present)?


Have you tried changing your compositor settings?


Have you tried disabling your compositor entirely?


Have you followed all the steps in the hardware troubleshooting tutorial?


Have you followed all the steps in the software troubleshooting tutorial?


Have you tried removing all plasma widgets (plasmoids) you've installed?


Have you tried removing all Gnome extensions you've installed?


Have you used Garuda Assistant to reset your default config?


Have you tried Installing linux-firmware-git , and rebooting?


Have you made any overclocking/undervolting or similar modifications?


Do you use full disk encryption?


Do you use a swap partition?


Have you installed multiple Desktop Environments or WM's together?


Are you running Garuda in a Virtual Machine?


Do you have only 4GB of RAM (or less) with shared video?


Does your electrical grid experience power fluctuations?


Is your home wiring very old, do your lights flicker?


Have you installed any extra apps (which) from the AUR/Chaotic repos?


Have you fully updated all apps from the AUR/Chaotic repos?


Have you experienced similar issues with this hardware on other OS's?


Did, (or does) freezing also occur on Windows?


Did, (or does) freezing also occur on other Linux distros?


Have you booted live disks of other Garuda DE's or other distros?


Does freezing also occur in live environments, (which ones)?


Does freezing also occur if you create a new user account?


Does the system get progressively slower before freezing?


Has your computer ever shut off on its own, without you initiating ?


Does sound continue playing, or loop during a freeze?


Are you using tlp ? if so, disable or uninstall it temporarily.


If your computer has a disk activity LED, is it blinking during the freeze?


Please answer as many of the above questions as possible. We need to have a complete picture in order to help resolve your issue. You can copy the above list of questions in its entirety into any help request you open on this subject. Below each question provide an answer as best you can to each question on the checklist of queries.



6 Likes

Thanks for such a detailed help @tbg.

System:
  Kernel: 5.17.7-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=8736464e-32e6-464b-aa69-5aa97de64cf4 rw [email protected]
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=4425a162-e3ad-42f1-bc0d-aa3b380435b8 loglevel=3
    nvidia-drm.modeset=1
  Desktop: Cinnamon v: 5.2.7 tk: GTK v: 3.24.33 wm: muffin vt: 7
    dm: LightDM v: 1.30.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec2xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 88DE v: 96.31 serial: <superuser required> UEFI: AMI
    v: F.15 date: 08/18/2021
Battery:
  ID-1: BAT0 charge: 48.0 Wh (95.2%) condition: 50.4/50.4 Wh (100.0%)
    volts: 13.0 min: 11.6 model: HP Primary type: Li-ion serial: <filter>
    status: charging
CPU:
  Info: model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000C
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 2446 high: 3416 min/max: 1200/4280 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2395 2: 2621
    3: 3341 4: 3416 5: 2912 6: 2398 7: 1991 8: 2166 9: 2135 10: 1916 11: 2081
    12: 1983 bogomips: 79052
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: Hewlett-Packard
    driver: nvidia v: 515.43.04 alternate: nouveau,nvidia_drm pcie: gen: 1
    speed: 2.5 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16 ports:
    active: none empty: HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:25a2
    class-ID: 0300
  Device-2: AMD Cezanne vendor: Hewlett-Packard driver: amdgpu v: kernel
    pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
    active: eDP-1 empty: none bus-ID: 05:00.0 chip-ID: 1002:1638
    class-ID: 0300
  Device-3: Luxvisions Innotech HP TrueVision HD Camera type: USB
    driver: uvcvideo bus-ID: 3-3:2 chip-ID: 30c9:0035 class-ID: fe01
    serial: <filter>
  Display: x11 server: X.Org v: 21.1.3 driver: X:
    loaded: modesetting,nvidia gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: AU Optronics 0x2992 built: 2020 res: 1920x1080
    hz: 144 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6")
    diag: 394mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
  OpenGL: renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.44 5.17.7-zen1-2-zen)
    v: 4.6 Mesa 22.0.3 direct render: Yes
Audio:
  Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s
    lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:2291 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
    driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_sof_amd_renoir
    pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s
    bus-ID: 05:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.6 chip-ID: 1022:15e3
    class-ID: 0403
  Sound Server-1: ALSA v: k5.17.7-zen1-2-zen running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.51 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw89_pci v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8852
    class-ID: 0280
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-4:3 chip-ID: 0bda:2852 class-ID: e001 serial: <filter>
  Report: bt-adapter ID: hci0 rfk-id: 1 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 52.81 GiB (11.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron
    model: MTFDHBA512TDV-1AZ1AABHA size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: HPS0032 temp: 41.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 60 GiB size: 60 GiB (100.00%) used: 22.68 GiB (37.8%)
    fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
  ID-2: /boot/efi raw-size: 615 MiB size: 613.8 MiB (99.80%)
    used: 580 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p8 maj-min: 259:8
  ID-3: /home raw-size: 95.4 GiB size: 95.4 GiB (100.00%)
    used: 30.13 GiB (31.6%) fs: btrfs dev: /dev/nvme0n1p7 maj-min: 259:7
  ID-4: /var/log raw-size: 60 GiB size: 60 GiB (100.00%)
    used: 22.68 GiB (37.8%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
  ID-5: /var/tmp raw-size: 60 GiB size: 60 GiB (100.00%)
    used: 22.68 GiB (37.8%) fs: btrfs dev: /dev/nvme0n1p6 maj-min: 259:6
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 4 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p10 maj-min: 259:10
  ID-2: swap-2 type: zram size: 7.18 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 59.0 C mobo: N/A gpu: amdgpu temp: 46.0 C
  Fan Speeds (RPM): cpu: 0 fan-2: 0
Info:
  Processes: 397 Uptime: 16m wakeups: 1 Memory: 7.18 GiB
  used: 2.77 GiB (38.6%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 12.1.0 Packages: pacman: 1379 lib: 323 Shell: fish v: 3.4.1
  running-in: gnome-terminal inxi: 3.3.15
Garuda (2.6.3-2):
  System install date:     2022-05-08
  Last full system update: 2022-05-18
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:            

Kernels I tested : zen, arch stock, lts.

Yes

Yes

Yes. With htop, it is okay all the time. Using about 50 to 60% of 8GB RAM while 2 to 3 apps opened like browser, vscode, etc.

Never till now. Using Linux since 7 to 8 months and Garuda since 6 to 7 months. My RAM never reached that much close.

Normally, it's about 40 to 47 degree C. It never becomes too hot. Never went above 65 till now.

No, actually it's there since I started to use Linux. Like most people, I started with Ubuntu. Then freezing due to NVIDIA occured in it. I tried most of popular distros. Most freezes with NVIDIA drivers and NVIDIA set as primary gpu while others not even boot with proprietary drivers like Fedora. Then I switched to Garuda. First with GNOME so everything was fine with prime-run command but then I came to know in Cinnamon that NVIDIA can be set as primary gpu. Then it became a problem that whenever I set it to primary, it freezes after sometime randomly and unfreezes randomly with and without even any load or high temperature.

Yes, I did so and also reinstalled the whole OS.

Nothing

Yes. I have only one so I also tried with adapter off.

Yes. Screen freezes even when not using any browser or any graphics app.

Yes

Yes

Yes. It's normal

No

No

Yes

Yes

No

Yes. Freezing does to GUI only

Yes, so many times.

No

No

No

Any number of apps are running, it occurs. 0 or 1 or 2 or max 3. More than that I generally don't use simultaneously.

No

Yes. After switching to NVIDIA, freezes occurs after some seconds or minutes then continuously freeze unfreeze loop starts till I shutdown the machine forcefully or switch back to hybrid mode.

No

Since I installed Cinnamon edition. 8th May.

No when I switch to NVIDIA then only it occurs and totally random. No long or short duration or frequency increment or decrement.

About 5 minutes or so.

No. Anytime after switching is made.

Yes.

It unfreezes after sometime say 2 to 4 minutes and freezes another time after sometime and the loop continues

Free NVIDIA driver nouveau is not there for my RTX 3050.

Yes. I tried to disable it for full-screen windows and also enable it via Cinnamon settings.

No. I will check and reply ASAP.

Yes.

Yes

No

No

No

Yes, of 4GB space.

No.

Obviously not. I have it as primary OS with dual boot.

No

No

No

From AUR :

glmark2-git r974.6b70efb-1
logisim 2.7.1-7
notion-app-enhanced 2.0.18-1
nvidia-system-monitor-qt 1.5-1
packettracer 8.1.1-1
vuze 5.7.6.0-1

Non AUR :

accountsservice
alsa-firmware
amd-ucode
anydesk-bin
argyllcms
arj
asciiquarium
autoconf
automake
autorandr
b43-fwcutter
base
bash-completion
beautyline
bind
binutils
bison
bleachbit
blueberry
bluetooth-support
brave-bin
bridge-utils
btrfs-progs
bzip2
catfish
celluloid
chaotic-keyring
chaotic-mirrorlist
cinnamon
cmatrix
coreutils
cowsay
cpio
cryptsetup
curlftpfs
dconf-editor
deluge-gtk
dialog
dmidecode
dmraid
dosfstools
downgrade
e2fsprogs
ecryptfs-utils
efibootmgr
ethtool
exfatprogs
f2fs-tools
fakeroot
fatresize
festival
ffmpegthumbnailer
file
filesystem
findutils
firedragon
firefox
firefox-pwa
flex
freetype2
fscrypt
fwupd
garuda-assistant
garuda-boot-options
garuda-browser-settings
garuda-cinnamon-settings
garuda-common-settings
garuda-fish-config
garuda-gamer
garuda-hooks
garuda-hotfixes
garuda-icons
garuda-network-assistant
garuda-optimus-manager-config
garuda-settings-manager
garuda-setup-assistant
garuda-system-maintenance
garuda-video-linux-config
garuda-wallpapers
garuda-wallpapers-extra
garuda-welcome
garuda-zsh-config
gawk
gcc
gcc-libs
gettext
gimp
git
glibc
glmark2-git
gnome-calculator
gnome-color-manager
gnome-firmware
gnome-keyring
gnome-logs
gnome-online-accounts
gnome-screenshot
gnome-terminal-transparency
gnu-netcat
gparted
gpaste
grep
groff
grub
grub-btrfs
grub-garuda
grub-theme-garuda
gstreamer-meta
gtk-engine-murrine
gvfs
gvfs-afc
gvfs-goa
gvfs-google
gvfs-gphoto2
gvfs-mtp
gvfs-nfs
gvfs-smb
gzip
htop
inetutils
input-devices-support
inxi
iproute2
iptables-nft
iputils
ipw2100-fw
ipw2200-fw
jdk-openjdk
jfsutils
jre-openjdk
jre-openjdk-headless
kvantum
kvantum-theme-nordic-git
kvantum-theme-sweet-git
lhasa
libdvdcss
libgsf
libopenraw
librsvg
libtool
licenses
lightdm
lightdm-settings
lightdm-slick-greeter
linux
linux-firmware
linux-headers
linux-zen
linux-zen-headers
logisim
logrotate
lollypop
lrzip
lsb-release
lvm2
lzip
lzop
m4
make
man-db
man-pages
mdadm
meld
memtest86+
mercurial
micro
mintstick
mkinitcpio-nfs-utils
mkinitcpio-openswap
mkinitcpio-systemd-tool
mlocate
modem-manager-gui
mousetweaks
mtools
nano
nemo
nemo-fileroller
nemo-image-converter
nemo-preview
nemo-seahorse
nemo-share
neofetch-git
net-tools
network-manager-applet
networkmanager-support
nfs-utils
nilfs-utils
notion-app-enhanced
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
nss-mdns
ntfs-3g
numlockx
nvidia-system-monitor-qt
onboard
onlyoffice-bin
orca
os-prober-btrfs
p7zip
packettracer
pacman
pacman-contrib
pamac-aur
papirus-icon-theme
paru
patch
pavucontrol
pciutils
perl-file-mimeinfo
pipewire-jack
pipewire-support
pkgconf
playerctl
plymouth-git
plymouth-theme-garuda
power-profiles-daemon
powertop
printer-support
procps-ng
psmisc
qgnomeplatform-qt5
qt5ct
rate-mirrors
reiserfsprogs
rsync
rtw89-dkms-git
samba-support
sassc
scanner-support
sed
shadow
simple-scan
sl
snapper-support
snapper-tools
sof-firmware
sshfs
stacer
subversion
sudo
system-monitoring-center
systemd
systemd-sysvcompat
tar
tela-icon-theme-git
telegram-desktop
terminus-font
texinfo
ttf-dejavu
ttf-fantasque-sans-mono
ttf-fira-sans
ttf-liberation
ttf-opensans
ufw
unace
unarchiver
unarj
unrar
unzip
update-grub
usbutils
util-linux
vi
vim
virtualbox-meta
visual-studio-code-bin
vivaldi
vivaldi-ffmpeg-codecs
vlc
vuze
warpinator
webapp-manager
webcamoid
wget
which
wireless-regdb
wireless_tools
wmctrl
xautolock
xbindkeys
xcape
xdg-desktop-portal
xdg-desktop-portal-gtk
xdg-user-dirs
xdg-utils
xdotool
xed
xfsprogs
xorg-server
xorg-server-xephyr
xorg-xbacklight
xorg-xeyes
xorg-xhost
xorg-xinit
xorg-xinput
xorg-xkill
xorg-xprop
xorg-xrandr
xorg-xsetroot
xorg-xwininfo
xreader
xsel
xviewer
xviewer-plugins
xz
zip

Yes, on Ubuntu, or any debain based distro. Fedora does't even boot with proprietary drivers option.

No.

Yes as above mentioned.

Yes. Garuda GNOME, Cinnamon, i3, xfce and Ubuntu, Manjaro, Fedora, EndeavourOS.

In live environment, swithcing to NVIDIA is not there or I haven't observed the option so it doesn't freeze.

Yes.

No, it works fine when not freezed.

No.

I haven't played any sound.

No it doesn't have.

That's all @tbg. I think issue is with my model of NVIDIA as it occurs in all distros. But don't know if it is anything else. If possible please help if this problem can be fixed.

4 Likes

Thank you so much for your detailed response. I must congratulate you on the thoroughness of your reply.

IMO, after reading all your answers I'd say there is a couple of routes to take.

  1. Reconfigure your driver.

  2. Test as many kernel parameters that you can find that may possibly help with freezing issues.

I do not use nvidia adapters, so I will leave it to others for advice on configuring your driver. The Archwiki has an entire section dedicated to troubleshooting nvidia issues that you should read carefully, (if you haven't already).

https://wiki.archlinux.org/title/NVIDIA/Troubleshooting

Again good work on your in depth answers. I am currently only on my cell, when I'm home and on my computer I will try to find some more suggestions for you.

3 Likes

I would also like to raise my hat to your deep responses @yash , when I edited your post to include the ~~~ for your packages lists I was amazed you went through ALL (I think all...) of the questions. Wow. :smiley: I hope you get your freezing fixed!

3 Likes

Also be sure to read the section of the Arch Wiki pertaining to Ryzen chips:

https://wiki.archlinux.org/title/Ryzen#Soft_lock_freezing

This may be of major use to you as they recommend several avenues you can take, kernel parameters are your most likely fix.

4 Likes

Thanks to @tbg and @FGD for your appreciations but actually you people are worth for appreciation because you have not only made such a Legendary Distribution which is perfect for all needs (and most important, Garuda Linux and its all features are completely free) but also you give us time and help beginners like me from a small problem to the biggest NVIDIA problem :sweat_smile:

Most people don't know NVIDIA and Linux brotherhood :wink: while buying machine. So, actually there is need of marketing this brotherhood than the linux distro itself.

You have done your due diligence, and that is all that is required to gain extensive help on our forum. As long as you demonstrate a willingness to do some work for yourself, you will always find others willing to assist you on our forum.

If you are unfamiliar with editing your Grub kernel parameters, be sure to make a backup copy of /etc/default/grub first. I can offer more assistance when I am at home on my computer.

https://wiki.archlinux.org/title/kernel_parameters

In this edit is suggested for /etc/X11/xorg.conf.d/20-amdgpu.conf but I don't have such file. In my case, optimus manager is handling it. How can I make it? The name should be the same or 10 or something instead of 20 in name?

ls /etc/X11/xorg.conf.d/
.rw-r--r-- 232 root  8 May 15:57  00-keyboard.conf
.rw-r--r-- 822 root 19 May 16:09  10-optimus-manager.conf
.rw-r--r-- 240 root 28 Apr 11:34  30-touchpad.conf

Optimus manager conf :

Section "Files"
	ModulePath "/usr/lib/nvidia"
	ModulePath "/usr/lib32/nvidia"
	ModulePath "/usr/lib32/nvidia/xorg/modules"
	ModulePath "/usr/lib32/xorg/modules"
	ModulePath "/usr/lib64/nvidia/xorg/modules"
	ModulePath "/usr/lib64/nvidia/xorg"
	ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "ServerLayout"
	Identifier "layout"
	Screen 0 "integrated"
	Inactive "nvidia"
	Option "AllowNVIDIAGPUScreens"
EndSection

Section "Device"
	Identifier "integrated"
	Driver "modesetting"
	BusID "PCI:5:0:0"
	Option "DRI" "3"
EndSection

Section "Screen"
	Identifier "integrated"
	Device "integrated"
EndSection

Section "Device"
	Identifier "nvidia"
	Driver "nvidia"
	BusID "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "nvidia"
	Device "nvidia"
EndSection

Section "ServerFlags"
	Option "IgnoreABI" "1"
EndSection

I am not sure how you currently have your dual drivers set up. You mentioned using bumblebee earlier. Bumblebee is not the preferred way to setup dual graphics anymore as it is rather outdated.

As I'm not at home, so I'll leave it for others to offer advice on your video drivers.

Sorry, I now see you edited your last post to provide more information.

It's not bumblebee setup. It didn't work so I ignored it. This is the setup with optimus manager by MHWD.

Please if possible can you help me whenever you reach your home?

I will try to assist you later, but this may be as long as 12 hours from now, (as I have a full day of stuff to attend to before I will be at my computer).

1 Like

No problem at all! I am not in a hurry. Here, in India it's night so 4.5 hours will go in sleep and rest time in college afterwards. So no problem at all. Thanks for the help btw!

1 Like

LOLL!!! Yeah, good ol' times when we were napping (or sleeping for some!) at school. :smiley:

I didn't mean to say rest in college. I meant to say rest time will be wasted in college. I sit on first bench btw so even if I feel sleepy, I can't even think of sleep. :sweat_smile:

I tried to help you clear your misunderstanding about GPUs and video drivers, but I obviously failed badly... Language issues, I guess... I am not a native English speaker.

You are using nvidia already.

Don't use Optimus Manager as already suggested, or ask for support to their developers, as it is not a normal bug.

This is a problem (bug, misconfiguration) of the browser. (all browsers?)

How do you know that, since, when you set nvidia as primary gpu, your system starts to freeze randomly every 5-10 minutes?

How do you set to nvidia ?? Exactly what method do you use, until the moment you confirm that nvidia is set ?
How did you come to know that in Cinnamon you can set Nvidia as primary GPU , while you cannot do it in Gnome? Post links with this info.

What do you mean? Nouveau is there for every nvidia gpu AFAIK. Can you provide any links with this info?

Since you don't care about battery power consumption, did you look in your BIOS or User manual for a setting to use Nvidia dGPU only?

Until now, you were selective with which questions to answer and what advice to try or disregard.
@tbg is a great troubleshooter and I am sure he will find a way to fix your freezes.
:stuck_out_tongue_winking_eye:

3 Likes