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


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

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

Registered: Dec 2001
Posts: 11100
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
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.
2020-08-19 17:17
chatGPZ

Registered: Dec 2001
Posts: 11100
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
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?
2020-08-19 18:36
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.
2020-08-19 19:20
spider-j

Registered: Oct 2004
Posts: 443
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
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'?
2020-08-19 19:45
spider-j

Registered: Oct 2004
Posts: 443
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
Compyx

Registered: Jan 2005
Posts: 631
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
Compyx

Registered: Jan 2005
Posts: 631
Fuck, yep. GCC also produces pies.
Previous - 1 | ... | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 - 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
Advanced
Users Online
Scooby/G★P/Light
Nordischsound/Hokuto..
Mike
iAN CooG/HVSC
Earthshaker/Silicon ..
Guests online: 98
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Fullscreen Graphicians
1 Carrion  (9.8)
2 Joe  (9.8)
3 Duce  (9.8)
4 Mirage  (9.7)
5 Facet  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.046 sec.