| |
JCH
Registered: Aug 2008 Posts: 200 |
SID Factory II
Laxity and I have decided to go BETA with SID Factory II to let all curious SID composers also have a go at this cross-platform SID editor.
We have a Facebook group that you are welcome to join. There's also a nifty user manual there. If you're not on Facebook, this thread should serve as another place where we can share questions, ideas, music, bugs, new builds, additional files, etc.
Please note that although SID Factory II is quite stable and more than capable of editing SID tunes at this point, it is still missing a few essential things such as e.g. sub tunes. We have a solid ToDo and will post new builds here as they become available.
The first official BETA build: SIDFactoryII_20200604.zip |
|
... 145 posts hidden. Click here to view all posts.... |
| |
Isildur
Registered: Sep 2006 Posts: 275 |
Thanks Groepaz, Linux binaries working great.
Also compilation running without any issues with default flags.
As a newborn Linux user I have only one issue, can't set it to executable. I mean all permissions and "Allow this file to run as a program" are set, but binary won't run this way, always asking to choose program to run with and opens with Python by default ;).
From Terminal "./sf2" working perfect. Tested on Linux Lite (Ubuntu fork). Thanks again! |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
when running from terminal works, then the executable flag is set correctly... perhaps the filemanager you are using is simply designed to not start executables on clicking them? |
| |
Isildur
Registered: Sep 2006 Posts: 275 |
Nope, every other program is working fine, like Vice or C64debugger etc. (Thunar is default FM in Linux Lite).
Not a big deal since it starts from the terminal. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
this is weird, in that case it should work. perhaps the ownership and flags must be different than they come out after compiling? try ls -al on the sf2 binary, and then on some binary that is working - compare the flags and owner. i dont know that filemanager, so cant help much further :) |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
On my Debian box with the Caja file manager (Nautilus 'clone'), the file manager seems to think sf2 is a shared library.
Permissions are the same as for example x64sc:
ls -la sf2
-rwxr-xr-x 1 compyx compyx 27679040 Aug 14 14:02 sf2
ls -la x64sc
-rwxr-xr-x 1 compyx compyx 14123256 Aug 18 16:06 x64sc
However, SF2 is a PIE executable, x64sc is not:
file sf2
sf2: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=5b6b88f773ad56120d738b4f181dc68661687d3f, stripped
file ~/vice-trunk/gtk3-build/src/x64sc
/home/compyx/vice-trunk/gtk3-build/src/x64sc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=be2a63f76964e05d01919c1f1b928f408f78460c, with debug_info, not stripped
So it seems file managers get confused when given a pie executable. I tried adding -fno-pic to the FLAGS in Makefile, but that make the linker fail.
So, a nice little tidbit to figure out :)
BTW: Thunar is a file manager that's either part of Xfce4 or usually packaged with it. It's a nice tool. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
Haha, here (KDE/Konqueror) it says sf2 is an executable program, and will not be started because of security reasons =D
Would have never noticed, i always run those things from cmdline anyway :) |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
A filthy workaround would be to create a .desktop file:
[Desktop Entry]
Type=Application
Version=2.0
Name=Sid Factory II
Comment=SID music editor
Path=/home/compyx/temp/SIDFactoryII_Source_20200718_Makefiles
Exec=/home/compyx/temp/SIDFactoryII_Source_20200718_Makefiles/sf2
Terminal=false
Categories=Audio;AudioVideo
Write that as ~/.local/applications/SIDFactoryII.desktop
Obviously alter the Path and Exec parameters, and perhaps add Icon=<some-icon-file>
This should present "Sid Factory II" in the 'Sound & Video' submenu of an XDG compliant desktop's menu. (You may have to log out and back in).
Ofcourse this is a filthy hack and doesn't solve the problem. The problem is why the code needs -fPIC in the first place? |
| |
Compyx
Registered: Jan 2005 Posts: 631 |
That hack also works for Gnome Hell, SID Factory II shows up in the garbage display that is Gnome Hell's "overview" of applications. Also works on Gnome Classic. |
| |
spider-j
Registered: Oct 2004 Posts: 498 |
As someone living quite happily in "Gnome Hell" I wouldn't consider .desktop files a "hack", but the "way to go" anyway ;-)
Btw.: when I switch to XFCE Thunar won't open binary files here too.
And what groepaz said :-)
And last but not least here VICE is also pie:
[spider@havarie bin]$ file x64sc
x64sc: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=a965e4d950f6e083819728e464d09cba0575b793, with debug_info, not stripped
|
| |
Compyx
Registered: Jan 2005 Posts: 631 |
Well, .desktop files aren't a hack ofcourse, but using them when a file manager refuses to open a binary is, a bit, it hides the problem.
And I would also have never noticed sf2 not running from a file manager, I run most stuff from a terminal as well.
That said, can you run x64sc from a file manager with it being a 'pie'? |
Previous - 1 | ... | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 - Next |