Skip to content

Commit d282211

Browse files
committed
feat(deck): Support 32GB RAM modded Steam Decks with double the maximum VRAM.
1 parent 7054b4e commit d282211

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Variant designed for usage as an alternative to SteamOS on the Steam Deck, avail
8282
- Service for low-risk undervolting of the Steam Deck via [RyzenAdj](https://github.com/FlyGoat/RyzenAdj), see `ryzenadj.service` and `/etc/default/ryzenadj`.
8383
- Service for limiting the max charge level of the battery, see `batterylimit.service` and `/etc/default/batterylimit`. <sup><sub>(Works even when the device is off)</sub></sup>
8484
- Built in support for display overclocking. For example, add `GAMESCOPE_OVERRIDE_REFRESH_RATE=40,70` to `/etc/environment`.
85+
- 32GB RAM mod your Steam Deck? Enjoy double the maximum VRAM amount, automatically applied. <sup><sub>(Can you share your soldering skills?)</sub></sup>
8586

8687
**For new installs ISOs can be downloaded from our releases page [here](https://github.com/ublue-os/bazzite/releases).**
8788

system_files/desktop/shared/usr/bin/bazzite-hardware-setup

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then
3232
fi
3333

3434
if [[ ! $KARGS =~ "amdgpu.gttsize" ]]; then
35-
NEEDED_KARGS="$NEEDED_KARGS --append=amdgpu.gttsize=8128"
35+
if [[ "$(awk '/MemTotal/{print $(NF-1)}' /proc/meminfo)" = "31664740" ]]; then
36+
echo "32GB Steam Deck detected"
37+
NEEDED_KARGS="$NEEDED_KARGS --append=amdgpu.gttsize=16256"
38+
else
39+
NEEDED_KARGS="$NEEDED_KARGS --append=amdgpu.gttsize=8128"
40+
fi
3641
fi
3742

3843
if [[ ! $KARGS =~ "spi_amd.speed_dev" ]]; then

0 commit comments

Comments
 (0)