X Window System error #688

Closed
opened 2023-06-17 00:35:06 +00:00 by kittenlikeasmallcat · 6 comments

After installing the new beta using install.sh, as well as install-sys.sh and install-home.sh, I open cwtch and nothing happens, so I run cwtch from the command line and get:

(cwtch:6308): Gdk-WARNING **: 17:12:40.670: The program 'cwtch' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadFBConfig'.
  (Details: serial 290 error_code 170 request_code 153 (GLX) 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.)

A frame where the program would open appears, then immediately disappears.

I'm on linux using herbstluftwm. Please let me know if there's more information I can give. Thank you!

After installing the new beta using install.sh, as well as install-sys.sh and install-home.sh, I open cwtch and nothing happens, so I run cwtch from the command line and get: ``` (cwtch:6308): Gdk-WARNING **: 17:12:40.670: The program 'cwtch' received an X Window System error. This probably reflects a bug in the program. The error was 'GLXBadFBConfig'. (Details: serial 290 error_code 170 request_code 153 (GLX) 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.) ``` A frame where the program would open appears, then immediately disappears. I'm on linux using herbstluftwm. Please let me know if there's more information I can give. Thank you!
sarah added the
bug
label 2023-06-17 02:36:49 +00:00
Owner

Hi,

I suspect this is likely related to our movement to Flutter 3.10, which brought in some significant changes to the linux init which caused problems on other linux based operating systems.

One thing to try: from the extracted tar, try moving the cwtch binary out of the lib directory, and into the parent. And run it directly from there (with the necessary LD_LIBRARY_PATH set)

(See the following patch: https://git.openprivacy.ca/cwtch.im/cwtch-ui/pulls/683/files)

Any additional information you can provide about your setup will be useful e.g. kernel version, any distro?

Information for Flutter support for linux distributions that are not debian-based is spotty at best, but if we can get a rough idea of an environment we can try and reproduce the issue.

Hi, I suspect this is likely related to our movement to Flutter 3.10, which brought in some significant changes to the linux init which caused problems on other linux based operating systems. One thing to try: from the extracted tar, try moving the `cwtch` binary out of the `lib` directory, and into the parent. And run it directly from there (with the necessary `LD_LIBRARY_PATH` set) (See the following patch: https://git.openprivacy.ca/cwtch.im/cwtch-ui/pulls/683/files) Any additional information you can provide about your setup will be useful e.g. kernel version, any distro? Information for Flutter support for linux distributions that are not debian-based is spotty at best, but if we can get a rough idea of an environment we can try and reproduce the issue.

I'm on Void Linux, and the kernel version is 6.1.31_1.

I changed:

exec env LD_LIBRARY_PATH=PREFIX/lib/cwtch/:PREFIX/lib/cwtch/Tor PREFIX/lib/cwtch/cwtch

to:

exec env LD_LIBRARY_PATH=PREFIX/cwtch/:PREFIX/cwtch/Tor PREFIX/cwtch/cwtch

in cwtch.template.sh after replacing the binary in the parent folder with the one in lib and still got the same results including the same error:

(cwtch:498): Gdk-WARNING **: 21:33:11.534: The program 'cwtch' received an X Window System error.
The error was 'GLXBadFBConfig'.
  (Details: serial 290 error_code 170 request_code 153 (GLX) minor_code 0)
...
I'm on Void Linux, and the kernel version is 6.1.31_1. I changed: ``` exec env LD_LIBRARY_PATH=PREFIX/lib/cwtch/:PREFIX/lib/cwtch/Tor PREFIX/lib/cwtch/cwtch ``` to: ``` exec env LD_LIBRARY_PATH=PREFIX/cwtch/:PREFIX/cwtch/Tor PREFIX/cwtch/cwtch ``` in `cwtch.template.sh` after replacing the binary in the parent folder with the one in `lib` and still got the same results including the same error: ``` (cwtch:498): Gdk-WARNING **: 21:33:11.534: The program 'cwtch' received an X Window System error. The error was 'GLXBadFBConfig'. (Details: serial 290 error_code 170 request_code 153 (GLX) minor_code 0) ... ```
sarah added this to the Stable Blockers project 2023-08-14 17:17:09 +00:00
sarah modified the project from Stable Blockers to Post-Stable 2023-09-25 20:01:41 +00:00
Owner

Currently we are unable to replicate this, my suspicion is it is some weird interaction between Flutter and the window manager.

We recently upgraded from Flutter 3.10 to Flutter 3.14 (see any recent nightly). I would recommend retrying one of those builds.

Currently we are unable to replicate this, my suspicion is it is some weird interaction between Flutter and the window manager. We recently upgraded from Flutter 3.10 to Flutter 3.14 (see any recent nightly). I would recommend retrying one of those builds.

Quickly attempted opening cwtch 1.13.1 with a default hlwm autostart file. Looking at the release notes, it seems that this release of cwtch still uses flutter 3.13, like 1.13.0 . I got the same issue so if it was indeed a problem with hlwm, it's at least not one I've introduced (I think?).

I'm looking for a nightly more recent than 1.13.1, one that uses flutter 3.14 but I'm not finding one, could I trouble you to link it? Also would it be preferable for me to take this line of inquiry to fuzzbot testgroup-invite? Everything is working great on lineageos.

Also Thank You! <3

Quickly attempted opening cwtch 1.13.1 with a default hlwm autostart file. Looking at the release notes, it seems that this release of cwtch still uses flutter 3.13, like 1.13.0 . I got the same issue so if it was indeed a problem with hlwm, it's at least not one I've introduced (I think?). I'm looking for a nightly more recent than 1.13.1, one that uses flutter 3.14 but I'm not finding one, could I trouble you to link it? Also would it be preferable for me to take this line of inquiry to fuzzbot testgroup-invite? Everything is working great on lineageos. Also Thank You! <3

Happy to report that cwtch 1.13.1 launches on my desktop now, no idea what changed - tested on a lark.

Still unable to call up any file picker, I'll open a separate issue for that.

Just needed to install zenity.

Happy to report that cwtch 1.13.1 launches on my desktop now, no idea what changed - tested on a lark. ~~Still unable to call up any file picker, I'll open a separate issue for that.~~ Just needed to install zenity.
Owner

Excellent! So happy to hear that.

(Sorry I missed your last comment, I've been taking some leave: I did mean 3.13 not 3.14)

Excellent! So happy to hear that. (Sorry I missed your last comment, I've been taking some leave: I did mean 3.13 not 3.14)
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cwtch.im/cwtch-ui#688
No description provided.