Skip to Content

Display problems

11 replies [Last post]
nolv
Offline
Joined: 04/17/2010

Hello,

I tried different versions of Hydrogen, with different distributions, and I ave always the same problem, The pattern and song regions are not visible (almost black). I get the following message in the console: "QColor::setRgb: RGB parameters out of range".

See the attached image for an explanatory screenshot.

Am I doing something wrong?

Is it a known problem?

My computer is a Dell D430 laptop, with an intel video card. I tried ubuntu 8.04, 9.04 and Mandriva 2009.1. The same happens even with the 0.9.3 version of hydrogen supplied in the ubuntu repositories.

Thanks for your help, I hope to be able to use hydrogen again soon.

gabriel
Offline
Joined: 04/17/2010

This can happen when Hydrogen can't find:

1. $HOME/.hydrogen/hydrogen.conf
2. $PREFIX/share/hydrogen/data/hydrogen.default.conf

Hydrogen will load nonsense colors. It will then SAVE these colors to $HOME/.hydrogen/hydrogen.conf... meaning that you can't get rid of the problem.

To fix it, delete $HOME/.hydrogen/hydrogen.conf. (If you think you have something valuable in their... then back it up first. Usually, the info in there is replaced very easily.)

If that doesn't work... check Hydrogen's output messages to find out where it is looking for hydrogen.default.conf. Make sure that it exists.

HTH...

ungleichklang
Offline
Joined: 04/17/2010

I just tested the newest 0.9.5 version and the problem is still there. Display crashes completelly even after removing the hydrogen.conf

nolv
Offline
Joined: 04/17/2010

It works, thanks!

jojo
Offline
Joined: 04/17/2010

Hello, I'm a big Hydrogen fan but I can't run it on my fedora 13 with ccrma.
Display is very buggy and eventualy freezes the PC.
Here's what I got when launching the app:

[i]
Hydrogen 0.9.4 [Apr 10 2010] [http://www.hydrogen-music.org]
Copyright 2002-2008 Alessandro Cominu

Hydrogen comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute itunder certain conditions. See the file COPYING for details

VST_PATH not set, defaulting to /home/jojo/vst:/usr/local/lib/vst:/usr/lib/vst
RemoteVSTClient: all cache files are up-to-date, not running scanner
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jackdmp 1.9.5
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2009 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
could not open component .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
JACK server starting in realtime mode with priority 60
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
Using ALSA driver ICH4 running on card 0 - Intel ICH7 with AD1981B at irq 23
configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback
Using port names patch v0.1 (07.04.2010)
Unknown destination port in attempted (dis)connection src_name [Hydrogen:out_L] dst_name [alsa_pcm:playback_1]
[/i]

I deleted $HOME/.hydrogen/hydrogen.conf and /usr/share/hydrogen/data/hydrogen.default.conf exists.
I also tried compiling from source but could not succeed..
Any hint?

wolke
wolke's picture
Offline
Joined: 03/30/2010

you start hydrogen with jack driver before a jack instance is running. in this case hydrogen try to start the jack driver on your system. but here something goes wrong.

please try to start the jack audio-server before you start hydrogen. e.g. with qjackctl. and if you get jack running without errors try to start hydrogen.

i think this will work.

if not, please report the error message here.
and you can try to start hydrogen with alsa driver.
"hydrogen -d alsa"

jojo
Offline
Joined: 04/17/2010

Hello Wolke and thanx for your help. Running Jack first avoided the error messages but I still have the display problem; ie computer freezes with hydrogen startup screen or hydrogen starts with messy graphics, in both cases there's no error messages in the terminal.
What I can say is that after every launch of hydrogen a new $HOME/.hydrogen/hydrogen.conf is created.
Also when display freezes I'm able to play hydrogen sound by clicking on the screen even though I don't see any graphics.

jojo
Offline
Joined: 04/17/2010

Hello I tried compiling H2 with scons too but I got this message:

/usr/bin/ld: libhydrogen.a(object.o): undefined reference to symbol 'pthread_create@@GLIBC_2.1'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.1' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
scons: *** [hydrogen] Error 1
scons: building terminated because of errors.

I don't know what to do..

Flash
Offline
Joined: 04/17/2010

You can add the pthread lib to the SConstruct file.

--- Sconstruct (revision 1924)
+++ Sconstruct (working copy)
@@ -262,6 +262,7 @@

if sys.platform != "win32":
env.Append( LIBS = ["sndfile"] )
+ env.Append( LIBS = ["pthread" ] )
else:
env.Append( LIBS = ["sndfile-1"] )
env.Append( LIBPATH = '3rdparty\libsndfile-1_0_17' )

hmss013
Offline
Joined: 04/17/2010

having the exact same video issue as jojo using Fedora 13 and Intel Video.

Hydrogen renders with garbled video that spreads to other windows and usually causes the system to freeze.

deleting hydrogen.conf does not fix this problem and no errors occur when running though terminal.

jojo
Offline
Joined: 04/17/2010

Thank you flash, install worked. Newly installed H2 doesn't freeze but I still have graphics bugs..

ungleichklang
Offline
Joined: 04/17/2010

Same problem with buggy video here, eaven with 0.9.5, but only on my 32bit system, on mu 64bit hydrogen works fine.
I also here a crappy sound eaven no sound is running, no matter if using Jack or alsa