{"id":13444262,"url":"https://github.com/ChisBread/rk3588-gaming-step-by-step","last_synced_at":"2025-03-20T18:31:42.767Z","repository":{"id":113513238,"uuid":"579977066","full_name":"ChisBread/rk3588-gaming-step-by-step","owner":"ChisBread","description":"只有中文! 一步步教你在RK3588(Debian-based OS)上运行各种游戏","archived":true,"fork":false,"pushed_at":"2023-01-03T14:40:38.000Z","size":78,"stargazers_count":78,"open_issues_count":2,"forks_count":15,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-01T03:46:15.342Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChisBread.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-12-19T12:16:33.000Z","updated_at":"2024-07-15T14:52:56.000Z","dependencies_parsed_at":"2023-07-07T21:01:51.218Z","dependency_job_id":null,"html_url":"https://github.com/ChisBread/rk3588-gaming-step-by-step","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChisBread%2Frk3588-gaming-step-by-step","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChisBread%2Frk3588-gaming-step-by-step/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChisBread%2Frk3588-gaming-step-by-step/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChisBread%2Frk3588-gaming-step-by-step/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChisBread","download_url":"https://codeload.github.com/ChisBread/rk3588-gaming-step-by-step/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221792892,"owners_count":16881289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T03:02:23.229Z","updated_at":"2024-10-28T06:30:26.849Z","avatar_url":"https://github.com/ChisBread.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# RK3588(S) 游戏教程\n\n一步步教你在RK3588(Debian-based OS)上运行各种游戏\n\n注意: 本文只是个用作参考的操作手册，不保证在某些刁钻的场景下适用\n\n# 快速开始\n- 注: 标注为可选的, 可以暂时忽略\n- 0、 安装、启动malior\n```bash\nwget -O - https://github.com/ChisBread/malior/raw/main/install.sh \u003e /tmp/malior-install.sh \u0026\u0026 bash /tmp/malior-install.sh  \u0026\u0026 rm /tmp/malior-install.sh\nmalior 'echo hello arm!'\n```\n- 1、 (可选)按照[性能优化](./rk3588-enhance/README.md)无痛解锁大约30%的性能\n- 2、 桌面环境\n  - 部分官方镜像自带的桌面系统(比如香橙派5)不支持panfrost驱动\n  - 注意, 有两个选择\n```bash\n# 选择a: 替换官方桌面; 方便安装兼容性更好的panfrost驱动,但可能导致部分应用失效\nsudo apt-mark unhold xserver-common xserver-xorg-core xserver-xorg-dev xserver-xorg-legacy\nsudo apt update \u0026\u0026 sudo apt dist-upgrade\n# 选择b: 安装blob(闭源)驱动, malior命令前加上MALI_BLOB=x11; 只支持到OpenGL 2.1, 并且只支持x11应用, 不支持wayland\nmalior install libmali-g610-blob \u0026\u0026 malior install gl4es\nMALI_BLOB=x11 malior glmark2 # 测试x11+OpenGL\n```\n- 3、 (可选)如果确认桌面环境OK, 则按照[环境安装](./gpu-envs.md)教程，安装开源GPU驱动\n- 4、 (可选)安装wine 32位版本(会自动安装box86、box64); war3, 星际争霸 都需要wine\n```bash\nmalior install wine # 会有弹窗, 如果乱码了就凭感觉点一个\n# 下载wine很慢? 使用环境变量WINE_BUILDS_MIRROR,替换wine镜像源\n## WINE_BUILDS_MIRROR=mirrors.tuna.tsinghua.edu.cn malior install wine\nmalior winetricks -q fakechinese wenquanyi # 安装wine中文环境\necho $LANG \n# 如果显示不是zh_CN.UTF-8, 运行wine时要加上LC_ALL来保证wine为中文环境\nmalior LC_ALL=zh_CN.UTF-8 winecfg\n# 如果期望未来都是中文显示, 把`export LC_ALL=zh_CN.UTF-8`加到`~/.config/malior/envs.sh`\n```\n- 5、 (可选)安装steam-wip, box86下的steam暂时还不稳定, 一些独立小游戏可以跑\n```bash\nmalior install steam-wip\n```\n# 可能出现异常\n1. 固件没有正确安装\n```bash\n# 下载并覆盖固件\nsudo wget https://github.com/JeffyCN/rockchip_mirrors/raw/libmali/firmware/g610/mali_csffw.bin -O /lib/firmware/mali_csffw.bin\n```\n2. 使用了官方闭源桌面+开源驱动, 或者使用闭源驱动执行了wayland应用\n# 例子\n- 魔兽争霸:冰封王座\n  - 下载免安装中文版war3, 自行搜索; 可以的话请支持正版(但我们需要免安装版…)\n  - 确保malior和wine已经安装\n  - 解压war3到 `~/.local/malior/war3-1.24e` 确保目录下有 `War3.exe`\n  - 运行 `malior LC_ALL=zh_CN.UTF-8 wine \"~/.local/malior/war3-1.24e/War3.exe -opengl -windows\"`\n  - 如果是闭源驱动, 运行 `MALI_BLOB=x11-32 malior LC_ALL=zh_CN.UTF-8 wine \"~/.local/malior/war3-1.24e/War3.exe -opengl -windows\"`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChisBread%2Frk3588-gaming-step-by-step","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FChisBread%2Frk3588-gaming-step-by-step","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChisBread%2Frk3588-gaming-step-by-step/lists"}