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

NixOS / Wayland (Hyprland) No display? #169

Open
DOSputin opened this issue Oct 16, 2024 · 3 comments
Open

NixOS / Wayland (Hyprland) No display? #169

DOSputin opened this issue Oct 16, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@DOSputin
Copy link

DOSputin commented Oct 16, 2024

Running on Nixos from flake,

Run m8c, with no apparent errors, however, never get a display up.

Last two lines on the console read;

INFO: Reset display
INFO: ** Hardware info ** Device type: Headless, Firmware ver 4.0.0

CTRL+C quits, and read:

^CINFO: Shutting down
INFO: Closing audio devices
INFO: Disconnecting M8

tweaking settings in the config.ini has no avail... just nada.

My shell sessions are via Alacritty btw.

Any ideas?

@laamaa
Copy link
Owner

laamaa commented Oct 24, 2024

Maybe try launching with SDL_VIDEODRIVER=wayland ./m8c to make SDL use Wayland?

@DOSputin
Copy link
Author

Maybe try launching with SDL_VIDEODRIVER=wayland ./m8c to make SDL use Wayland?

hmmm... thanks for the reply!

but;

echo $SDL_VIDEODRIVER 
wayland

is the pre-existing system default env setting guess i should have included that in the issue OP.
still haven't figured out wtf with wayland under NixOS.
m8c works totally fine on Debian / Wayland / Hyprland with basically same overall setup, so must be something with my NixOS config that i haven't figured out yet.

@laamaa
Copy link
Owner

laamaa commented Oct 29, 2024

Weird.. I haven't used NixOS myself so unfortunately don't have much other ideas :< I'll leave the issue open though if someone else wants to chime in

@laamaa laamaa added the help wanted Extra attention is needed label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants