Failed to set gamma LUT on nouveau #2767
Comments
Can you provide Sway debug logs with Sway/wlroots master? |
Sure. EDIT: Note that, with both wlroots and Sway on master, Sway is nigh-unusable. I can't do much more than start it up. sway --debug 2>log
|
Re gamma, invalid argument would generally mean you're using an invalid gamma size, esp in the legacy path. It should be getting set to 256, if it's not, that's bad. (I glanced at the wlroots code, seems to be fine though - grabs the gamma_size from the crtc descriptor.)
This is bad. Usually this comes up when you've shared a buffer, so it's in GART, but then you're trying to display it, so it has to be pinned in VRAM. Can't have it both ways. That could be why the cursor is failing, or flipping is failing. What kernel are you using? |
The 5.11.1 Zen kernel. EDIT: As unnecessary as it was, at least it's consistent: still very bad. |
Almost certainly unnecessary. Making sure it wasn't a truly ancient kernel. |
You can enable the atomic modesetting API, perhaps wlroots will fare better with that -- boot with |
EDIT: Old sway + wlroots (specifically, 1.4 and 0.10.1, respectively) functions fine, by the way. It's only newer sway + wlroots that have issues. Unfortunately, sway --debug 2>log
|
I'm experiencing the same issue. I'd be happy to help anyway I can! I tried pulling down I have a GTX 970 using nouveau. |
Please open a new issue for this. |
Updating to sway 1.6 and wlroots 0.13.0 in combination with the env var suggested in #2862 ( |
After upgrading sway from
After that everything just hangs, although responds to input (I can blindly type
Attached debug log. |
This sounds like a separate issue because your log doesn't have anything relating to gamma. Please open a new issue. |
For a while now, I've been running an older version of sway (1.4) and wlroots (0.10.1) due to this issue preventing the use of gamma changing applications (
wlsunset
,gammastep
, etc.). Updating to the most recent releases of both (1.5.1 and 0.12.0, respectively) leaves me with the following:Some information I've seen requested in other threads:
drm_info
If I use master of both projects (73137ac and swaywm/sway@d358aab), things are even more broken, with insane graphical corruption.
I also got a
drmModePageFlip failed: Device or resource busy
, but forgot to save the log for it.In
dmesg
, I saw:ad nauseam until I closed sway.
Let me know if there's anything else I can do to help.
EDIT: Probably useful information I should have included above... I'm using a GTX 1080. Yes, I know. But it's what I have.
The text was updated successfully, but these errors were encountered: