Open Pickles888 opened 7 months ago
What do you mean by 'slow' and what's the measure? This line looks a bit suspicious, is this correct resolution and refresh rate?
monitor = "DP-1,1920x1080@240,0x0,1";
on M2 Pro I have this:
❯ hyprctl monitors
Monitor eDP-1 (ID 0):
2560x1600@60.00000 at 0x0
One idea is to check if you can find anything suspicios in drm debug log. Another idea is dual booting and comparing glxinfo or drm logs :thinking:
Had the same issue when trying out Hyprland on an M2 Air, it's super fast on X11. For me it was "slow" in basic things like window animations or scrolling inside a web browser.
I see my device has the same gpu and I don't experience any slowness. Random idea, but maybe it's this notch?
kernelParams = [ "apple_dcp.show_notch=1" ];
hyprctl monitors
Monitor eDP-1 (ID 0):
2560x1664@60.00000 at 0x0
unsetting the notch thing did not work
I also unset the monitor and it did not help.
I did drm debug logging: gist because otherwise it was too long
I think that amount of DRM_IOCTL_SYNCOBJ_WAIT
in your logs may be related to the 'slowness' feeling, but I have no idea what could cause it, not even if they are unexpected
using hyprland fine on m2 air with theses settings:
configuration.nix
hardware.asahi = {
withRust = true;
useExperimentalGPUDriver = true;
experimentalGPUInstallMode = "replace";
setupAsahiSound = true;
};
and hyprland.conf
monitor=,highres,auto,2
exec-once=xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2
I have not tried going on X11 yet but on wayland my GPU seems to be very slow. I am currently using hyprland but I had the same issue on GNOME. I am not sure if it is a problem with it using the integrated GPU or with GPU acceleration not working. I know its not a hardware issue because previously on asahi with Arch Linux it ran very smoothly. (sorry if my terminology is incorrect)
EDIT: Something else that might be relevant is that my battery drains very fast. (could be caused by the use of integrated graphics?)
I have tried:
github:tpwrules/nixos-apple-silicon";
in my flake and updatingenvironment.sessionVariables.WLR_DRM_DEVICES = "/dev/dri/card0";
(made hyprland work)output of of
nix-shell -p glxinfo --run glxinfo | grep 'OpenGL renderer string'
:my configuration.nix (I am using flakes, the firmware directory is not set because I set it in the module :P | EDIT: I put the module back to default and now use the normal way to put it in the flake):
My hyprland config (home-manager):
My flake: