Skip to content
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

Invalid dispatcher error when starting Hyprland on new install #2

Open
pwhite1989 opened this issue Jan 3, 2025 · 2 comments
Open

Comments

@pwhite1989
Copy link

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.

@hesam-init
Copy link
Collaborator

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

@pwhite1989
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants