mywave82 / opencubicplayer

Open Cubic Player (unix fork). Music visualizer for various tracked music formats (amiga modules, S3M, IT), chiptunes and other formats related to demoscene
https://stian.cubic.org/project-ocp.php
GNU General Public License v2.0
292 stars 19 forks source link

X Error of failed request: BadMatch (invalid parameter attributes) #104

Closed ryandesign closed 1 year ago

ryandesign commented 1 year ago

In the process of adding ocp to MacPorts, I have compiled and run it (version 0.2.105) on macOS for the first time. I opened the X11 version and it displayed its window which included at the bottom the message:

press F1 for help, or ALT-C for basic setup

I pressed F1 and its help was displayed. It included the message:

If you want to quit help, please use one of the keys you activate it with, <H>, <?>, or <F1>.

I pressed F1 again and the program closed and I was left with this message in my terminal:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  73 (X_GetImage)
  Serial number of failed request:  6036
  Current serial number in output stream:  6036
ryandesign commented 1 year ago

The same thing happens if I just try to resize the original main window after the program opens.

mywave82 commented 1 year ago

X11 is to my knowledge untested on MacOS, since brew uses SDL2.

Looking at the error-message it appears to not using Shm, which will be slow. I will try to investigate this before the next release.

mywave82 commented 1 year ago

(Next release is hopefully not too far away. Need to finish the mingw and RetroWave OPL3 support)