-
Notifications
You must be signed in to change notification settings - Fork 39
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
[Grouping] mesa-git issues reporting #260
Comments
Since I don't use any DM it would need some time removing my autologin hacks to test it with a real working GDM. So instead I checked the GDM source, and it doesn't seem to test for GLES or use libglapi directly. Nixpkgs doesn't seem to mess with the two envvars we require. 😅 yeah, logs in this case would be great. I think for gdm you can get them through journalctl. |
I've updated the original post with logs. I hope the form is okay. |
This executable runs fine for me in my user session. I imagine gbm/systemd is cleaning our envvars before starting this executable. Just for testing once, can you build with |
This worked. Gdm found both session and hardware accelleration is working. |
Ok, now remove that one, and instead try this one: { systemd.services.display-manager.serviceConfig.PassEnvironment = "GBM_BACKENDS_PATH GBM_BACKEND LD_PRELOAD"; } |
that resulted in the same issue than before. I get only software rendering in a x11 session.
all logs:
|
I pushed the branch https://github.com/chaotic-cx/nyx/tree/mesa-git-gdm-env In my test I see that it adds what I need: $ nix repl
nix-repl> :lf .
nix-repl> lib = inputs.nixpkgs.lib
nix-repl> sys = lib.nixosSystem { modules = [ nixosModules.default { chaotic.mesa-git.enable = true; services.xserver.displayManager.gdm.enable = true; } ]; system = "x86_64-linux"; }
nix-repl> sys.config.systemd.services.display-manager.serviceConfig.Environment
[ "'GBM_BACKENDS_PATH=/run/opengl-driver/lib/gbm'" "'GBM_BACKEND=dri_git'" "'LD_PRELOAD=/nix/store/g4by42bp515ac7mp2b3skcjljrhsyy2b-mesa-7f63d2/lib/libglapi.so.0'" ] Can you test it? |
Bump @rkunschke |
Sorry for replying that late. Just to get that right: I changed the input in my flake.nix to that branch and just enabled mesa-git.enable; gdm.enable; and gnome.enable I have the same problem as before with that. Gnome only in X11 with software rendering.
all logs:
|
Exactly.
Ok, I'll think of another solution... |
I get software rendering (or crashes) with anything OpenGL that uses either X11 or XWayland. This is by launching Plasma Wayland from SDDM. (Plasma X11 works with software rendering.) |
PS: If possible, please add some logs. |
I've put a page in the Wiki for tracking compatibility: https://github.com/chaotic-cx/nyx/wiki/Mesa%E2%80%90Git-Compatibiltiy-Tracking (anyone should be able to edit it) |
When doing this, it's... weird?
Yes, except in Plasma Wayland, where
No wrapping done, I checked manually with Logs after launching Plasma X11, with |
Actually, no. This method is supposed to work 100% even in edge-cases, since it replaces all mesa files impurely. Hummm, just to be certain, what GPU do you have there? |
The Wine one was a false positive, sorry. |
Tomorrow I'll work on workarounds for both GDM and Plasma. Thanks for the reports and logs. EDIT: Monday, today was rushed! But also note that { mesa-git + Wayland + Vulkan } is broken for everybody: Monday EDIT1: I can reproduce Plasma X11 with a virgl-powered VM: |
@rkunschke and @SuperSamus, please let me know if the latest deploy fixes it for you. |
Plasma X11 is now completely fixed. EDIT: |
My bad, I pushed the fix, and tested the 4 possibilities now: SDDM + Plasma { X11, Wayland } and GDM + Gnome { X11, Wayland }. |
For me everything works fine now. |
Steam doesn't work with the default Steam's logs say nothing useful, but
plus a coredump. Tested on Plasma, both X11 and Wayland. Resetting Steam doesn't fix the issue. None of this happens with |
UPDATE: Current stuck due to: #403 (PRs are welcome) EDIT: But still updating almost daily. |
It seems to be extra broken for me now, both methods are not working. EDIT2: Ok, the problem this time was |
@PedroHLC could you please include this PR as a patch? https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26165 It's required for VAAPI in Chromium |
Sure, just push a PR adding two Lines 70 to 72 in 9b09f64
It's better to have two of them pointing to the commit's diff URL (like |
okie then, I'll handle this after work today |
The OpenGL option name has been changed from "hardware.opengl" to "hardware.graphics". |
It should be fixed when this action ends: https://github.com/chaotic-cx/nyx/actions/runs/9616571745 (thanks to #767) |
What happens?
I recently tried out gnome and gdm on my system. (I am on KDE wayland)
When I entered gdm there was only one session which was the X11 session with software rendering.
When I used sddm instead, I could enter the wayland session. Deactivating the mesa-git option resulted in both sessions appearing in gdm.
What is expected to happen?
The wayland session working out of gdm.
If possible, please attach logs
logs filtered by "gdm"
all logs since boot
More information
I am using a skylake notebook with the i915 driver in early kms. My desktop PC with AMDGPU is experiencing the same behavier.
The text was updated successfully, but these errors were encountered: