Page 1 of 1

X Error of failed request

Posted: Tue Jun 14, 2005 4:54 am
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< $

Re: X Error of failed request

Posted: Tue Jun 14, 2005 5:05 am
by Gradilla Dragon
How's your X configured? Maybe the color depth is the problem.

Re: X Error of failed request

Posted: Tue Jun 14, 2005 7:07 am
by drcode
Just wondering, but are you trying to run on an X-server attached to another machine?

Re: X Error of failed request

Posted: Tue Jun 14, 2005 8:12 am
by camje_lemon
Re,
I use 24depth and the XServer is on the local machine.
Thanks.

Re: X Error of failed request

Posted: Sun Jul 24, 2005 7:06 pm
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 ~]$

Re: X Error of failed request

Posted: Mon Jul 25, 2005 7:52 am
by drcode
Maybe we have a bug with 24-bit color. Is anyone running successfully with 24-bit X-windows?

Re: X Error of failed request

Posted: Mon Jul 25, 2005 3:46 pm
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?

Re: X Error of failed request

Posted: Mon Jul 25, 2005 10:58 pm
by wjp
Probably caused by the midi driver. Try switching to another one, such as timidity, fmopl or alsa.

Re: X Error of failed request

Posted: Tue Jul 26, 2005 1:16 am
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

Re: X Error of failed request

Posted: Tue Jul 26, 2005 8:04 am
by drcode
A bad MIDI driver caused an X failure? Wierd!

Re: X Error of failed request

Posted: Thu Jul 28, 2005 4:43 am
by Gradilla Dragon
Maybe the X error is caused because the proper cleanup during abortion is not being done...

Fatal: Not able to open ./cache/production/data_global.php