hyprland-void-dots icon indicating copy to clipboard operation
hyprland-void-dots copied to clipboard

Invalid dispatcher error when starting Hyprland on new install

Open pwhite1989 opened this issue 1 year ago • 2 comments

Initial error: "Invalid Dispatcher"

Hi, I've just launched a completely fresh install of Void base, installed git, and cloned in your repo.

I ran the setup script, restarted, then ran the stow.sh -s script. I've done nothing else.

When I try and run Hyprland, the screen freezes with no ability to run Super+M and so i have to recover from tty2. The last message on screen from the process is something about an "Invalid Dispatcher" (sorry I don't have the log files available as I''m on a different machine).

Hyprland log file

Firstly, the normal locations for hyprland logs don't exist.

If I start Hyprland sending the logs to a log file, the first line of the file says "couldn't access control socket: /run/user/1000/keyring/control: No such file or directory"

The next error says: $HOME/.config/scripts/utils/watcher/main.sh: lline 29: exec: swayosd-server: not found

Then: nouveau: kernel rejected pushbuf: Invalid argument.

Then lots of errors from xkbcomp which it assures me are not fatal.

Then some broken pipe errors (os error 32)

Additional info

I am using an Nvidia 2070

Remediation steps

I installed the following nvidia packages: nvidia

I tried adding these variables to the hyprland.conf file:

env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = __GLX_VENDOR_LIBRARY_NAME,nvidia

None of these steps worked, but it doesn't even launch anymore, it just ends with Invalid Dispatcher error.

pwhite1989 avatar Jan 03 '25 13:01 pwhite1989

Well man cuz i didn't test this config on nvidia machines i think u need to install some aditional nvidia driver packages to fix driver issues:

https://wiki.hyprland.org/Nvidia/ just follow this instruction.

For rofi and swayosd issues run this command to install required packages :

sudo xbps-install -Sy rofi-wayland swayosd

I also have to mention i forgot to add these packages in setup script but i updated it and now setup script install these packages too.

So after all this works go to ~/.dots or wherever to pulled configs file and run :

sudo ./setup.sh -s and ./stow.sh -s

to make sure all packages and services installed correclty and also check these services are running :

ls -la /var/service/ for checking running services :

Required services list :

  • dbus
  • crond
  • seatd
  • elogind
  • polkitd
  • bluetoothd
  • NetworkManager

groups $USER for checking groups of ur current user :

Required groups list :

  • wheel
  • audio
  • video
  • network
  • input
  • bluetooth
  • rtkit
  • _pipewire
  • _seatd

hesam-init avatar Jan 04 '25 07:01 hesam-init

Thanks for the info. I think I figured it out - there was some config in the plugins.conf file that is specifically for laptops. Since I am on a desktop, I think this was causing the above issue.

I still can't get Hyprland to launch but at least by commenting out the plugins.conf entry, I don't get the "Invalid Dispatcher" issue anymore!

pwhite1989 avatar Jan 11 '25 12:01 pwhite1989