Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user LoWLiFe ! (Registered 2020-09-17) You are not logged in 
CSDb User Forums

Forums > C64 Composing > SID Factory II
2020-06-05 15:41

Registered: Aug 2008
Posts: 182
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
... 143 posts hidden. Click here to view all posts....
2020-08-19 00:43

Registered: Dec 2001
Posts: 9532
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 :)
2020-08-19 16:37

Registered: Jan 2005
Posts: 576
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.
2020-08-19 17:17

Registered: Dec 2001
Posts: 9532
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 :)
2020-08-19 18:23

Registered: Jan 2005
Posts: 576
A filthy workaround would be to create a .desktop file:

[Desktop Entry]
Name=Sid Factory II
Comment=SID music editor

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?
2020-08-19 18:36

Registered: Jan 2005
Posts: 576
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.
2020-08-19 19:20

Registered: Oct 2004
Posts: 230
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
2020-08-19 19:27

Registered: Jan 2005
Posts: 576
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'?
2020-08-19 19:45

Registered: Oct 2004
Posts: 230
Quoting Compyx
That said, can you run x64sc from a file manager with it being a 'pie'?

No, not in Nautilus, not in Thunar.
And the only binaries that are *not* pie on both of my computers are the GNU compilers. Everything else in /usr/bin is pie.
2020-08-19 19:47

Registered: Jan 2005
Posts: 576
Ah, my current compiles of vice are done with clang-10/11. Let's see what the old gcc 9.3 does.
2020-08-19 21:48

Registered: Jan 2005
Posts: 576
Fuck, yep. GCC also produces pies.
Previous - 1 | ... | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Users Online
Guests online: 110
Top Demos
1 Uncensored  (9.7)
2 Coma Light 13  (9.7)
3 Edge of Disgrace  (9.6)
4 Comaland 100%  (9.6)
5 Unboxed  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.6)
8 Remains  (9.5)
9 C=Bit 18  (9.5)
10 D50  (9.5)
Top onefile Demos
1 Cuarentenauta  (9.5)
2 Listen to Your Eyes  (9.5)
3 Dawnfall V1.1  (9.5)
4 Rewind  (9.5)
5 Instinct  (9.5)
6 Daah, Those Acid Pil..  (9.5)
7 Crystal Gazer  (9.5)
8 Smile to the Sky  (9.5)
9 The Tuneful Eight [u..  (9.5)
10 Bad Boy  (9.5)
Top Groups
1 Fossil  (9.4)
2 PriorArt  (9.4)
3 Booze Design  (9.4)
4 Censor Design  (9.3)
5 Performers  (9.3)
Top Graphicians
1 Mirage  (9.7)
2 Archmage  (9.7)
3 Mikael  (9.7)
4 Razorback  (9.7)
5 Electric  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2020
Page generated in: 0.071 sec.