mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Better vk/ncnn logging
This commit is contained in:
@@ -463,11 +463,10 @@ namespace Flowframes
|
|||||||
InterpolateUtils.ShowMessage($"A python error occured during interpolation!\nCheck {logFilename} for details.\n\n{line}", "Error");
|
InterpolateUtils.ShowMessage($"A python error occured during interpolation!\nCheck {logFilename} for details.\n\n{line}", "Error");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hasShownError && err && line.Contains("vk") && line.Contains(" failed"))
|
if (!hasShownError && err && line.MatchesWildcard("vk*Instance* failed"))
|
||||||
{
|
{
|
||||||
hasShownError = true;
|
hasShownError = true;
|
||||||
string dain = (Interpolate.current.ai.aiName == Networks.dainNcnn.aiName) ? "\n\nTry reducing the tile size in the AI settings." : "";
|
InterpolateUtils.ShowMessage($"Vulkan failed to start up!\n\n{line}\n\nThis most likely means your GPU is not compatible.", "Error");
|
||||||
InterpolateUtils.ShowMessage($"A Vulkan error occured during interpolation!\n\n{line}{dain}", "Error");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hasShownError && err && line.Contains("vkAllocateMemory failed"))
|
if (!hasShownError && err && line.Contains("vkAllocateMemory failed"))
|
||||||
@@ -478,18 +477,18 @@ namespace Flowframes
|
|||||||
InterpolateUtils.ShowMessage($"Vulkan ran out of memory!\n\n{line}{msg}", "Error");
|
InterpolateUtils.ShowMessage($"Vulkan ran out of memory!\n\n{line}{msg}", "Error");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hasShownError && err && line.Contains("vkCreateInstance failed"))
|
|
||||||
{
|
|
||||||
hasShownError = true;
|
|
||||||
InterpolateUtils.ShowMessage($"Vulkan failed to start up!\n\n{line}\n\nThis most likely means your GPU is not compatible.", "Error");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!hasShownError && err && line.Contains("invalid gpu device"))
|
if (!hasShownError && err && line.Contains("invalid gpu device"))
|
||||||
{
|
{
|
||||||
hasShownError = true;
|
hasShownError = true;
|
||||||
InterpolateUtils.ShowMessage($"A Vulkan error occured during interpolation!\n\n{line}\n\nAre your GPU IDs set correctly?", "Error");
|
InterpolateUtils.ShowMessage($"A Vulkan error occured during interpolation!\n\n{line}\n\nAre your GPU IDs set correctly?", "Error");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!hasShownError && err && line.MatchesWildcard("vk* failed"))
|
||||||
|
{
|
||||||
|
hasShownError = true;
|
||||||
|
InterpolateUtils.ShowMessage($"A Vulkan error occured during interpolation!\n\n{line}", "Error");
|
||||||
|
}
|
||||||
|
|
||||||
if (hasShownError)
|
if (hasShownError)
|
||||||
Interpolate.Cancel();
|
Interpolate.Cancel();
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,17 @@
|
|||||||
|
Flowframes 1.25.2 Changelog:
|
||||||
|
- Image Sequence will now be copied instead of re-encoded if they are compatible
|
||||||
|
- Color space (and transfer function) will now be retained from the input video
|
||||||
|
- Aspect ratio of input video will now be preserved (for non-square pixel videos)
|
||||||
|
- Added "Debug Tools" window with a log viewer and a config editor tab
|
||||||
|
- Interpolation will now pause, not cancel, when disk space is low
|
||||||
|
- Existing output files now get renamed instead of overwritten if they already exist
|
||||||
|
- Several processing functions now run in the background, so the UI no longer freezes
|
||||||
|
- Fixed h265 CRF 0 not being lossless
|
||||||
|
- Fixed critical bug where Auto-Encode ran too early, causing FFmpeg errors
|
||||||
|
- Fixed bug where deduplicated videos would play too fast if JPEG frames are used
|
||||||
|
- Fixed some cases where the program wouldn't launch because of undhandled errors
|
||||||
|
|
||||||
|
|
||||||
Flowframes 1.25.1 Changelog:
|
Flowframes 1.25.1 Changelog:
|
||||||
- Added a button to pause/resume the interpolation
|
- Added a button to pause/resume the interpolation
|
||||||
- Added AV1 codec support for MP4/MKV output
|
- Added AV1 codec support for MP4/MKV output
|
||||||
|
|||||||
Reference in New Issue
Block a user