mirror of
https://github.com/utmapp/UTM.git
synced 2026-10-12 02:24:01 +00:00
system: add more Metal debug logging
This commit is contained in:
@@ -120,12 +120,16 @@ static int startQemu(UTMProcess *process, int argc, const char *argv[], const ch
|
||||
self.mutableEnvironment[@"VIRGL_LOG_LEVEL"] = @"debug";
|
||||
self.mutableEnvironment[@"MESA_DEBUG"] = @"1";
|
||||
self.mutableEnvironment[@"MVK_CONFIG_LOG_LEVEL"] = @"4";
|
||||
self.mutableEnvironment[@"MVK_DEBUG"] = @"1";
|
||||
self.mutableEnvironment[@"MTL_DEBUG_LAYER"] = @"1";
|
||||
} else {
|
||||
[self.mutableEnvironment removeObjectForKey:@"G_MESSAGES_DEBUG"];
|
||||
[self.mutableEnvironment removeObjectForKey:@"VK_LOADER_DEBUG"];
|
||||
[self.mutableEnvironment removeObjectForKey:@"VIRGL_LOG_LEVEL"];
|
||||
[self.mutableEnvironment removeObjectForKey:@"MESA_DEBUG"];
|
||||
[self.mutableEnvironment removeObjectForKey:@"MVK_CONFIG_LOG_LEVEL"];
|
||||
[self.mutableEnvironment removeObjectForKey:@"MVK_DEBUG"];
|
||||
[self.mutableEnvironment removeObjectForKey:@"MTL_DEBUG_LAYER"];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user