frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How are you using Nvidia cards on Linux with its VRAM issues?

1•nickjj•2h ago
I recently discovered that on Linux, NVIDIA GPUs will not seamlessly access system memory if the GPU's memory gets full where as on Windows it does.

After 25 years on Windows I recently switched to Linux over the holiday break and came across this with my GeForce 750 Ti which only has 2 GB of GPU memory.

After opening a few Firefox and Ghostty terminals (both apps are hardware accelerated), I notice system instability and things crash or my Wayland compositor (niri) starts failing in unpredictable ways. All journalctl logs point to NVIDIA / kernel errors allocating resources.

Turns out it's likely due to the NVIDIA drivers on Linux not using system memory if the GPU memory is overburdened but on Windows this happened automatically. For reference this is with the official proprietary NVIDA drivers (latest open dkms 580 series for this card).

It's why on Windows I was able to open as many apps as I wanted, record x264 videos with OBS and play games without a single crash in literally 10 years.

There is a multi-year thread on the NVIDIA developer forums with hundreds of people reporting this but NVIDIA says it's not a problem https://forums.developer.nvidia.com/t/non-existent-shared-vram-on-nvidia-linux-drivers/260304/.

It made me think, something must be wrong or mis-communicated because this would be a deal breaker for anyone using NVIDIA GPUs on Linux. I mean, if I open literally 8 Firefox windows or 15 Ghostty terminals, my system crashes but I am only using 3 GB out of 16 GB of system memory but my GPU gets ~75% full and that's when issues start happening. Games are out of the question, but those same games run perfectly well on Windows.

You can verify this by running `nvida-smi` to see your current GPU usage. You can also run `nvidia-smi -q` to get more details. Going by a few replies in that thread, the BAR1 memory usage value is how much memory the GPU has access to which would include system memory if your hardware supports it. Allegedly if you do some tweaking and have a 30XX card you can configure that but everyone else is out of luck. I don't really know for sure what it is, I just know my value is very low and I cannot tweak it.

Here is my nvidia-smi -q output, you can see BAR1 is very low:

    FB Memory Usage
        Total                                          : 2048 MiB
        Reserved                                       : 58 MiB
        Used                                           : 923 MiB
        Free                                           : 1068 MiB
    BAR1 Memory Usage
        Total                                          : 256 MiB
        Used                                           : 38 MiB
        Free                                           : 218 MiB
I figured this was worth an Ask HN post because this community is really good with technical problems. How are you using NVIDIA cards on Linux without rebooting every few hours? Especially with any 20XX, 10XX or older cards.

AMD and Intel cards do not have this issue btw, it's isolated to NVIDIA.

Comments

bigyabai•10m ago
I think you're looking at two issues here. One, your GPU has a really small VRAM pool and will probably exhaust it within a few windows. Two, your GPU is likely not supported by the recent Nvidia drivers that majorly improved Wayland (550-series onward). So you're running into an OOM state that doesn't get handled gracefully and results in a crash.

My 3070Ti reports similar memory usage at idle, but even when my VRAM is exhausted I don't get an OOM crash. The only time I'd ever had my GPU OOM panic was with my 1050 Ti on very old Nvidia drivers. You'll probably want a newer GPU for Wayland stuff.

Securing AI coding agents: What IDEsaster vulnerabilities should you know

https://tigran.tech/securing-ai-coding-agents-idesaster-vulnerabilities
1•tigranbs•1m ago•1 comments

Mitigation needed to avoid unprecedented multi-decade North Atlantic Oscillation

https://www.nature.com/articles/s41558-025-02277-2
1•bryanrasmussen•5m ago•1 comments

10 Most Popular Articles of the Year

https://www.honest-broker.com/p/the-10-most-popular-articles-of-the
1•paulpauper•6m ago•0 comments

Reverse Engineering Bluetooth on Amazon Kindle EReaders

https://sighery.com/posts/reverse-engineering-bluetooth-on-kindle-ereaders/
1•mattmar96•8m ago•2 comments

Frontier Models are Capable of In-context Scheming

https://arxiv.org/abs/2412.04984
1•william-evans•8m ago•1 comments

The Golden Rule of Driving

https://leroy.works/articles/the-golden-rule-of-driving/
1•leroy-is-here•8m ago•0 comments

Where Are the Beautiful Cities?

https://twitter.com/david_perell/status/2005730447897055414
3•lleims•10m ago•0 comments

Google Home Users Are Trying to Hack Their Way to a Better Voice Assistant

https://gizmodo.com/google-home-users-are-trying-to-hack-their-way-to-a-better-voice-assistant-20...
1•gnabgib•11m ago•1 comments

Cyberattack disrupts France's postal service and banking during Christmas rush

https://apnews.com/article/france-postal-service-cyberattack-4ea0c3e3bcb8a87341de8aebc1dfc916
3•gnabgib•14m ago•0 comments

Sprites: Persistent, suspendable, Linux environments as a Service

https://sprites.dev
1•nateb2022•17m ago•1 comments

The former Chinese police officer bringing bubble tea to wartorn Ukraine

https://www.theguardian.com/world/2025/dec/30/former-chinese-police-officer-bringing-bubble-tea-t...
1•mykowebhn•18m ago•0 comments

Enterprises Can Navigate Geolocation, Storage, and Privacy Compliance

https://guptadeepak.com/the-global-data-residency-crisis-how-enterprises-can-navigate-geolocation...
1•guptadeepak•20m ago•1 comments

India has surpassed Japan to become the fourth-largest economy

https://www.dw.com/en/india-overtakes-japan-as-4th-largest-economy-report-says/a-75341063
6•guptadeepak•22m ago•1 comments

ESPectre Sensor: open-source motion detection system for ESP32

https://espectre.dev/
3•882542F3884314B•23m ago•1 comments

Tatiana Schlossberg Has Died

https://www.nytimes.com/2025/12/30/us/politics/tatiana-schlossberg-dead.html
1•HR01•25m ago•0 comments

Painting with light in WebGL: terrain builder in the browser

https://medium.com/@bartoszu/painting-with-light-building-a-3d-island-in-the-browser-with-three-j...
2•bartoszu_•25m ago•0 comments

New brain implant restores lost senses using light

https://newatlas.com/medical-devices/neuro-key-implant-restore-lost-senses/
2•thunderbong•26m ago•0 comments

Show HN: Line Weaver – Image to G-Code Conversion for Pen Plotters

https://github.com/straczowski/line-weaver
1•rstraczowski•27m ago•0 comments

Junkyard Nissan V8 Lays Down Nearly 700 WHP with a Turbo and Little Else

https://www.thedrive.com/news/junkyard-nissan-v8-lays-down-nearly-700-whp-with-a-turbo-and-little...
1•PaulHoule•27m ago•0 comments

Prof. Software Developers Don't Vibe, They Control: AI Agent Coding Use in 2025

https://arxiv.org/abs/2512.14012
12•dpflan•28m ago•2 comments

Everything as Code: How We Manage Our Company in One Monorepo

https://www.kasava.dev/blog/everything-as-code-monorepo
28•benbeingbin•29m ago•9 comments

Show HN: Git-aware File tree viewer for Jupyter [video]

https://www.youtube.com/watch?v=zaK-EZd0GCY
1•loa_observer•30m ago•0 comments

Billionaire Superyachts in St. Barts for New Year's Eve

https://www.forbes.com/sites/jimdobson/2025/12/16/inside-the-billionaire-superyacht-rush-whos-cru...
2•walterbell•31m ago•0 comments

Show HN: Emergence (I asked Claude to impress me)

https://dwyer.co.za/static/claude.html
1•sixhobbits•31m ago•0 comments

Social Media Posts Predict Unemployment Spikes Two Weeks Early

https://scienceblog.com/social-media-posts-predict-unemployment-spikes-two-weeks-early/
4•geox•32m ago•0 comments

The sword-wielding man hired to kick squatters out of empty Oakland homes

https://oaklandside.org/2025/09/30/asap-squatter-removal-oakland/
1•randycupertino•32m ago•0 comments

Flock and Urban Surveillance

https://computer.rip/2025-12-26-Flock-and-Urban-Surveillance.html
2•kelnos•34m ago•0 comments

Soldr, an open-source compact soldering station

https://www.soldr.pro/
2•unwind•35m ago•0 comments

Ask HN: What's your dock setup for your work laptop?

1•charliebwrites•36m ago•1 comments

Amtrak: A Year of Records

https://media.amtrak.com/2025/11/amtrak-a-year-of-records/
3•eatonphil•36m ago•0 comments