X Error of failed request

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
camje_lemon

X Error of failed request

Post by camje_lemon »

Hello;
when i execute Exul i get this error :
Thanks.

camje_lemon@pc3:~/fichiersrecus/exult$ \_o< $./exult
Exult version 1.4.01cvs
Built at: Jun 14 2005 15:46:31
Compile-time options: USE_TIMIDITY_MIDI, USE_FMOPL_MIDI, USE_ALSA_MIDI, USE_EXULTSTUDIO, HAVE_ZIP_SUPPORT
Compiler: gcc, version: 3.3.5

Platform: Linux version 2.6.11.7-camje
Exult path settings:
Data : data
Digital music : data/music

OGG Vorbis Digital Music: Disabled
Trying: `Timidity'
timidity.cfg: No such file or directory
Failed to initialize midi player (code: 1)
Failed!
Trying: `alsa'
ALSA lib seq_hw.c:455:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
ALSAMidiDriver: Can't open sequencer
Failed to initialize midi player (code: -1)
Failed!
Trying: `UnixSeqDevice'
UnixSeqDevice: opening device: /dev/sequencer
UnixSeqDevice: failed: No such file or directory
Failed to initialize midi player (code: -1)
Failed!
Trying: `Forked'
Success!
Midi Output: Enabled
Black Gate : found
exult_bg.flx : found
Serpent Isle : not found (./static/sispeech.spc)
exult_si.flx : found
Starting forked player failed
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 146 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Resource id in failed request: 0x2400011
Serial number of failed request: 24
Current serial number in output stream: 24
Relais brisé (pipe)
camje_lemon@pc3:~/fichiersrecus/exult$ \_o< $
Gradilla Dragon
Posts: 468
Joined: Thu May 14, 2020 1:34 pm

Re: X Error of failed request

Post by Gradilla Dragon »

How's your X configured? Maybe the color depth is the problem.
- Gradilla Dragon
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: X Error of failed request

Post by drcode »

Just wondering, but are you trying to run on an X-server attached to another machine?
camje_lemon

Re: X Error of failed request

Post by camje_lemon »

Re,
I use 24depth and the XServer is on the local machine.
Thanks.
Merc248

Re: X Error of failed request

Post by Merc248 »

Same error here with Exult 1.2 Stable. I'm using Arch Linux 0.7 Wombat, 2.6.12-ARCH kernel, X.Org 6.8.2, radeon open source video driver.

[merc248@ianscomp ~]$ /usr/local/bin/exult
Exult version 1.2
Built at: Jul 23 2005 07:55:46
Compile-time options: USE_EXULTSTUDIO, HAVE_ZIP_SUPPORT
Compiler: gcc, version: 3.4.3

Platform: Linux version 2.6.12-ARCH
Exult path settings:
Data : /usr/local/share/exult
Digital music : /usr/local/share/exult/music

Music player: Internal cheapass forked midi player
Black Gate : found
exult_bg.flx : found
Serpent Isle : found
exult_si.flx : found
Starting forked player failed
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 144 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Resource id in failed request: 0x2400011
Serial number of failed request: 16
Current serial number in output stream: 16
Broken pipe
[merc248@ianscomp ~]$
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: X Error of failed request

Post by drcode »

Maybe we have a bug with 24-bit color. Is anyone running successfully with 24-bit X-windows?
Merc248

Re: X Error of failed request

Post by Merc248 »

It ran just fine in 24-bit color in X-windows with the ATI binary drivers.

By the way, I'm using the MergedFB feature in the radeon kernel module for two monitors; could that be why?
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: X Error of failed request

Post by wjp »

Probably caused by the midi driver. Try switching to another one, such as timidity, fmopl or alsa.
Merc248

Re: X Error of failed request

Post by Merc248 »

Whoa... man, that fixed it. I disabled MIDI in the exult.cfg file, and it now works perfectly. Never would've guessed... thanks. :D
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: X Error of failed request

Post by drcode »

A bad MIDI driver caused an X failure? Wierd!
Gradilla Dragon
Posts: 468
Joined: Thu May 14, 2020 1:34 pm

Re: X Error of failed request

Post by Gradilla Dragon »

Maybe the X error is caused because the proper cleanup during abortion is not being done...
- Gradilla Dragon
Locked