Skip to content

Commit

Permalink
fix: correct virgl server socket path
Browse files Browse the repository at this point in the history
  • Loading branch information
longjunyu2 committed Aug 4, 2024
1 parent 92470ea commit 97b8e0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/com/winlator/XServerDisplayActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ else if (graphicsDriver.equals("virgl")) {
else if (graphicsDriver.equals("virgl")) {
envVars.put("GALLIUM_DRIVER", "virpipe");
envVars.put("VIRGL_NO_READBACK", "true");
envVars.put("VIRGL_SERVER_PATH", UnixSocketConfig.VIRGL_SERVER_PATH);
envVars.put("VIRGL_SERVER_PATH", rootDir + UnixSocketConfig.VIRGL_SERVER_PATH);
envVars.put("MESA_EXTENSION_OVERRIDE", "-GL_EXT_vertex_array_bgra");
envVars.put("MESA_GL_VERSION_OVERRIDE", "3.1");
envVars.put("vblank_mode", "0");
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</string-array>
<string-array name="graphics_driver_entries">
<item>Turnip (Adreno)</item>
<!-- <item>VirGL (Universal)</item> -->
<item>VirGL (Universal)</item>
</string-array>
<string-array name="audio_driver_entries">
<item>ALSA</item>
Expand Down

0 comments on commit 97b8e0a

Please sign in to comment.