-
Notifications
You must be signed in to change notification settings - Fork 109
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
nvidia 545.29.06 broken #221
Comments
|
I have iGPU too, but I never use it before. I can check it again on Monday.
I follow arch wiki and guideline to setup, it work for me on KDE
sure, next monday I will do it |
2 and 3 but I return to version r93 of cosmic-epoch, it still cannot start normally... |
|
although KDE still work for me |
That doesn't mean some application might not use it. Can you do
Older versions have a bug prohibiting them to work with the 545 driver, you will need latest master.
As I said, those are settings for Applications. cosmic-comp uses for example the egl-device and egl-gbm platforms (not the wayland platform as it by itself isn't a wayland-client) and thus these settings don't need to be set for compositors (just for the applications running on it).
No, we don't use EGLstreams, which is also why you have to run with
Not interesting at all, these are normal on nvidia and don't cause any issues. Can you additionally set |
Thank you for your detailed explanation !
I do have only one render, it's good.
cosmic-epoch-git r103.6c000aa-1 |
it show |
You're config file is outdated. Please grab the latest one from master: https://github.com/pop-os/cosmic-comp/raw/master_jammy/config.ron
Now we are getting somewhere! That this is an atomic configuration error and that we have the configuration cosmic is trying to set is really helpful to narrow this down. I just need one additional piece of information. Can you run |
OK ! here is my drm_info : https://gist.github.com/skygrango/2d6ebb4bbcd23fac3600a7eeff9dc094 If you need me to test again, please let me know |
Ok great, so let me give you a quick rundown of what happens. We are building a atomic request to setup the screen via the kms-api with a bunch of parameters (so called properties). We take a bunch of properties as a given, because they are mandatory by the spec. So we can safely ignore those and in fact we can see, those are set to sensible values in the log:
Object 85 is your display port connector, which gets one property, so it's the last one in the list: "41". That is the ID of the crtc (or the Object 41 is the CRTC and it gets two properties. The property Which leaves us with Object 35, which is Looking at smithay's code and drm_info only three possible candidates remain Rotation is easy, that is the Which is why the atomic request is rejected by the driver and cosmic fails to put anything on the screen. Now onto the weird part, I fixed this issues with the nvidia 545 driver weeks ago in smithay: Smithay/smithay@dfa75ea So it should look for the syncobj capability, figure out fencing is not supported and never try to send a value to the driver. And on my systems, that works, somehow on yours we still end up with a value here. Which leaves to options:
So first off, are you sure you are running the right version? This seems suspicious to me, as the AUR package lists Also 6c000aa doesn't even resolve to a known commit of that repository: pop-os/cosmic-epoch@6c000aa If you did update the submodules locally, note that just changing their commits doesn't check out the new state automatically. 4a6621a does, but is indeed to old. I'll update the cosmic-epoch repository to fix that. If it turns out to be option 2, how is your rust experience? Could I ask you to debug this with a few more hints? Or would it be better, if I just clutter the log with more details to hopefully figure out remotely, how we end up in this state? |
cosmic-epoch updated. |
|
I rebase my fork here : https://github.com/skygrango/cosmic-epoch/commits/master and left the old one |
They both look fine, the question is how are you building that? With the AUR package? Or by manually building? If it's the latter, you need to make sure to not just |
I clone the aur package and modify PKGBUILD to link to my fork, then makepkg. done. I use I will modify aur tomorrow so that the new submodule can be compiled I left my 7900xtx drm_info here, it work : https://gist.github.com/skygrango/168a042c39b8a1740bf93507290375be |
hey, I found that in https://github.com/pop-os/cosmic-comp/blob/master_jammy/Cargo.toml
maybe we just need to update since this is older than the fix you mentioned Smithay/smithay@dfa75ea |
oh sorry, just found that
|
I logged alacritty/alacritty#7372 and obsproject/obs-studio#9870 this morning when the new 545 driver came through. I reverted back to 535 and both are now back to a working state. |
I think so, It's nvidia problem even though KDE still work @Drakulix maybe instead of wasting your energy, let's close this issue first ? If you still want to know some error messages, I can still help provide information |
I saw this commit : elFarto/nvidia-vaapi-driver@9888709 nvidia made stupid design changes ... //NVIDIA driver v545.29.02 changed the devInfo struct, and partly broke it in the process |
Its a problem specific to the nvidia-driver, but not a problem of the driver. smithay sends a fence, when it shouldn't, but I am not convinced yet, that you are using a indeed using a recent enough build of cosmic.
Feel free to close this issue at any time, I am just trying to help you with your problem.
Sure, lets do that. Try changing this line please to
|
I made a fork of cosmic-comp log : https://gist.github.com/skygrango/e183a2f1b386a9c7d5a4ac1dd06cb184 |
try to run cosmic-comp in tty log: https://gist.github.com/skygrango/2260f78894ed260bacfb2c2deff92a25 |
Looks completely fine. Seems like you let it run for 5 seconds, before switching tty again. |
my mouse can't move, what could be the reason? |
the situation is not good, because the desktop is slow to show up, previous driver version of 535 did not have such slowness, and I could use the mouse normally |
No environment variables, I honestly have no idea, as you don't have any errors in your log and I don't have a machine that replicates this issue.
I would suggest downgrading for the time being in that case. Possibly open an issue with nvidia, I would hope future updates will fix this on your system. |
That sounds very reasonable, let's move on. |
Thank you for being so patient with this bug. There are other reports for problems around the new synchronization mechanism of the 545 driver, I am hopeful that later versions with resolve this, but feel free to re-open once the next driver version lands, if this is still not fixed. |
I updated cosmic-comp and tried new driver of nvidia 545.29.06 log : https://gist.github.com/skygrango/a14fb376ca51be273bef8000a481b99a it show
545.29.06 driver also does not work properly |
Not a debug log, but the error is again "Error rendering", which hints at the same drm/fence issue as the previous driver version... :/ |
I'm sorry for forgetting to change log level here is new one : https://gist.github.com/skygrango/2256086a36e3ee6c7e5deb4b206bdd81 started from tty : https://gist.githubusercontent.com/skygrango/b47770839bb1dfc3b187c802679eb9a7/raw/1f73599355d27c2d03f9d1ee1bd532d70188ffcd/cosmic-comp-dbg-tty.log tty log has DrmCompositor info if you need it |
Both logs look perfectly fine, not even a rendering error, all good until the tty-switch. What results were you seeing exactly here? Still a rendered, but otherwise unresponsive desktop? |
Yes, but I probably need to make slight corrections : The mouse is responsive, but may move once every 30 seconds. :) |
we should wait for the next nvidia driver update |
nvidia 550.54.14 work ! |
I wanna try keyboard im support, but I can't even launch the desktop properly
desktop show up, but I couldn't move my cursor, it seems like freezing
did I miss something ?
distro : arch up-to-date
kernel: linux-cachyos 6.6.1-1, boot with nvidia_drm.modeset=1
graphic card : gtx 1080
driver : nvidia 545.29.02-4 / nvidia-utils 545.29.02-2
pkg : cosmic-epoch-git r101.a83f8dc-1 / cosmic-comp 9a04fa2
env :
EGL_PLATFORM=wayland
LIBVA_DRIVER_NAME=nvidia
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia
it show some error in dmesg :
The text was updated successfully, but these errors were encountered: