Hacker News new | ask | show | jobs
by Bancakes 521 days ago
It’s great we recently got the feature for wayland. But for X it’s been a wild ride of bumblebee and using prime-run and full offloading for many years.

The arch wiki is still not a first party solution. As it stands, no normal user should have to go through that. The best option I’ve found is to just stick with Pop!_OS - they have a switcher set up and it actually works.

And once the user sets up Optimus, they can continue down the arch wiki for setting up hardware video decode on their browsers manually, and every other feature that nobody should have to mind.

1 comments

X is long dead. It is only reasonable for NVIDIA to focus on working wayland experience since that's where Linux desktop is.

For hw-accel, just use nouveau and VA-API will work out of the box. (Yes, nvidia is contributing to nouveau these days).

It is now dead, but on my Asus 1215B VA-API, with AMD, it never got hardware acceleration regardless of the endless entries on online forums I have digged through.

Maybe I should eventually have used anything else other than Ubuntu LTS, but then we are again to the endless stream of "Why are you using XYZ distro, use ZYX instead, it works for me" comments.

X is anything but dead. XFCE and KDE have working x11 DEs. If anything, you get higher performance on it relative wayland in some use cases.[0][1]

Nouveau last time I checked has practically no support for modern nvidia chips (read: 5 years ago to now) in CUDA, performance states, 2D, and 3D.[3]

[0] https://www.phoronix.com/review/wayland-nv-amd-2023

[1] https://discuss.kde.org/t/wayland-vs-x-benchmarking-results-...

[3] https://nouveau.freedesktop.org/FeatureMatrix.html

I have a 3050 laptop GPU. Nouveau is fine for basic desktop usage. Even for 3D games it's shockingly good (on Vulkan games anyway). I haven't really noticed much difference between Nouveau and the proprietary drivers to be honest...

The biggest thing I notice is that the card is severely lacking VRAM, to the point where most of the games I play run better on the iGPU (which can make use of up to 16gb of system RAM).

I’m actually shocked you got it to play games like that. I have several nvidia laptops that I use ranging from a 750M, to gtx 1650, to a rtx 4050. Every couple of months I’ll switch back to the dedicated GPU to run a sanity check for features, and do a 180 in an hour. I understand making compromises on shadowplay, GeForce streaming, the control centre, and the nvidia app as a whole. But I always notice microstuttering that shouldn’t be there and draw the line at having to manually set up VDPAU/VAAPI and keeping up with the trends of what this year’s optimal way to install games is (which DE on which back end, playonlinux vs lutris vs winetricks vs proton, etc).

I’m glad you got your 3050 to do basic things and hope you get more use out of it as software improves.

NB: IMO the best Linux nvidia laptops are the Lenovo legions. They have a bios switch to force the use of the nvidia chip and mask the iGPU. Half the issues are gone then.

> which DE on which back end, playonlinux vs lutris vs winetricks vs proton, etc

KDE on Proton is the way.

Are you using Wayland? One thing I’ve noticed is that windows are allocated greedily in Wayland and Chrome in particular is more than happy to eat all your VRAM. There’s nothing like there is in Windows/Mac to swap out / drop and recreate existing allocations when you’re out of VRAM.
Yes I'm using Wayland. The problem has nothing to do with Chrome usage or whatever. The desktop is super smooth no matter how many Chrome tabs I have or other apps. Also Gnome likes to use the iGPU by default so nothing to do with the Nvidia GPU really. For games I've tested both with iGPU or forcing them to use the Nvidia GPU.

The problem is games which have a lot of high res textures, it's obvious the dedicated GPU runs out of RAM. It's pretty speedy on games running at half-resolution and it can render a lot of effects like bloom, fancy lighting, reflections, etc... But I'd say my current go to game is Civ 6, I like to play at full resolution with high textures, which the dedicated GPU can't handle but the iGPU can without even heating up all that much.

You’re talking about swap? You can allocate a swap partition and register it in the fstab and the kernel as well and happily swap out to it. Unlike windows and mac, you can set the swappiness too to go from conservative to aggressive.
Not RAM to disk swap. We’re talking about VRAM/RAM here.