WSLg Ubuntu 24.04.1 LTS์์ GUI ์ฐฝ์ด ๋จ์ง ์๊ฑฐ๋ ์ฅ์๊ฐ ๊ธฐ๋ค๋ ค์ผ๋ง ๋ฐ ๋
Windows 11์์๋ถํฐ๋ WSLg์ ๋์
์ผ๋ก GUI ์ฑ์ด ๊ธฐ๋ณธ์ ์ผ๋ก ์ง์๋ฉ๋๋ค. ๊ทธ๋์ ๊ฐ๋จํ sudo apt firefox
๊ฐ์ ์ปค๋งจ๋๋ฅผ ์น๊ณ ์ค์น ์๋ฃ๋ ๋๊น์ง ๊ธฐ๋ค๋ฆฐ ๋ค firefox
๋ฅผ ์
๋ ฅํ๋ฉด ์ง์ ํ๊ณ ํ์ด์ดํญ์ค๊ฐ GUI๋ก ์ผ์ง๋ ๋ง๋ฒ์ด ์ผ์ด๋ฉ๋๋ค. (Windows 10๋ ๋ช ๋จ๊ณ ์ ์ฐจ๋ง ๊ฑฐ์น๋ฉด ๊ฐ๋ฅํฉ๋๋ค)
ํ์ง๋ง ์ ์ด๋ฏธ์ง์ ๊ฐ์ด libEGL ๊ด๋ จ ๊ฒฝ๊ณ ๋ฅผ ๋ด๋ฟ์ผ๋ฉฐ ํ์ฐธ ๋ค์ ์คํ์ด ๋๊ฑฐ๋ ์์ ์ฐฝ์ด ๋จ์ง ์๋ ๊ฒฝ์ฐ๊ฐ ์์ต๋๋ค.
acc@testshell:~$ gnome-system-monitor
libEGL warning: DRI3: Screen seems not DRI3 capable
libEGL warning: DRI3: Screen seems not DRI3 capable
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
acc@testshell:~$
์ฐฝ์ด ์์ ์ ๋จ๋ ๊ฒฝ์ฐ
๋จผ์ , ์ฐฝ์ด ์์ ์ ๋จ๋ ๊ฒฝ์ฐ๋ถํฐ ํด๊ฒฐํด๋ณด๊ฒ ์ต๋๋ค. ์ ธ์ ์๋์ ๊ฐ์ด ์ ๋ ฅํฉ๋๋ค.
sudo apt update
sudo apt install -y libgles2
๊ทธ๋๋ ์๋๋ค๋ฉด ์คํํ๊ณ ์ ํ๋ GUI ์ฑ ์ด๋ฆ ์์ ์๋์ ๊ฐ์ด ํ๊ฒฝ๋ณ์๋ฅผ ์ง์ ํ์ฌ ์๋ํด๋ด ๋๋ค.
LIBGL_ALWAYS_SOFTWARE=1 gnome-system-monitor
์ฐฝ์ด ํ์ฐธ ๋ค์์์ผ ๋จ๋ ๊ฒฝ์ฐ
๋ง์ฝ ํ์ฐธ ๋ค์์์ผ ๋จ๋ (๋๋ต 1๋ถ ์ ๋) ๊ฒฝ์ฐ, ์๋์ ๊ฐ์ด ์
๋ ฅํ์ฌ xdg-desktop-portal
ํจํค์ง๋ฅผ ์ ๊ฑฐํ ๋ค ๋ค์ ์๋ํด๋ด
๋๋ค.
sudo apt remove xdg-desktop-portal
์๊ธฐ ๋ฐฉ๋ฒ์ WSL 2๋ก ๊ตฌ๋๋๋ Ubuntu 24.04.1 LTS ๊ธฐ์ค์ผ๋ก, ๋ฐฐํฌํ์ด๋ ๋ฒ์ ๋ง๋ค ๋ฐฉ๋ฒ์ด ์์ดํ ์ ์์ต๋๋ค.
์ฐธ๊ณ ์๋ฃ: https://github.com/microsoft/wslg/issues/1273
WSL GUI apps extremely slow to open when SystemD enabled since a few days · Issue #1273 · microsoft/wslg
Windows build number: 26100.1150 Your Distribution version: Debian 12.6 Your WSL versions: Versione WSL: 2.2.4.0 Versione kernel: 5.15.153.1-2 Versione WSLg: 1.0.61 Versione MSRDC: 1.2.5326 Version...
github.com