You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
## 2025-03-29
6
6
7
-
- Added FILTER_SHADER_AND_MESH environment variable to filter out shader and mesh-related warning/error messages from the logs @jammsen (#72)
7
+
- Added FILTER_SHADER_AND_MESH_AND_WINE_DEBUG environment variable to filter out shader and mesh-related warning/error messages and Wine debug-logs from the logs @jammsen (#72)
Copy file name to clipboardExpand all lines: README.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ services:
102
102
PGID: 1000
103
103
ALWAYS_UPDATE_ON_START: true
104
104
SKIP_NETWORK_ACCESSIBILITY_TEST: true
105
-
FILTER_SHADER_AND_MESH: true
105
+
FILTER_SHADER_AND_MESH_AND_WINE_DEBUG: true
106
106
ports:
107
107
- 8766:8766/udp
108
108
- 27016:27016/udp
@@ -111,13 +111,22 @@ services:
111
111
- ./game:/sonsoftheforest
112
112
```
113
113
114
-
> **Note:** The `FILTER_SHADER_AND_MESH` environment variable (default: true) controls whether shader-related warning messages are filtered from the container logs. When set to true, it removes the following messages keeping your logs cleaner. Set to false if you want to see all shader warnings.
114
+
> **Note:** The `FILTER_SHADER_AND_MESH_AND_WINE_DEBUG` environment variable (default: true) controls whether Wine debug-logs and shader-related warning messages are filtered from the container logs. When set to true, it removes the following messages keeping your logs cleaner. Set to false if you want to see all shader warnings.
115
115
> * Shader XYZ shader is not supported on this GPU
116
116
> * WARNING: Shader Unsupported: 'XYZ' - All subshaders removed
117
117
> * WARNING: Shader Did you use XYZ and omit this platform?
118
118
> * WARNING: Shader If subshaders removal was intentional, you may have forgotten turning Fallback off?
119
119
> * No mesh data available for mesh XYZ
120
120
> * Couldn't create a Convex Mesh from source mesh XYZ
121
+
> * 0060:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
122
+
> * 0240:fixme:wbemprox:enum_class_object_Next timeout not supported
123
+
> * 0060:fixme:mountmgr:query_property Faking StorageDeviceProperty data
Copy file name to clipboardExpand all lines: scripts/servermanager.sh
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -94,14 +94,21 @@ function startServer() {
94
94
rm -f /tmp/.X1-lock 2> /dev/null
95
95
# shellcheck disable=SC2164
96
96
cd"$GAME_PATH"
97
-
98
-
if [[ ${FILTER_SHADER_AND_MESH}==true ]];then
97
+
98
+
if [[ ${FILTER_SHADER_AND_MESH_AND_WINE_DEBUG}==true ]];then
99
99
ei ">>> Shader and Mesh warning/error filtering is enabled"
100
-
# Start the server and pipe through grep to filter out shader warnings
101
-
wine64 "$GAME_PATH"/SonsOfTheForestDS.exe -userdatapath "$GAME_USERDATA_PATH"2>&1| grep -v -E ".*WARNING: Shader.*|.*ERROR: Shader.*|.*No mesh data available for mesh.*|.*Couldn't create a Convex Mesh from source.*|.*The referenced script.*|.*Could not find video decode shader pass.*"
100
+
# Start the server without output buffering and pipe through grep to filter out shader warnings
101
+
# If you want to use stdbuf, uncomment the next lines and build the image yourself
#stdbuf -oL grep -v -E ".*WARNING: Shader.*|.*ERROR: Shader.*|.*No mesh data available for mesh.*|.*Couldn't create a Convex Mesh from source.*|.*The referenced script.*|.*Could not find video decode shader pass.*"
104
+
# Start the server with output buffering and pipe through grep to filter out shader warnings
105
+
WINEDEBUG=-all wine64 "$GAME_PATH"/SonsOfTheForestDS.exe -userdatapath "$GAME_USERDATA_PATH"2>&1| grep -v -E ".*WARNING: Shader.*|.*ERROR: Shader.*|.*No mesh data available for mesh.*|.*Couldn't create a Convex Mesh from source.*|.*The referenced script.*|.*Could not find video decode shader pass.*"
102
106
else
103
107
ei ">>> Shader warning filtering is disabled"
104
-
# Start the server normally without filtering
108
+
# Start the server without output buffering and without filtering
109
+
# If you want to use stdbuf, uncomment the next line and build the image yourself
0 commit comments