Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8 rc3 configuratorthere is no airframe rending. #2286

Closed
and-sh opened this issue Dec 16, 2024 · 12 comments
Closed

8 rc3 configuratorthere is no airframe rending. #2286

and-sh opened this issue Dec 16, 2024 · 12 comments
Labels
Confirmed Bug has been confirmed by developer Linux Problem on Linux

Comments

@and-sh
Copy link

and-sh commented Dec 16, 2024

After latest update on Debian 13 there is no airframe. On windows all work fine.
Screenshot From 2024-12-15 17-19-16
Screenshot From 2024-12-16 09-23-59

In alignment tab the same.

I guess this is not very urgent because Debian 13 will be released in about a year.

@sensei-hacker
Copy link
Collaborator

sensei-hacker commented Dec 16, 2024

That would probably be your 3D hardware rendering acceleration / GPU drivers and configuration. If you have an Nvidia card with their driver, you have to compile the proprietary Nvidia driver for each kernel update.

Since you're running a Debian branch that's a year before release, I probably don't need to tell you how to use journalctl to check the logs, etc. :)

@and-sh
Copy link
Author

and-sh commented Dec 16, 2024

Well, everything else works in general.

=======================================================
glmark2 2023.01

OpenGL Information
GL_VENDOR:      Intel
GL_RENDERER:    Mesa Intel(R) Iris(R) Plus Graphics 655 (CFL GT3)
GL_VERSION:     4.6 (Compatibility Profile) Mesa 24.2.8-1
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size:   800x600 windowed

=======================================================
[build] use-vbo=false: FPS: 3684 FrameTime: 0.272 ms
[build] use-vbo=true: FPS: 3724 FrameTime: 0.269 ms
[texture] texture-filter=nearest: FPS: 3749 FrameTime: 0.267 ms
[texture] texture-filter=linear: FPS: 3762 FrameTime: 0.266 ms
[texture] texture-filter=mipmap: FPS: 3815 FrameTime: 0.262 ms
[shading] shading=gouraud: FPS: 3585 FrameTime: 0.279 ms
[shading] shading=blinn-phong-inf: FPS: 3513 FrameTime: 0.285 ms
[shading] shading=phong: FPS: 3404 FrameTime: 0.294 ms
[shading] shading=cel: FPS: 3312 FrameTime: 0.302 ms
[bump] bump-render=high-poly: FPS: 2245 FrameTime: 0.446 ms
[bump] bump-render=normals: FPS: 3714 FrameTime: 0.269 ms
[bump] bump-render=height: FPS: 3603 FrameTime: 0.278 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 3104 FrameTime: 0.322 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 1856 FrameTime: 0.539 ms
[pulsar] light=false:quads=5:texture=false: FPS: 3783 FrameTime: 0.264 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 1614 FrameTime: 0.620 ms
[desktop] effect=shadow:windows=4: FPS: 2542 FrameTime: 0.393 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 888 FrameTime: 1.127 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 1084 FrameTime: 0.923 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 1169 FrameTime: 0.856 ms
[ideas] speed=duration: FPS: 2965 FrameTime: 0.337 ms
[jellyfish] : FPS: 2644 FrameTime: 0.378 ms
[terrain] : FPS: 355 FrameTime: 2.819 ms
[shadow] : FPS: 2422 FrameTime: 0.413 ms
[refract] : FPS: 646 FrameTime: 1.550 ms
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 2816 FrameTime: 0.355 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 2811 FrameTime: 0.356 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 2810 FrameTime: 0.356 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 2825 FrameTime: 0.354 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 2833 FrameTime: 0.353 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 2798 FrameTime: 0.358 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 2791 FrameTime: 0.358 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 2808 FrameTime: 0.356 ms

                              glmark2 Score: 2716 

=======================================================

Screenshot From 2024-12-16 14-13-49

@and-sh
Copy link
Author

and-sh commented Dec 16, 2024

Screenshot From 2024-12-16 14-23-21

@stronnag
Copy link
Collaborator

This happens on modern Linux systems due to upstream issues in Electron.
Unlikely that INAV can fix it.
It's happened ever since the configurator Electron migration.

@and-sh
Copy link
Author

and-sh commented Dec 17, 2024

Thank you. Hope they fix that soon.

@Scavanger
Copy link
Contributor

Scavanger commented Dec 18, 2024

Fixed in #2285
Bildschirmfoto_20241217_220226

@and-sh
Copy link
Author

and-sh commented Dec 18, 2024

Can I test this?
Screenshot From 2024-12-18 09-14-03

@Scavanger
Copy link
Contributor

Scavanger commented Dec 18, 2024

@and-sh

Can I test this?

Sure, go to the PR -> Checks -> Artifacts and download the installer/archive

@and-sh
Copy link
Author

and-sh commented Dec 18, 2024

Yep, work fine.
Screenshot From 2024-12-18 19-31-10

But there are some warnings in console

[198545:1218/193441.898004:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[198545:1218/193453.065980:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
We're closing...
(node:198509) UnhandledPromiseRejectionWarning: TypeError: js.stopAll is not a function
at App. (file:///usr/lib/inav-configurator/resources/app/.vite/build/main.js:11684:42)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at emitUnhandledRejectionWarning (node:internal/process/promises:298:15)
at warnWithErrorCodeUnhandledRejectionsMode (node:internal/process/promises:406:5)
at processPromiseRejections (node:internal/process/promises:470:17)
at process.processTicksAndRejections (node:internal/process/task_queues:96:32)
(node:198509) TypeError: js.stopAll is not a function
at App. (file:///usr/lib/inav-configurator/resources/app/.vite/build/main.js:11684:42)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

@Scavanger
Copy link
Contributor

Scavanger commented Dec 18, 2024

But there are some warnings in console

Still a Bug in electron (chromium): electron/electron#32760

Seems to work on some systems, on some not.
We have to disable GPU acceleration on Linux to get it work on all systems, but makes the 3D rendings sluggish. :(

@and-sh
Copy link
Author

and-sh commented Dec 18, 2024

Not at all.
But the propellers are not positioned correctly. All counterclockwise.
In Betaflight too.

@b14ckyy
Copy link
Collaborator

b14ckyy commented Jan 18, 2025

Since main issue seems to be fixed and further improvements are on the Linux side, will close here.

@b14ckyy b14ckyy closed this as completed Jan 18, 2025
@b14ckyy b14ckyy added Confirmed Bug has been confirmed by developer Linux Problem on Linux labels Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed Bug has been confirmed by developer Linux Problem on Linux
Projects
None yet
Development

No branches or pull requests

5 participants