advancedfx icon indicating copy to clipboard operation
advancedfx copied to clipboard

Linux support

Open In-line opened this issue 7 years ago • 9 comments

In-line avatar Jun 30 '17 13:06 In-line

https://github.com/ripieces/advancedfx-prop/issues/13

dtugend avatar Jun 30 '17 20:06 dtugend

Perhaps hl-capture would do? It lacks advanced functionality but it can capture videos very well.

YaLTeR avatar Jul 01 '17 11:07 YaLTeR

I need HLAE for hitboxes visualization, but I already started to implement it in https://github.com/dreamstalker/rehlds .

In-line avatar Jul 01 '17 11:07 In-line

The code related to that should be under MIT by now, feel free to use it as you see fit. I am already busy with supporting Windows and supporting Linux would put about twice the workload in case of update breakage on me, so I have to reject that at least as of now.

dtugend avatar Jul 01 '17 13:07 dtugend

It's a hard decision for me and I took quite some time to decide it.

I decided

  • to not support Linux for HLAE 3 for now
  • to try to make several code parts easily portable for later instead.
  • try to make sure it will still run in Wine as good as possible

Sorry, I simply don't see I can pull it off properly alone in the time I can dedicate.

dtugend avatar Sep 02 '21 17:09 dtugend

Any updates? We render CS:GO clips in Docker/Kubernetes environment and I want to use HLAE there.

maxpain avatar Dec 13 '22 15:12 maxpain

You can run Steam + CS:GO + HLAE in Wine on Linux (if you install the required .NET with winetricks), but there's no native Linux port yet. It's not decided yet if HLAE 3 will be Linux first, Windows first or Windows only or maybe even Linux onlym HLAE 3 development is currently stuck. HLAE 2 will not support Linux natively. Sorry.

dtugend avatar Dec 13 '22 16:12 dtugend

@dtugend I managed to run CS:GO with HLAE in Wine in a container environment, but I have a problem with FFmpeg. As I understand correctly, HLAE spawns ffmpeg as a child process and passes the image stream to it. The problem is that ffmpeg also runs under Wine, which is a performance drawback. Is there a way to work around this?

maxpain avatar Jul 22 '23 23:07 maxpain

There is a WONTFIX Wine "bug" related to that: https://bugs.winehq.org/show_bug.cgi?id=18335 - so might be complicated to run a Linux command line FFMPEG from wine from HLAE successfully.

There's a repo that claims to fix this, but I don't know if it works and have doubts it actually fixes it: https://github.com/ruv/wine-runio

However unless you wanted to use Hardware accelerated encoding in FFMPEG (which is limited to certain number of streams), there shouldn't be a relevant performance drawback to running FFMPEG on Wine - the bottle neck would probably be the piping via stdin / stdout in either way I guess.

dtugend avatar Jul 23 '23 05:07 dtugend

Hi. Thank you for your suggestion. The implementation of this feature in a reasonable time-frame is currently not realistic for me. After considering that together with issue #896 I am closing this request as not planned for now, since it would block other things I would like to still get done before that. Sorry for the copy pasta.

dtugend avatar May 19 '24 04:05 dtugend