michaelforney / swc

a library for making a simple Wayland compositor
MIT License
614 stars 52 forks source link

Doesn't even start, more info in Description #67

Closed PalanixYT closed 3 years ago

PalanixYT commented 3 years ago

So, when i run swc-run velox I get the following message: running on /dev/tty2 (WW) Option "-listen" for file descriptors is deprecatedary Please use "-listenfd" instead. (WW) Option "-listen" for file descriptors is deprecated Please use "-listenfd" instead. glamor: no eglstream capable devices found (EE) could not connect to wayland server

michaelforney commented 3 years ago

Those sound like Xwayland messages. I haven't used Xwayland in years, so you'll have to do some debugging yourself. The warning seem to indicate that we should be using a different option name for starting Xwayland now, but I don't see why that would prevent it from starting.

You can also try swc-launch velox 2>&1 | cat in case the tty is messing up the error message.

PalanixYT commented 3 years ago

ok i am so sorry i just noticed, that this is actually the wrong repo,

so sorry

PalanixYT commented 3 years ago

So it says `DEBUG :/dev/dri/card0 is the primary GPU

find_driver: Trying DRM driver 'intel'

Trying DRM driver 'nouveau' Trying DRM driver 'dumb' Couldn't find velox.conf` The rest is the same as before. Is swc not compatible with AMD cards?

michaelforney commented 3 years ago

Couldn't find velox.conf

This is the problem, you need to create ~/.velox.conf. There is a sample available in the repository called velox.conf.sample.

PalanixYT commented 3 years ago

The problem is, that there is still no output? I don't even know if there are windows in the background being opened, but i cant see anything. I can switch the tags, if that helps.

michaelforney commented 3 years ago

Which application are you trying to launch that is not showing up?

PalanixYT commented 3 years ago

Kitty or dmenu-wl_run, why?

michaelforney commented 3 years ago

You're going to have to give me more information than that. Do they print any messages to stderr? How about a wayland protocol log (WAYLAND_DEBUG=1).

PalanixYT commented 3 years ago

ok turns out, dmenu-wl is wlroots specific. Is there any other one you know of, that i can use with swc?

michaelforney commented 3 years ago

https://github.com/michaelforney/dmenu