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

Latency issues on (Arch) Linux but not on Windows with egui #6548

Open
Raj2032 opened this issue Nov 15, 2024 · 2 comments
Open

Latency issues on (Arch) Linux but not on Windows with egui #6548

Raj2032 opened this issue Nov 15, 2024 · 2 comments

Comments

@Raj2032
Copy link

Raj2032 commented Nov 15, 2024

Hi, when I am using the blue_engine with egui I have noticed there is latency, whether if i am moving the windows around or when I move my mouse to hover on the buttons there is this slight second before it reacts etc.

Here is the video for this demonstration:

Screencast.2024-11-14.22.28.17.mp4

I have tried using --release mode same issue.

This is an issue on Linux however it runs fine on Windows without latency (even in debug mode). I ran lspci -nnk | grep -i -EA3 "3d|display|vga" and this is the output (on linux):

00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
	Subsystem: Gigabyte Technology Co., Ltd Device [1458:d000]
	Kernel driver in use: i915
	Kernel modules: i915
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT / Grenada XT [Radeon R9 290X/390X] [1002:67b0]
	Subsystem: ASUSTeK Computer Inc. R9 290X DirectCU II [1043:046a]
	Kernel driver in use: amdgpu
	Kernel modules: radeon, amdgpu

I have tried both amdgpu and radeon drivers, both had the same issues. I am using R9 290X DirectCU II graphics card. I tried using different kernels such as xanmod or even tried different the same thing on Linux Mint, same issue.

Its odd cause everythign else is worse on Windows, the performance of Youtube can be quite bad using the exact same browsers, I have done performance benchmark tests and linux has done much better on gpu and cpu side of things, when opening up new tabs on windows that lags but on linux its smooth etc so makes no sense why I am having issues with egui on Linux.

@Raj2032
Copy link
Author

Raj2032 commented Nov 15, 2024

Hi mods can you move this back to wgpu as its not nothing to do with webgpu.

@Wumpf
Copy link
Member

Wumpf commented Nov 15, 2024

WebGPU for Firefox is just Mozilla's public planning board for triaging the priority of issues towards getting WebGPU impl for Firefox ready (which is built upon wgpu). I'll let them decide whether it's relevant or not towards that goal but it might well be.

Issue reminds me a lot of this report emilk/egui#5037 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants