Drewol / unnamed-sdvx-clone

A game based on K-Shoot MANIA and Sound Voltex
MIT License
795 stars 96 forks source link

[Bug] Font display issues in the settings menu on RaspberryPi #614

Open PTALTS-LK opened 2 years ago

PTALTS-LK commented 2 years ago

Describe the bug In the settings menu, some text appears as squares

To Reproduce Steps to reproduce the behavior:

  1. Compile on RaspberryPI 4 (aarch64) as README.md
  2. Launch the game and go to the settings menu
  3. see the issue

Expected behavior Normal interface without problems

Screenshots 截图_2022-08-02_12-09-05 截图_2022-08-02_12-08-47

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Log file

❯ ./usc-game -autoplay
[12:01:34][Info] Starting task "Application Setup"
[12:01:34][Info] Version: 0.5.0
[12:01:34][Normal] Embeedded version.
[12:01:34][Info] Git commit: 2022-06-28_d748c188
[12:01:34][Info] The locale was changed from C to C
[12:01:34][Info] Starting task "Font library initialization"
[12:01:34][Info] Finished task "Font library initialization" in  197 ms
[12:01:34][Info] Starting task "Creating Window"
[12:01:35][Warning] No joysticks found
[12:01:35][Info] Finished task "Creating Window" in  909 ms
[12:01:35][Info] Adjusting window size for 1 windows...
[12:01:35][Info] Starting task "Audio Init"
[12:01:35][Info] Audio driver [0]: pulseaudio
[12:01:35][Info] Audio driver [1]: alsa
[12:01:35][Info] Audio driver [2]: sndio
[12:01:35][Info] Audio driver [3]: dsp
[12:01:35][Info] Audio driver [4]: disk
[12:01:35][Info] Audio driver [5]: dummy
[12:01:35][Info] Using audio driver: pulseaudio
[12:01:35][Info] Audio device [0]: 内置音频 Analog Stereo
[12:01:35][Info] Audio device [1]: 内置音频 Digital Stereo (HDMI)
[12:01:35][Info] Finished task "Audio Init" in  17 ms
[12:01:35][Info] Starting task "GL Init"
[12:01:35][Info] OpenGL Version: OpenGL ES 3.1 Mesa 20.3.5
[12:01:35][Info] OpenGL Shading Language Version: OpenGL ES GLSL ES 3.10
[12:01:35][Info] OpenGL Renderer: V3D 4.2
[12:01:35][Info] OpenGL Vendor: Broadcom
[12:01:36][Info] Finished task "GL Init" in  187 ms
[12:01:36][Info] Starting task "Discord RPC Init"
[12:01:36][Info] Starting task "Check for updates"
[12:01:36][Info] Finished task "Discord RPC Init" in  39 ms
[12:01:36][Info] Starting task "Load Transition Screens"
[12:01:36][Info] Finished task "Load Transition Screens" in  57 ms
[12:01:36][Info] System max texture size: 4096 (cjk small: 1024 / large: 8192)
[12:01:36][Normal] Update check status code: 200
[12:01:41][Warning] No sorting set
[12:01:41][Warning] No sorting set
[12:01:41][Warning] No sorting set
[12:01:41][Warning] No sorting set
[12:01:41][Warning] Can't run ScanFiles, "/home/pi/Desktop/USC/profiles/" is not a folder
[12:01:41][Warning] Failed to open file for reading /home/pi/Desktop/USC/songs/Androgynos: 2
[12:01:47][Warning] No sorting set
[12:01:47][Warning] No sorting set
[12:01:47][Warning] No sorting set
[12:01:47][Warning] No sorting set
[12:01:47][Warning] Can't run ScanFiles, "/home/pi/Desktop/USC/profiles/" is not a folder
[12:03:31][Warning] No sorting set
[12:03:31][Warning] No sorting set
[12:03:31][Warning] No sorting set
[12:03:31][Warning] No sorting set
[12:03:31][Warning] Can't run ScanFiles, "/home/pi/Desktop/USC/profiles/" is not a folder
[12:04:11][Warning] No sorting set
[12:04:11][Warning] No sorting set
[12:04:11][Warning] No sorting set
[12:04:11][Warning] No sorting set
[12:04:11][Warning] Can't run ScanFiles, "/home/pi/Desktop/USC/profiles/" is not a folder
[12:04:27][Warning] FX audio for for beatmap does not exists at: "/home/pi/Desktop/USC/songs/SC/Androgynos" Using real-time effects instead.
[12:04:28][Error] Shader program compile log for /home/pi/Desktop/USC/skins/Default/shaders/background.vs: 0:6(12): warning: extension `GL_ARB_separate_shader_objects' unsupported in vertex shader
0:6(1): error: #extension directive is not allowed in the middle of a shader

[12:04:28][Error] Shader program compile log for /home/pi/Desktop/USC/skins/Default/backgrounds/arrow/bg.fs: 0:6(12): warning: extension `GL_ARB_separate_shader_objects' unsupported in fragment shader
0:6(1): error: #extension directive is not allowed in the middle of a shader

[12:04:28][Error] Failed to load vertex shader for material from /home/pi/Desktop/USC/skins/Default/shaders/background.vs
[12:04:28][Error] Failed to load asset [fullscreenMaterial = LoadBackgroundMaterial(matPath)]
[12:04:28][Warning] Failed to load background at path: "/home/pi/Desktop/USC/skins/Default/backgrounds/arrow/" Attempting to load fallback instead.
[12:04:28][Error] Shader program compile log for /home/pi/Desktop/USC/skins/Default/shaders/background.vs: 0:6(12): warning: extension `GL_ARB_separate_shader_objects' unsupported in vertex shader
0:6(1): error: #extension directive is not allowed in the middle of a shader

[12:04:28][Error] Shader program compile log for /home/pi/Desktop/USC/skins/Default/backgrounds/fallback/bg.fs: 0:6(12): warning: extension `GL_ARB_separate_shader_objects' unsupported in fragment shader
0:6(1): error: #extension directive is not allowed in the middle of a shader

[12:04:28][Error] Failed to load vertex shader for material from /home/pi/Desktop/USC/skins/Default/shaders/background.vs
[12:04:28][Error] Failed to load asset [fullscreenMaterial = LoadBackgroundMaterial(matPath)]
[12:04:28][Warning] Lua error: cannot open /home/pi/Desktop/USC/skins/Default/backgrounds/arrow/fg.lua: No such file or directory
[12:04:28][Warning] Failed to load foreground at path: "/home/pi/Desktop/USC/skins/Default/backgrounds/arrow/" Attempting to load fallback instead.
[12:04:28][Warning] Lua error: cannot open /home/pi/Desktop/USC/skins/Default/backgrounds/fallback/fg.lua: No such file or directory
Mip-maps is not support for non power-of-two textures (1920 x 1017)
[12:08:10][Warning] No sorting set
[12:08:10][Warning] No sorting set
[12:08:10][Warning] No sorting set
[12:08:10][Warning] No sorting set
[12:08:10][Warning] Can't run ScanFiles, "/home/pi/Desktop/USC/profiles/" is not a folder