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

VLC doesn't load under Sway / pure Wayland #142863

Closed
ulysses4ever opened this issue Oct 25, 2021 · 4 comments
Closed

VLC doesn't load under Sway / pure Wayland #142863

ulysses4ever opened this issue Oct 25, 2021 · 4 comments
Labels
0.kind: bug Something is broken

Comments

@ulysses4ever
Copy link
Contributor

Describe the bug

When I try to open up VLC from command-line, it shows a number of errors and loads the CLI instead of graphical interface.

Steps To Reproduce

  1. Load Sway with XWayland disabled
  2. Open up a terminal
  3. Run vlc.

Expected behavior

VLC loads the GUI, as it is the case with XWayland enabled or with any other window manager on XOrg.

Additional context

Here are the errors I see.

❯ vlc
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
[0000000001c67290] main interface error: no suitable interface module
[0000000001b66610] main libvlc error: interface "globalhotkeys,none" initialization failed
[0000000001b66610] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[0000000001c67290] skins2 interface error: cannot initialize OSFactory
[0000000001bf5960] main playlist: playlist is empty
[0000000001c67290] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.16 Vetinari
Command Line Interface initialized. Type `help' for help.

Notify maintainers

Metadata

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.14.10, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.16`
 - channels(root): `"nixos-21.11pre324423.34ad3ffe08a"`
 - channels(artem): `"home-manager"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@ulysses4ever ulysses4ever added the 0.kind: bug Something is broken label Oct 25, 2021
@lucasew
Copy link
Contributor

lucasew commented Oct 25, 2021

This doesn't seems to be a skins bug

BTW do you use xwayland?

Idk neither if it's enabled by default nor if vlc supports Wayland, so xwayland make it possible to use X applications on Wayland.

@ulysses4ever
Copy link
Contributor Author

@lucasew I don't know if it's related to skins, I just tagged several recent committers to the VLC module as the the bug report template suggested. I'm sorry if it has nothing to do with your contributions.

I don't use XWayland, as it's noted in the original post. I think I used to be able to run VLC without it under Sway okay.

@lucasew
Copy link
Contributor

lucasew commented Oct 25, 2021

No problem

I was trying to isolate the problem, I am not sure if vlc has a good enough Wayland support so using xwayland should be the way.

The bruh moment is that I didn't seen the part where you said that you do not use xwayland, sorry about that xD

@ulysses4ever
Copy link
Contributor Author

Indeed, after googling it harder, it seems that native Wayland (i.e. not XWayland) is planned for VLC 4:

mpsq/arewewaylandyet#13 (and linked issues)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants