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

Fullscreen(scanout): display engine can still be overwelmed #1170

Open
Vixea opened this issue Jan 24, 2025 · 6 comments
Open

Fullscreen(scanout): display engine can still be overwelmed #1170

Vixea opened this issue Jan 24, 2025 · 6 comments

Comments

@Vixea
Copy link

Vixea commented Jan 24, 2025

A follow up to what I understood should've or was likely to have been fixed(at least with more powerful dgpu display engines?) by #1020
Anyway the description of the problem from what I understand:
When in fullscreen or scanout the display engine in the GPU can be overwhelmed causing dropped, stutters, (whatever you wanna call it) frames. If it can't be reproduced on a desktop system I would recommend trying an all amd laptop(one igpu and dgpu) which is what I'm currently reproducing it with

@Drakulix
Copy link
Member

Yeah, it would be great if I had all the hardware in the world to test on. /s

Jokes aside, so you are experience stuttering on an AMD system with an iGPU and dGPU for a fullscreen title?

Can you tell me some more:

  • What framerate/resolution are you targetting?
  • VRR?
  • Are there additional displays?
  • What gpu is the display connected to, which gpu is the game running on?
  • Anything suspicious in cosmic-comp or kernel logs?
  • Can you get a dump of drm_info, while your game is running (e.g. via ssh), so we can easily confirm that direct scanout is actually in use?

Thanks for the bug report. :)

@Vixea
Copy link
Author

Vixea commented Jan 24, 2025

1920*1200 at 165 Hz
Auto
No
Maybe I'm seeing a whole lot of repeating(what looks like the) amdgpu driver initing - https://pastebin.com/cEzWkEm9

https://pastebin.com/ZvfZGd0R

@Vixea
Copy link
Author

Vixea commented Jan 24, 2025

https://pastebin.com/fT1DHPhn
Mild concern noticed this after quickly entering fullscreen on a video and checking the logs

@Vixea
Copy link
Author

Vixea commented Jan 28, 2025

@Drakulix friendly ping, sorry if you're busy

@Vixea
Copy link
Author

Vixea commented Feb 5, 2025

Yep it's a scan out issue no problem with the disable scan out env var, nope just didn't reproduce it with the game however watching a video did it so nope nevermind

@Drakulix
Copy link
Member

Drakulix commented Feb 5, 2025

I am not sure what to tell you, the kernel logs look like this might be an amdgpu bug.

The drm_info log (and your tests with disabling scanout) should that direct scanout is in fact active. The log also confirms that VRR is active, but I am not sure, if that has any impact on the issue you are seeing.

I recommend to turn of scanout via the environment variable and possibly open a mesa/amdgpu issue.

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

No branches or pull requests

2 participants