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

hypnotix freezes up #103

Open
mandraid opened this issue Feb 3, 2021 · 11 comments
Open

hypnotix freezes up #103

mandraid opened this issue Feb 3, 2021 · 11 comments

Comments

@mandraid
Copy link

mandraid commented Feb 3, 2021

I am running Ubuntu 20.04.2. When I go to choose a station on hypnotix, the program seems to freeze up. I see at the bottom of the screen, it says "IPTV: Loading channels".

@Axel-Erfurt
Copy link

does this happen at every station?

@mandraid
Copy link
Author

mandraid commented Feb 3, 2021

yes

@LibertyDrew13
Copy link

It is also freezing for me. running kubuntu 20.04 all Python3 dependencies are installed. Also, attempted to load my own playlist to see if perhaps it was just the server of the one that came with it./ The playlist loaded great and all of the channels were listed, However, like the original, it freezes whenever I attempt to play/open a channel stream. So not the playlist. Is there a way to choose the video player? I feel like this could be the issue-but I have no idea. Thanks though to the people that made this. It looks great can't wait until I can get this up and running! Appreciate the efforts guys, like always...I will stop brown nosing now Im making myself sick.

@ghost
Copy link

ghost commented Aug 21, 2021

I downloaded and installed the 1.1 DEB from GitHub and installed in Ubuntu 20.04.

(Linux box 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux)

I noticed an error when navigating through to the player (for TV) and selecting a country (in my case, Canada).

The error appeared to have something to do with MPV and Wayland (I seem to recall something xid, and will post more detail if I can reproduce it).

Logging out, and using Ubuntu (no Wayland) results in things working fine, with stuttering on some channels (and the "not all channels work" caveat).

It seems a fresh Wayland session can produce the error condition, and subsequent runs fail silently.

It wasn't the error described here (https://stackoverflow.com/questions/45762522/get-gdk-window-from-xid-under-wayland), but does indicate I probably didn't hallucinate the xid part.

@ghost
Copy link

ghost commented Aug 21, 2021

Found the logs...

(and should probably add that I did a minimal Ubuntu install (recently) in this case)

Aug 20 20:26:39 box hypnotix.desktop[16505]: Traceback (most recent call last):
Aug 20 20:26:39 box hypnotix.desktop[16505]: File "/usr/lib/hypnotix/hypnotix.py", line 1018, in on_mpv_drawing_area_realize
Aug 20 20:26:39 box hypnotix.desktop[16505]: self.reinit_mpv()
Aug 20 20:26:39 box hypnotix.desktop[16505]: File "/usr/lib/hypnotix/hypnotix.py", line 1039, in reinit_mpv
Aug 20 20:26:39 box hypnotix.desktop[16505]: input_vo_keyboard=True,osc=True, ytdl=True, wid=str(self.mpv_drawing_area.get_window().get_xid()))
Aug 20 20:26:39 box hypnotix.desktop[16505]: AttributeError: 'GdkWaylandWindow' object has no attribute 'get_xid'

line 1018:

visible_widgets.append(self.path_label)

line 1039:

provider = self.marked_provider

Those line numbers don't make a ton of sense to me... buy the realize appears to show up at line 172...

self.mpv_drawing_area.connect("realize", self.on_mpv_drawing_area_realize)


pv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
built on UNKNOWN
ffmpeg library versions:
libavutil 56.31.100
libavcodec 58.54.100
libavformat 58.29.100
libswscale 5.5.100
libavfilter 7.57.100
libswresample 3.5.100
ffmpeg version: 4.2.4-1ubuntu0.1

@Axel-Erfurt
Copy link

AttributeError: 'GdkWaylandWindow' object has no attribute 'get_xid'

try in terminal

GDK_BACKEND=x11 hypnotix

@ghost
Copy link

ghost commented Aug 21, 2021

try in terminal

GDK_BACKEND=x11 hypnotix

That resolved the "nothing happens"/error scenario; however, MPV jumps out of the Hypnotix window, and is larger than the area it would have consumed.

See the screenshot attached.

hypnotix-wayland-x11

@Axel-Erfurt
Copy link

add

vo=x11

to mpv options in Settings.

@ghost
Copy link

ghost commented Aug 25, 2021

Well, that worked!

Took me a bit to find the Settings... didn't realize it only stuck around on the main Hypnotix window (tried editing ~/.config/mpv/mpv.conf to set vo=x11... that didn't work)...

Ubuntu_20 04-hypnotix-wayland-settings_options

Ubuntu_20 04-hypnotix-wayland-vo-x11

Ubuntu_20 04-hypnotix-wayland--fixed-view

@Axel-Erfurt
Copy link

Incidentally, this is also on the start page here.

https://github.com/linuxmint/hypnotix#wayland-compatibility

@ghost
Copy link

ghost commented Aug 25, 2021

Incidentally, this is also on the start page here.

https://github.com/linuxmint/hypnotix#wayland-compatibility

Gah!

You are so correct!

4 months old even...

Thank you for your patience and perseverance!

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

3 participants