File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,15 @@ RUN apk add --no-cache \
1111 sdl2_mixer-dev \
1212 libpulse \
1313 libxmp \
14+ libdrm \
1415 mesa-dri-gallium \
1516 mesa-gbm \
17+ mesa-egl \
18+ mesa-gl \
19+ mesa-gles \
1620 xorg-server \
17- xf86-video-fbdev \
18- xf86-input-evdev \
21+ xf86-video-modesetting \
22+ xf86-input-libinput \
1923 xdpyinfo \
2024 xinit \
2125 gcc \
@@ -29,7 +33,7 @@ COPY demo.c Makefile topaz-8.otf *.png music.mod* ./
2933
3034RUN make
3135
32- # Create minimal X config for framebuffer
36+ # Create minimal X config for GPU acceleration
3337RUN mkdir -p /etc/X11 && cat > /etc/X11/xorg.conf << 'EOF'
3438Section "ServerFlags"
3539 Option "DontVTSwitch" "true"
@@ -41,8 +45,7 @@ EndSection
4145
4246Section "Device"
4347 Identifier "Card0"
44- Driver "fbdev"
45- Option "fbdev" "/dev/fb0"
48+ Driver "modesetting"
4649EndSection
4750
4851Section "Screen"
You can’t perform that action at this time.
0 commit comments