Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reversed display ! #972

Open
Tamzejian opened this issue Nov 9, 2020 · 12 comments
Open

Reversed display ! #972

Tamzejian opened this issue Nov 9, 2020 · 12 comments

Comments

@Tamzejian
Copy link

Tamzejian commented Nov 9, 2020

Hydrogen version * : 1.0.0.rc1
Operating system + version : ubuntu 20.04
Audio driver + version : Jack 0.5.0


Display is reversed (from right to left!)
Number of beats do not display correctly in pattern window.

@trebmuh
Copy link
Member

trebmuh commented Nov 9, 2020

@Tamzejian can you provide us with a screenshot?

@Tamzejian
Copy link
Author

@trebmuh
Hello and thank you for the response.
Here is the screenshot.
Capture d’écran du 2020-11-09 21-00-58

@trebmuh
Copy link
Member

trebmuh commented Nov 9, 2020

First time I'm seeing that?!?!?!
Even stranger since it looks you're using a French locale (I was tempted to ask you if you were using a right to left language, but French isn't one of those).
I have no idea what it is.

Have you asked to your direct upstream (ie ubuntu)?

@Tamzejian
Copy link
Author

In fact, no. I don't know how to contact them. I've got no idea what is causing this either, just an end user myself.
I saw some packages using right to left scriptures in the latest ubuntu 20.04, but usually this does not (and should not) interfere with display orientation.
How is it possible to contact the direct upstream ?

@trebmuh
Copy link
Member

trebmuh commented Nov 9, 2020

@cme
Copy link
Contributor

cme commented Nov 9, 2020

...huh

@cme
Copy link
Contributor

cme commented Nov 9, 2020

Qt has a LayoutDirection setting, i didn't think it would be altered by the environment. Do you see similar behaviour from any other Qt apps?

@Tamzejian
Copy link
Author

Tamzejian commented Nov 9, 2020

@cme No, csoundqt, qsynth, qjack don't have this problem.
@trebmuh I reported this on the link you provided.
Cheers.

@trebmuh
Copy link
Member

trebmuh commented Nov 9, 2020

link to the Ubuntu bug

@Tamzejian
Copy link
Author

Tamzejian commented Nov 29, 2020

I tried to compile hydrogen from source.

Unzipped the downloaded source code on "https://github.com/hydrogen-music/hydrogen" and executed instructions in "INSTALL.md" file.

I had a lot of issues :
Minor ones :
1 - There is no lib-lash-compat-dev package on the repository, in INSTALL.md. It is not mentioned if it is optional package or not.
2 - Tried to install QT 5 SDK, but had to download and install QT Creator according to : "https://www.wikihow.com/Install-Qt-SDK-on-Ubuntu-Linux#Qt-SDK-5.0-Installation-Instructions". Is it only for compilation purposes ?
3 - The command "./build.sh d" fails to generate documentation.

Hydrogen seems to install correctly. However, it doesn't execute at all. This is an expected error, but :

  • Don't know where to find CMAKE_INSTALL_PREFIX/bin ? Is it a directory ? File ? Script ?
  • "If this path is not in your PATH environment variable, consider adding it to it". How to ? How do we know if it is in the PATH environment variable ?
  • in terminal Hydrogen doesn't start, and gives message :
    … error while loading shared libraries: libhydrogen-core-1.1.0.so …. It's because hydrogen's shared library is not found.

Ok, so now :

  • You can verify this with the below command :
    ldd CMAKE_INSTALL_PREFIX/bin/hydrogen | grep 'not found'.
    Don't work, the command gives nothing but :
    ldd : CMAKE_INSTALL_PREFIX/bin/hydrogen: no file or directory of this typel
  • To fix it, you can use LD_PRELOAD or LD_LIBRARY_PATH environment variables, (How to ?)
  • Or, configure ldconfig (see man ldconfig, man ld.so) (How to ?).

This issue is discussed here :
issue#677
I tried : "sudo ln -s /usr/local/lib/libhydrogen-core-1.0.0.so /usr/lib/libhydrogen-core-1.0.0.so". Did not work either.

I don't think it is difficult to get around this problem for someone who is a programmer (I am not).

Thank you.

@Tamzejian
Copy link
Author

Hello again.
I searched around, namely here : https://unix.stackexchange.com/questions/168340/where-is-ld-library-path-how-do-i-set-the-ld-library-path-env-variable

The library path is /usr/lib/libhydrogen-core-1.0.0.so and export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib did the job.

Hope it keeps working, seems 'export' command had only temporary effect. I don't know where Ubuntu keeps a file containing "LD_LIBRARY_PATH" to write it in a permanent way.

@theGreatWhiteShark
Copy link
Contributor

Hey @Tamzejian,

Thanks for the feedback!

1 - There is no lib-lash-compat-dev package on the repository, in INSTALL.md. It is not mentioned if it is optional package or not.

I have addressed this one in another issue #1007

2 - Tried to install QT 5 SDK, but had to download and install QT Creator according to : "https://www.wikihow.com/Install-Qt-SDK-on-Ubuntu-Linux#Qt-SDK-5.0-Installation-Instructions". Is it only for compilation purposes ?

The packages listed in the apt install command are sufficient to build Hydrogen. No manual Qt compilation required.

3 - The command "./build.sh d" fails to generate documentation.

Could you provide the error message you see?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants