[-] Koma52@lemmy.world 4 points 1 year ago

Neither closed or open software is safer than the other in my opinion. If someone wants to find a vulnerability they will find a vulnerability. The only advantage open source maybe has that it's harder to hide vulnerabilities for years and it's more obvious if they don't fix it. But personally I wouldn't use open source just for safety reasons.

[-] Koma52@lemmy.world 8 points 1 year ago

Even if you don't buy a lottery ticket an infinite of you wins

1
submitted 1 year ago* (last edited 1 year ago) by Koma52@lemmy.world to c/linux@lemmy.ml

Hello everyone,

Today the nvidia driver on my server stopped working out of nowhere. Yesterday it was working and today it's not. I didn't do anything in yesterday or today.

Today my Plex container stopped working because there was a problem with the nvidia card I was using for transcoding. It's a GTX 1650.

I tried running nvidia-smi and it said Failed to initialize NVML: Driver/library version mismatch. After I tried upgrading my system because it was a months ago I upgraded, maybe it will help. It didn't. I tried some rebooting because some sources said it solves the issue but it persisted.

It's driver reinstall time. Purged the driver with apt purge nvidia* then installed driver with ubuntu-drivers install --gpgpu nvidia:525-server. After reboot nvidia-smi gives the error NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running..

lsmod | grep nvidia shows nothing and /proc/driver/nvidia/version doesn't exists. I tried starting nvidia-persistenced with systemctl but it gives this error:

Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 113 has read and write permissions for those files.

/dev/nvidia* doesn't exist.

I'm very noobish when it comes to nvidia and linux it was a pain to set it up initially and I was hoping that it wouldn't go wrong someday. But here I am unfortunatelly. I don't really know what logs should I show you or what commands should I run to troubleshoot so every tip is appreciated and I will provide logs and things like that if needed.

System info:

  • Ubuntu Server 22.04
  • kernel: 5.15.0-76-generic
  • theoretically installed nvidia driver: nvidia-driver-525-server

Solution

I was using the ubuntu-drivers utility to install the driver but turns out it's not that great. After installing with the manual method from https://help.ubuntu.com/community/NvidiaDriversInstallation using the command apt install linux-modules-nvidia-${DRIVER_BRANCH}${SERVER}-${LINUX_FLAVOUR} it's working again.

[-] Koma52@lemmy.world 3 points 1 year ago

Started with Bitwarden years ago, then I used 1password for a few months and now I'm using Keepassxc (Keepass2Android on my phone).

And I recommend everyone to use one. Not necessarily Keepass if they are not very tech savy (database synchronization can be a little bit tricky but not hard). Bitwarden was good too but Keepassxc supports adding ssh keys which is a big plus for me.

Koma52

joined 1 year ago