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
[I am a complete Avalonia newbie here, evaluating Avalonia vs. Qt for an embedded Linux UI project.]
When running the VS template desktop app "Welcome to Avalonia!" modified for framebuffer display (StartLinuxFbDev) on my SBC (Digi ConnectCore with yacto build), top shows high CPU usage (~30%) for an otherwise completely idle app.
To Reproduce
Modify the VS desktop template Main method line:
return builder.StartLinuxDrm(args: args, card: null, scaling: 1.0);
to:
return builder.StartLinuxFbDev(new string[] { "--fbdev" }, "/dev/fb0", 1, new LibInputBackend());
Include the LinuxFramebuffer package reference, if necessary, in the Desktop .csproj file
build and publish for .net8, self-contained, linux-arm in VS2022 on Windows 10.
Copy the published files to the SBC, chmod +x the desktop app and run.
Expected behavior
I would expect the CPU to be at or near 0% usage.
Avalonia version
11.1.3
OS
Linux
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
[I am a complete Avalonia newbie here, evaluating Avalonia vs. Qt for an embedded Linux UI project.]
When running the VS template desktop app "Welcome to Avalonia!" modified for framebuffer display (StartLinuxFbDev) on my SBC (Digi ConnectCore with yacto build), top shows high CPU usage (~30%) for an otherwise completely idle app.
To Reproduce
Modify the VS desktop template Main method line:
return builder.StartLinuxDrm(args: args, card: null, scaling: 1.0);
to:
return builder.StartLinuxFbDev(new string[] { "--fbdev" }, "/dev/fb0", 1, new LibInputBackend());
Include the LinuxFramebuffer package reference, if necessary, in the Desktop .csproj file
build and publish for .net8, self-contained, linux-arm in VS2022 on Windows 10.
Copy the published files to the SBC, chmod +x the desktop app and run.
Expected behavior
I would expect the CPU to be at or near 0% usage.
Avalonia version
11.1.3
OS
Linux
Additional context
No response
The text was updated successfully, but these errors were encountered: