The graphics sluggishness and click problem disappear if i change scaler to Hq2x or Hq3x.
So that was my fault also, but i didn't know that i needed to play with the settings since i never used anything that uses AGS before.
The crash was related to sound as you guessed, i got it working.
The problem was that i had no midi device since it's an internal sound card (codec).
"aplaymidi -l" does show midi support but there's no /dev/midi0X so i needed to add digiid.
No, it's not your fault at all! There, unfortunately, is no good and up-to-date documentation (other than the code itself) for AGS options. There is very old acsetup.cfg page on the AGS site somewhere, which I can't find at present, but I'm trying to get access to the sources for the setup utility that used to be distributed with older versions of AGS (2.7x series). Building a custom utility to produce "ini-style" configuration files is a pretty trivial task, but properly understanding the set of options, and which platforms they are for, is a little trickier. I'm hoping to explore the old code and work on that part of the problem.
Our idea for release is to improve the launcher script by having it look for a config file, and if one is not present, scan the system to come up with some reasonable defaults (between lsmod output, running processes, and device nodes in "/dev", decide how to configure the audio, etc), then generate a default config file. A config editor would then launch and present these choices, and ask if they're OK. If so, then it would proceed to the start the game.
Some very new code in the engine attempts to query the screen resolution (that part is working) and using some arithmetic, choose the largest scale factor that fits, automatically. It is looking like there are some bugs in that algorithm (as evidenced by themixturemedia's crash bug).
Thank you so much for digging in like that! I got a 64-bit Slackware 14 install set up in Virtualbox for testing, before bed last night, but my family is sick right now, so I wasn't really able to go any further. Seeing how far you got is pretty awesome!
I'm think more that between an automatic configuration generator and a little debugging in the scaling code, we'll have a very solid build. In fact, that's part of this demo process! I want to get it running so well and so solidly that the team can be really proud to release the game on Linux.
Please try the StdScaleX options instead of HqNx and see what difference it makes. Recently (and in the same changeset as automatic scale selection) the ceiling on scale was bumped up to StdScale8; specifically, for your 1366x768 resolution, I suggest setting your "gfxfilter" to "StdScale3" and testing it out.
I'll move on from the audio problem to reproducing your interlacing artifacts & performance issue with HqNx :-)
So now i can atleast enjoy the so far working demo with sound, and i will buy myself a copy of the game.
That's great! I hope you have as much fun as I did.