And in addition to that, it's the only thing that breaks on my system that isn't my fault.
My next GPU will definitely be AMD unless Intel catches up very quickly.
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
And in addition to that, it's the only thing that breaks on my system that isn't my fault.
My next GPU will definitely be AMD unless Intel catches up very quickly.
My embedded AMD GPU has been unusable under Ubuntu. Constant crashes/freezes. When trying to find a workaround (unsuccessfully), I found lots of other people with slight variations of the same problem - same symptoms, but different root causes... seems like at any time there are several system-breaking bugs and every time one is removed another is introduced. You just have to hope your kernel happens to be one that happens to work with your specific config.
My next platform will be Intel-based.
Which embeded gpu?
I don't get why people bringing up AMD issues always get down voted. The bias is real. I too am getting constant freezes with my Radeon 680M that have gone unresolved for almost a year.
Quite a few people are experiencing this so it isn't an isolated issue: https://gitlab.freedesktop.org/drm/amd/-/issues/2220
A few reasons. It's received wisdom that AMD are the good guys because in the Intel / AMD slog they are the underdogs fighting the good fight and bringing good affordable products to all vs intel who has historically behaved in a sleazy underhanded and anti-competitive fashion and when they bought ATi they moved ATi from a maker of shitty proprietary poorly supported pieces of shit to an open source friendly maker of acceptable GPUS.
Since Nvidia is the bad guy in that fight it would be handy if Nvidia was also badly supported buggy, inferior. The fact that Nvidia is actually more stable, well supported, and generally better is somewhat a fly in the ointment.
It's especially humorous when its coming from users of a permanent beta distro like arch where the kernel update process is that the new kernel is pushed extremely quickly after release. Expert arch users realize that means they are their own QA as far as out of tree modules. Actually stable distros express what is known to work as dependencies such that you trivially get something that is known to work when you press go. They also don't run the kernel release that was cut this morning.
Meanwhile users of arch derived distros, who may or may not claim to be running arch while believing their distro is ubuntu with faster updates yell that nvidia is broken when 6.3 doesn't work the day it was cut with nvidia using a driver that doesn't claim to support 6.3. The fact that this dependency is known but not encoded into arch packages isn't an Nvidia problem.
Even Manjaro a distro run by folks who once told their users to set their clocks back because they forgot to renew their SSL Cert figured out they can avoid almost as much trouble as smart people can avoid by actually reading by just being lazy and not pulling changes instantly.
AMD works fine for me. I had a Thinkpad P14s for a while and my gaming computer uses a 6800 XT.
Same - Thinkpad X395 (R5 3500U) for casual use, RX 6750 XT for gaming, FirePro W4100 for work, and zero thinking about GPU drivers between the three.
I would have thought Intel would be decent on Linux. It falls behind on Windows because it doesn't have all the years of broken game fixes baked into the drivers like AMD and nVidia have, but isn't all the Linux gaming done through Vulkan wrappers around DirectX?
Intel has the best software support - AMD just has more powerful hardware and good enough software support
nvidia has the best hardware on paper, but no software support
A large number of games support Linux natively thanks to Valve’s pushes, and use OpenGL
DXVK (directx to vulkan) is one of the more popular translation layers for other games
Intel also uses DXVK on Windows to help with older versions of DirectX (primarily DX9 afaik) on their ARC cards
I run Pop_OS with a temperamental Nvidia GPU that is unstable at factory clock speeds, but solid when I reduce the power limit by 5-10%. The only recurring annoyance I have with pop is that the flatpak GreenWithEnvy breaks after every GPU driver update and requires a manual flatpak upgrade to fix.
Similarly for my work laptop also running pop on nvidia, the big frustration is again nvidia related. Battery life is poor since hybrid graphics doesn't work and external displays only work with the discrete graphics card.
That means every time a new Kernel version is installed, the Nvidia driver DKMS has to be installed too. And that is basically the slowest part.
ZFS users: "First time?"
@qwesx I am not familiar with ZFS filesystem. How does it affect this or plays a role?
ZFS also requires a lengthy DKMS build step to compile a kernel module.
The flatpak thing is a known issue, where it doesn't correctly remove the 32bit package on update.
This bash script should find the latest and remove the rest:
#!/bin/bash
# Filename: flatpak-clean-nvidia.sh
# List latest 64bit Nvidia flatpak (it doesn't leave cruft behind) and note the version
FLATPAK_LATEST_NVIDIA=$(flatpak list | grep "GL.nvidia" | cut -f2 | cut -d '.' -f5)
# List all installed 32bit Nvidia flatpaks, ignore latest version, uninstall rest of list
flatpak list | grep org.freedesktop.Platform.GL32.nvidia- | cut -f2 | grep -v "$FLATPAK_LATEST_NVIDIA" | xargs -o flatpak uninstall
Uses NVIDIA
Imaaaagine!
Seriously though, I feel for you. NVIDIA is shit and while you're dealing with this, I hope you know which vendor you'll not be giving money to in the future. Fuck NVIDIA.
@elouboub It's AMD. 100% sure. And the best part is, the situation with Nvidia is nowadays improved. So this is the current best case we have...
I have an alias I call "upd" that runs "yay ; flatpak update", I just run that, press Y at the first prompts and then let it run in the background while I do other work. It really doesn't matter at all how long it takes. I do have NVidia but generally I don't feel it takes very long as we don't get new kernels every day. You could use the linux-lts kernel for much more rare kernel updates.
It's a bit like bittorrents, I don't need them to download in 30sec, I start it and return to check on it whenever I think of it.
I have changed my opinion on flatpak btw, I really like that the apps are not spread all over my system but instead sandboxed neatly, have fewer dependency versioning issues and it's really easy to use.
@ProtonBadger The entire update process takes 20 minutes or so (never timed it), at least sometimes. I also had an alias before, but recently rewrote it as a script to do similar things, including pacman, yay, flatpak, rustup and a few other things. And from all of this stuff, most of the time its flatpak that inflates the update process time.
That's abnormal, it shouldn't be like that. My flatpak rarely has updates (compared to Arch/yay) and they're quite fast, still less than a minute even if there's updates to the NV libs (I didn't time it). There must be some kind of particular issue? What's your setup?
Looking at it - I got flatseal, chrome, firefox, thunderbird, dropbox, steam, joplin, cryptomator, mesa, NV libs, gimp, discord, resynthesizer, libreoffice and some other bits on flatpak. It's on an SSD, Internet 150Mbps. Is it installation or download that's slow for you? With it being 20min I would guess there's a problem with the download speed from the server, routing issue to flathub, etc? Flatpak is not that much of a slog.
@ProtonBadger No, I have full download speed for my connection, so it's not download speed. Everything downloads at full speed. The issue is, that so many driver versions are downloaded and updated. Mind you, this is not with every update so many. My point is, the entire update process could be done very fast if it wasn't Nvidia requiring so many downloads and installation process. Everything else is done quickly.
What other problems do you encounter? Updates are a bit annoying, but I haven't had any actual issues so far.
@miss_brainfart There are many little things encountered over the years. But I do not have a list or anything like that. Nvidia is always in my way somehow. Wayland support was or still is not great with Nvidia in example and one of the reasons why I don't consider trying Wayland.
Then for a long time it G-Sync didn't work properly with applications that should, had some tearing too related to problems with picom. I have to run the nvidia-settings
gui once at boot, otherwise I have all the problems described before. I use a command to run it without showing gui. Found this solution by accident after 6 months of terror, as searching the web didn't help me.
And for a long time, I got used to it and it wasn't driving me crazy or anything. When I put my system to sleep and wake it up, the Firefox window would have garbage pixelation (complete random). I just had to move the window once and everything was normal again. That's because it has GPU acceleration and somehow this is a known bug by Nvidia that is unsolved. Or at least it was, because this does not happen anymore.
What do we have else in my head right now? Gamescope, the SteamOS compositor, didn't work with Nvidia before it got official support. I needed that to solve a problem, to play a certain game that was otherwise not playable. So yes, that's not a problem anymore I think (didn't use it for a while now), but it was another thing that was in my way. I know this has todo with the official support of Gamescope and not just being nvidia, but it was related to Nvidia and in my way.
Somehow... the problems I encounter are connected to Nvidia. But as said, I don't have a full list of problems and these are just a few things come to my mind.
Yeah okay, I don't even use a DE that supports Wayland, and I don't have a need for it anyway, since both my monitors run at the same fixed refresh rate.
Now that you say it, windows being all garbled and pixelated after waking up from sleep is definitely something I encounter quite often.
Annoying, but nothing that breaks everything, so that's good I guess.
Other than that though, my experience is flawless.
I'm still going to move to AMD though.
The latest drivers on mint, 535, cause flickering on my monitors. There are a bunch of posts about this; when I installed them when they came out my screens went black and never recovered, had to power off manually, and then the top part of my monitors would just flicker every 15-30 seconds. I rolled back to 525, and now that it had been a couple months I had just tried to upgrade again recently but the problem remains, black screen, reboot, flickering.
I used Mint briefly on my desktop PC, and the Nvidia driver was the one thing that gave me issues. The recommended one was too old for some of the things I wanted to do, but the most recent one at the time made everything unstable.
Now I use EndeavourOS, and Arch seems to handle that driver a lot better.
The screen flickering issue is also sadly not limited to Mint. I was on Fedora over the last few months, and am now on Arch and still get that issue.
Also doesn't seem to be restricted to the DE either, just the driver itself being shitty it appears.
Haven't had many issues either. My Nvidia 3090 has given me way less trouble than both my Vega 64 and Radeon 680M.
My exact solution to this on Endeavour was to just stop using flatpaks lol.
Literally everything I used from flathub was also either on the AUR or trivial to install manually from the host GitHub.
I was wondering what the fuss was about until I read flatpak. I don't use those, no reason to on Arch since everything is in the AUR. But it was interesting to read.
@1984 Unfortunately not everything is in the AUR or I do not want to trust everyone on the AUR. And there are other reasons to use Flatpak over native packaging (including AUR):
And that's basically it (ok there is Flatseal too... but that does not count to our discussion). Everything else is installed through native packaging. So there is not much reason to use Flatpak and I just started with it recently. But there are sometimes reasons for.
I've kind of gotten used to the first issue already. I don't know if I can switch to the non-DKMS drivers now that I'm using the LTS kernel though.
You have a bunch of duplicated stuff because flatpak is a piece of shit. With traditional packaging apps supporting your platform would get exactly one choice. Support the fucking version of nvidia that everyone else gets to or fuck off. In all likelihood all your shit would work work with the most recent release but because they have the option to be lazy fucks and make you download Nvidia 7 times this is your life now. Also if dkms takes appreciable time you either need to stop running Linux on a toaster or delete some of the 17 kernels you are hoarding for some reason. You need like 2 the one that you know works and the new one you just installed.
As an app developer, we provide the source, binaries, and a Flatpak, but we sure as hell aren't going to help you debug the Nvidia drivers on some random distro if you don't pick Flatpak.
Which terminal font is that, by the way?
@aleph "Cascadia Code"
Here is fastfetch output:
OS: EndeavourOS x86_64
Kernel: 6.1.51-1-lts
Uptime: 50 mins
Packages: 1149 (pacman), 34 (flatpak)
Shell: bash 5.1.16
Display (AG271QG): 2560x1440 @ 120Hz
DE: qtile
WM: Qtile 0.22.1 (X11)
Theme: Arc-Dark [GTK2/3]
Icons: Qogir-dark [GTK2/3]
Font: Cascadia Code (12pt) [GTK2/3]
Cursor: Qogir
Terminal: xfce4-terminal 1.1.0
Terminal Font: Cascadia Code (13pt)
CPU: Intel(R) Xeon(R) E3-1230 v3 (8) @ 3,7 GHz
GPU: NVIDIA GeForce GTX 1070
Memory: 3,11 GiB / 15,57 GiB (20%)
Disk (/): 122,70 GiB / 227,21 GiB (54%) - ext4
Disk (/media/Backup): 149,83 GiB / 916,70 GiB (16%) - ext4
Disk (/media/Emulation): 3,83 TiB / 5,41 TiB (71%) - ext4
Disk (/media/My): 1,04 TiB / 3,58 TiB (29%) - ext4
Disk (/media/System): 411,39 GiB / 915,82 GiB (45%) - ext4
Locale: en_US.UTF-8
Looks like Cascadia Code to me
If you have several kernels you might want to disable the fallback kernels. You do so in the .preset files in /etc/mkinitcpio.d/
But yeah this is the downside of using flatpaks. That's why I think it's better to avoid flatpaks and other similar sandbox environments. I know the Linux community are desperate for the increased stability and supposed benefits to security but you're paying the price in worse performance and high disk usage.
~~For what concerns flatpak, did you try flatpak remove --unused?~~
Edit: I didn't read you already did it, nvm
Im not a PhD on Arch, but, why are you using Flatpak to install a driver that is available at AUR??? When it comes to drivers, try to stick to your distro ones, unless you really know what you are doing!
@hellvolution I do not install the driver in Flatpak, it does it automatically. Each application can depend on specific driver versions I guess and that is how it ends up installing multiple versions. That makes it quite robust to be honest, because if a new driver version sucks the application can just request to use an older version in example.
Before accusing people not knowing what they are doing, maybe you should learn about the technology you talk about. There are reasons why to use Flatpak over native Arch packages. One reason is in example I have installed kdenlive, but do not want the entire KDE suite, services and applications installed and running on my system as well.
That’s how Flatpak works…
Flatpak applications will use the graphics library installed from Flatpak
If you have an nVidia card, you’ll need the nVidia Flatpaks to run applications
If you have Intel/AMD, you’ll get a Mesa Flatpak