-
Notifications
You must be signed in to change notification settings - Fork 9
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
ERROR jay::backends::metal::video] Could not present #159
Comments
Does What is the output of Does sway work on the same system? If so, please post sway logs. |
I haven't seen anything suspicious, but I'll keep looking.
Attached.
Yes it does (stable release .. no explicit sync yet). Debug log attached. Launched with |
Unfortunately the sway logs are a bit bare. In that case it might be easiest to enable KMS debug logging. Be warned that this will create very verbose logs. Step 1: Enable logging:
|
The effect of the 'Could not present' is mainly noticeable in these terminal emulators:
Due to the fact that a missed present actually is immediately noticeable as a missing character or the terminal screen output being 'one stroke behind'. Firefox renderer works just fine. I think that GTK (i.e. Firefox menu bar) is also impacted by the 'Could not present' error. I.e. when I click the menu bar, the menus don't open. But the 'hamburger' menu in Firefox (which is not GTK?) works without issues. |
Huh, I was assuming that you got no output at all. If you do get output, then this might be just a case of presentation on some (?) outputs not working but working on the main ones. This might be related to PRIME as you said. The logs will probably give us the definitive answer but could you also post the output of |
|
|
In addition to only using the internal display, I now have also tested the HDMI port (and disabled eDP-1 with I suspect using only the external |
I think this is https://invent.kde.org/plasma/kwin/-/merge_requests/4770. The I'll try to create a patch that disables IN_FENCE_FD if nvidia is being used. But then I'm not sure how explicit sync is supposed to work on nvidia since we have no way to synchronize presentation with rendering. |
Please test #160 |
From Xaver:
https://bugs.kde.org/show_bug.cgi?id=478246#c9 I can't recall this topic being discussed anywhere else. Do you think I should be able to observe the symptoms (i.e. output lagging behind the keystrokes in terminal emulator) when using wlroots explicit sync patch? Or does this comment mean I wouldn't notice the issue in wlroots?
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4262#note_2353397 |
I'm away from the test machine. I'll be back in front of it and test it in 12 hours (Wed 21:00 UTC) |
There are several issues here:
As far as I know, support for explicit sync in wlroots and sway is incomplete.
That comment is unrelated. |
That might have been a bug in Jay that should also be fixed in the PR. |
That patch works for me. Error messages are gone. And the symptoms have disappeared. |
I've released 1.0.3 with these changes. |
This is on a PRIME system (Asus Zephyrus G14 2023) with the NVidia dGPU set to always enabled in BIOS.
Driver is latest nvidia-open
Log attached.
jay-2024-04-10T04:46:17.149Z-0.txt
The text was updated successfully, but these errors were encountered: