linuxmint / hypnotix

An M3U IPTV Player
1.22k stars 166 forks source link

hypnotix crash on start linuxmint 21.1 #260

Open domenico999 opened 1 year ago

domenico999 commented 1 year ago

in linux mint 21.1

(hypnotix.py:6125): Gdk-ERROR **: 21:19:08.438: The program 'hypnotix.py' received an X Window System error. This probably reflects a bug in the program. The error was 'BadRequest (invalid request code or no such operation)'. (Details: serial 1539 error_code 1 request_code 0 (core protocol) minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)

Axel-Erfurt commented 1 year ago

Can you try

export GDK_SYNCHRONIZE=1 && hypnotix

pmisner commented 1 year ago

Here's what I got

~$ export GDK_SYNCHRONIZE=1 && hypnotix

~$ Free-TV: 846 channels, 42 groups, 0 series, 157 movies

Loading providers...

Free-TV: Getting playlist... Free-TV: Checking playlist... Free-TV: Loading channels... XTREAM Superduper Loading Channels ../../src/xcb_io.c:626: _XAllocID: Assertion `ret != inval_id' failed.

roy0581 commented 1 year ago

I also have same problem on my desktop Linux Mint 21.1 install. On my laptop Hypnotix works OK. Here is what I got when I also tried export GDK_SYNCHRONIZE=1 && hypnotix $ Loading providers... XTREAM Available IPTV Loading Channels

(hypnotix.py:10256): Gdk-ERROR **: 12:03:15.381: The program 'hypnotix.py' received an X Window System error. This probably reflects a bug in the program. The error was 'BadGC (invalid GC parameter)'. (Details: serial 1707 error_code 13 request_code 60 (core protocol) minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)

Can this be fixed please? Thanks Ps: can this be a graphics card glitch? as I have both my onboard Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller and my Nvidia GT218 [GeForce 210] showing in system info but no Nvidia driver needed as per Linux Mint 21.1. I do not know which Graphics Chip is being used.

macTh3Knif3 commented 1 year ago

Also have this issue

mike@mike-Latitude-7480:~$ export GDK_SYNCHRONIZE=1 && hypnotix mike@mike-Latitude-7480:~$ Loading providers... XTREAM ca Loading Channels

(hypnotix.py:232417): Gdk-ERROR **: 13:52:27.506: The program 'hypnotix.py' received an X Window System error. This probably reflects a bug in the program. The error was 'BadIDChoice (invalid resource ID chosen for this connection)'. (Details: serial 1654 error_code 14 request_code 55 (core protocol) minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)

welshmark commented 1 year ago

I am also getting a similar problem. my details System: Kernel: 5.15.0-60-generic x86_64 bits: 64 compiler: gcc v: 11.3.0 Desktop: MATE 1.26.0 info: mate-panel wm: marco 1.26.0 vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy

When i start using the suggestion above this is what I get

export GDK_SYNCHRONIZE=1 && hypnotix xxxxxxxx:~$ Free-TV: 980 channels, 46 groups, 0 series, 172 movies Loading providers... Free-TV: Getting playlist... Free-TV: Checking playlist... Free-TV: Loading channels... XTREAM Magic Loading Channels

(hypnotix.py:184810): Gdk-ERROR **: 12:58:19.592: The program 'hypnotix.py' received an X Window System error. This probably reflects a bug in the program. The error was 'BadPixmap (invalid Pixmap parameter)'. (Details: serial 1541 error_code 4 request_code 54 (core protocol) minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)

FlorianBartier commented 1 year ago

I can't open the application anymore either, it crashes directly.

(hypnotix.py:6189): Gdk-ERROR **: 19:25:04.791: The program 'hypnotix.py' received an X Window System error. This probably reflects a bug in the program. The error was 'BadIDChoice (invalid resource ID chosen for this connection)'. (Details: serial 1920 error_code 14 request_code 139 (RENDER) minor_code 27) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)

levimaen commented 1 year ago

please, help me what to do niso@niso-HP-ProDesk-600-G2-SFF:~$ Loading providers... XTREAM Niso Loading Channels

(hypnotix.py:19315): Gdk-ERROR **: 15:19:48.411: The program 'hypnotix.py' received an X Window System error. This probably reflects a bug in the program. The error was 'RenderBadPicture (invalid Picture parameter)'. (Details: serial 1660 error_code 143 request_code 139 (RENDER) minor_code 7) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)

Wibol commented 1 year ago

The problem is related to the use of Xtream Codes.

I have not been able to fix the problem once it occurred, not even by purging and reinstalling Hypnotix or clearing its cache. My provider's connection information is stored somewhere in the system that I can't find; neither by file name nor by content. If this information could be deleted, the error would possibly cease.

Reinstalling Mint and using M3U URL from the same provider everything works fine.

Wibol commented 1 year ago

In my case this problem occurs when entering a provider using Xtream Codes, and it seems to be caused by the lack of ":::::::::" at the end of the added data. With URL there is no problem at all.

The provider data is stored in: gsettings get org.x.hypnotix providers

For Hypnotix to start again without errors, it is necessary to reset this key to its default value: gsettings reset org.x.hypnotix providers

Then you can add providers again this time using URL instead of Xtream Codes.

welshmark commented 10 months ago

Thank you Wibol, that's very helpful. At lest i can now start Hypnotics.