Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
swayfx for nvidia GPU (敗北)
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Aki
May 30, 2026
530
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
swayfx for nvidia GPU (敗北)
Kernel/VM探検隊@関西 12回目発表資料
Aki
May 30, 2026
More Decks by Aki
See All by Aki
runwasi on NixOS
aki4ki
0
5
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
550
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
180
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
360
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
860
Agile that works and the tools we love
rasmusluckow
331
22k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
330
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
180
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
180
Transcript
swayfx for nvidia GPU ( 敗北) Kernel/VM/ 探検隊 関西 12
Presented by @aaki36011407
自己紹介
Aki Name: Aki (@aaki36011407) Linux が好き! 最近だとNixOS!
Wayland Compositer 使ってます か ?!
My DE is … • NixOS: unstable • WM: swayfx
• Terminal: Western • Editor: Neovim
背景 CUDA 勉強するか~ と 安っすいnvidia の GPU(RTX3050 6GB) を購入 swayfx
はある程度は動いた ( サスペンドからの復帰はコケる模様...) これはこれで良い しかし、Arch Wiki にあった以下をNixOS でやりたい
wlroots のビルド (1) AUR にあったwlroots-nvidia : nixpkgs にもその他にもない なら自分でビルドするしかない... AUR
のPKGBUILD を読んでみるとwlroots0.17.4 に独自のパッチを当ててか らビルドしている。 これをNix Flake でやろう!
wlroots のビルド (2) nixpkgs からwlroots の部分だ け持ってくる。 AUR 版のパッケージが当ててい るパッチが利用したいのでリポ
ジトリから取得する。 そこからパッチを取り出して、 PostPatch で適用する ここまではビルドに成功!
swayfx のビルド(1) swayfx のGitHub リポジトリに 含まれるflake を利用する。 このflake のinputs にここまで
で、用意したwlroots_nvidia を 入れる。 wlroots_0_19 を wlroots_nvidia に置き換える ビルド失敗!!
swayfx のビルド(2) ヘッダファイルで互換性が崩れて いるようでビルドできない( これ でも一部抜粋もっとエラーが出て る...) そもそもwlroots-nvidia の最終 コミットが2024
年6 月29 日と 古い そもそもArch でも動くの?
まとめ ビルドできなかった( 敗北) ダメ元でswayfx パッケージのLD_LIBRARY_PATH を変更する -> ダメ もっと力技でやるなら、patchelf でELF ヘッダを書き換えてしまうか?
nvidia 対応ならcrispyricepc/sway-nvidia( 別のレンダラーを使う方式) の スクリプト群をNixOS 向けに移植した方が良いかも...