Добавить новость


Новости сегодня

Новости от TheMoneytizer

A Valve developer has just made it easier to run games on Linux with 8 GB cards thanks to a simple fix

Natalie Vock, a Linux developer for Valve, has recently taken to their GitHub with a simple fix allowing rigs with less VRAM to run games better. Turns out applications in Linux will hog all the resources they can get, though if you have an Arch-based distro with an 8 GB card, things are about to get better for you.

To put it simply, you will need to get "some kernel patches as well as additional utilities to make use of the kernel capabilities properly." Vock recommends using the Arch-based CachyOS and installing the packages "dmemcg-booster" and "plasma-foreground-booster." From here, your games should start to run better on graphics cards with 8 GB of VRAM.

As Vock explains it, during testing, their system tried to "use more VRAM than there was available at all, so something had to give. Instead of telling the app that memory allocation failed (which would mean a near-certain application crash), the kernel decides to kick some memory out of VRAM to make everything fit. This degrades performance."

Vock notes that, to the kernel driver, all memory looks the same. It doesn't necessarily differentiate what it should be focusing on and why, so this fix uses cgroups to 'protect' certain uses of memory and figures out "how relatively important GPU memory allocations are."

If you aren't on CachyOS, the package files are available in AUR, and can be installed with either the CachyOS kernel package on a non-CachyOS system with a repository, or by compiling your own kernel.

(Image credit: Future)

As Vock suggests, "Maybe wait a bit" if you don't use an Arch-based distro, going on to add, "Eventually, I’d expect this to trickle down into more distros." They've also clarified that they plan on updating the GitHub if/when other distros get the trick working.

With the memory crisis currently raging and threatening to continue raising the price of memory, storage, and GPUs, now would be a painful time to upgrade, so holding out with that slightly older card should be a tad easier if you are on Linux.

With the 8 GB Steam Machine still expected to launch in the future, and powered by Arch-based SteamOS, one can assume it will see benefits from this fix, too. It might be why a Valve developer was looking into it in the first place.

"Instead of performance slowly degrading over time, games should perform much more stable - as long as the game itself doesn’t use more VRAM than you actually have."

Читайте на сайте


Smi24.net — ежеминутные новости с ежедневным архивом. Только у нас — все главные новости дня без политической цензуры. Абсолютно все точки зрения, трезвая аналитика, цивилизованные споры и обсуждения без взаимных обвинений и оскорблений. Помните, что не у всех точка зрения совпадает с Вашей. Уважайте мнение других, даже если Вы отстаиваете свой взгляд и свою позицию. Мы не навязываем Вам своё видение, мы даём Вам срез событий дня без цензуры и без купюр. Новости, какие они есть —онлайн с поминутным архивом по всем городам и регионам России, Украины, Белоруссии и Абхазии. Smi24.net — живые новости в живом эфире! Быстрый поиск от Smi24.net — это не только возможность первым узнать, но и преимущество сообщить срочные новости мгновенно на любом языке мира и быть услышанным тут же. В любую минуту Вы можете добавить свою новость - здесь.




Новости от наших партнёров в Вашем городе

Ria.city
Музыкальные новости
Новости России
Экология в России и мире
Спорт в России и мире
Moscow.media










Топ новостей на этот час

Rss.plus