Page 1 of 1

SS13 on Linux; Recent issues & Troubleshooting

Posted: Fri Aug 28, 2020 11:54 pm
by springs eternal
Sup guys. Apologies if this is in the wrong area

I came back after a few months long hiatus. I use Linux, and everything works fine save for a few small quirks that didn't seem to occur before.

Basically, most of the dialog windows for vending machines/computers/control panels are broken. Some old styled ones such as the PDA still work, but most just end up like pic related. This doesn't seem to be happening on other servers (beestation, cev eris). TG is the main server I'm interested in playing on, and I've been racking my brain for a couple of days now reinstalling byond on lutris, playing with winetricks and fucking with different variables. I've totally hit a wall. Any input would be much appreciated!

Has anyone else encountered this before?

Thanks in advance.

Edit: Forgot to mention, fancy chat always fails to load and the "fix chat" button does not fix it.

Screenshot;
Spoiler:
Image

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sat Aug 29, 2020 2:48 am
by SpaceManiac
Everything works fine on a local server and everything breaks on /tg/'s live servers for me. I'm investigating whether this has anything to do with the CDN that was recently implemented.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sat Aug 29, 2020 3:34 am
by SpaceManiac
MrStonedOne made a configuration change to the CDN servers that resolved the problem for me. Give it another try.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sat Aug 29, 2020 5:21 pm
by springs eternal
SpaceManiac wrote:MrStonedOne made a configuration change to the CDN servers that resolved the problem for me. Give it another try.
SpaceManiac wrote:Everything works fine on a local server and everything breaks on /tg/'s live servers for me. I'm investigating whether this has anything to do with the CDN that was recently implemented.

Unfortunately, still not working as of this morning. Tried both on Basil and Manuel. If I find a fix for it, I'll post it here.

Are you on linux? What distro and what version of wine?

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sat Aug 29, 2020 7:15 pm
by SpaceManiac
springs eternal wrote: Are you on linux? What distro and what version of wine?
Ubuntu 18.04.5 LTS, Wine 3.0, winetricks wsh57 mfc42 vcrun2013 ie8 allfonts, winetricks settings fontsmooth=rgb, install of gecko

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sat Aug 29, 2020 8:00 pm
by MrStonedOne
springs eternal wrote:Sup guys. Apologies if this is in the wrong area

I came back after a few months long hiatus. I use Linux, and everything works fine save for a few small quirks that didn't seem to occur before.

Basically, most of the dialog windows for vending machines/computers/control panels are broken.
Recently we moved browser assets for in game windows (js/css/images) over to a web server (byond would normally send this to a folder hosted on a localhost server) to make in game interfaces load faster and reduce bandwidth by allowing these assets to be cached.

I'm hesitant to move the asset store to unencrypted connections over what seems to be 1 or 2 people having issues given how proliferate js http hijacking is at the internet backbone level.

The issues might be related to tls, I enabled 1.0 (the change space was talking about), but there may be a cert trust issue with your configuration.

I would start from there with your troubleshooting.

Here are some example urls to test:
Common.css: https://tgstation13.download/byond/asse ... 5de10d.css
chat output css: https://tgstation13.download/byond/asse ... f265bc.css
chat output js:
https://tgstation13.download/byond/asse ... 4f7b189.js
https://tgstation13.download/byond/asse ... b6efc5d.js

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sat Aug 29, 2020 8:16 pm
by springs eternal
Thanks guys, good info above.

I'll try some stuff out on my end and if I find a fix I'll post what worked for me.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sun Aug 30, 2020 5:04 am
by Ivuchnu
From my experience, both TGUI and tgchat are more or less broken on IE 8. Messed with somewhat old Windows 7 install recently. As bonus, if somehow they were not, paper would be broken.

Does latest byond version work in wine? Last time I tried to get it working it crashed.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sun Aug 30, 2020 6:31 pm
by SpaceManiac
Ivuchnu wrote:From my experience, both TGUI and tgchat are more or less broken on IE 8. Messed with somewhat old Windows 7 install recently. As bonus, if somehow they were not, paper would be broken.

Does latest byond version work in wine? Last time I tried to get it working it crashed.
Paper is broken, but everything else works for me. System config in a previous post, BYOND 513.1528

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Mon Nov 30, 2020 12:09 am
by Nibor62
SpaceManiac wrote:
Ivuchnu wrote:From my experience, both TGUI and tgchat are more or less broken on IE 8. Messed with somewhat old Windows 7 install recently. As bonus, if somehow they were not, paper would be broken.

Does latest byond version work in wine? Last time I tried to get it working it crashed.
Paper is broken, but everything else works for me. System config in a previous post, BYOND 513.1528
Hi there,

I do have the exact same issue. It did worked several months ago, but is broken ever since.
I have white windows everywhere, like the css does not load.

@SpaceManiac, how did you make it work ?

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Mon Nov 30, 2020 1:08 am
by SpaceManiac
Nibor62 wrote:It did worked several months ago, but is broken ever since.
I have white windows everywhere
Seeing the same thing on /tg/station13 servers, but it works fine locally, so presumably it's a CDN issue again, although I have no idea what exactly

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Mon Nov 30, 2020 12:01 pm
by Nibor62
Dug a little more yesterday.
It seem that https with wine ie is broken on my prefix. From what @MrStonedOne said I would guess that it may be the problem (I may miss something like crypt32 ?).
Do you have links (css & js) to check connectivity, those of @MrStonedOne seems to 404 ? If possible the ones that are needed for distributors.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Mon Nov 30, 2020 10:42 pm
by Nibor62
I did somehow made IE8 work with https and successfully reached the @MrStonedOne links that does not 404.
Though I still have the cssless windows

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Wed Dec 16, 2020 1:36 am
by springs eternal
Sorry about the relative necropost, but this is still an issue. I'll try and work it when I have free time, but if any other GNU/Linux aspies have input, it'd be much appreciated.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Thu Dec 17, 2020 4:31 pm
by Nibor62
Hi,

No much more than you I am affraid.
I would still like to have links of the different resources that are dowloaded in order to see if I can download them with wine IE

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sun Feb 07, 2021 10:46 pm
by Nibor62
Hi,

Can i make a little up there ?
I do think that this is linked to the http vs ie thing.
Could I have examples of the url that are dowloaded ?
Is there any way I could locally change https to http (in order to setup a proxy on my machine ?)

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Wed Feb 10, 2021 11:05 pm
by Nibor62
did some more tests
It seem that everything beyond tls1 is not supported by ie8 on wine.
Therefore, I tryed to setup a local https proxy in order to provide the client with a tls1 interface while my proxy would handle the higher tls with the server (alongside some caching).
It provided some result as in the main menu and character creation I had a better rendering.
However, I could not see any differences ingame (fancy chat still not loading properly and distributor still white)

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Tue Feb 16, 2021 1:09 pm
by BadSS13Player
Not relevant to running SS13 in wine, but VirtualBox has fixed their Direct3D driver and it works with BYOND now (albeit with some issues when resizing the viewport where you have to close and reopen DreamSeeker). You just have to install the newest guest additions, enable 3D acceleration in VM display settings (probably also increase the allocated video memory) and use a Windows guest newer than Win7 (because VirtualBox uses a different driver on there which seems to be a lot shittier).

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Fri Feb 19, 2021 1:11 pm
by Nibor62
Actually got bored of hacking and went for a win10 over KVM. It has really good perfs which is nice.
Btw, while I was playing with KVM I eventually tried with win7 VM and got the same problem I were having with wine. I would think that in the end it is not a wine issue but an ie8 one.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Fri Feb 19, 2021 9:19 pm
by BadSS13Player
Nibor62 wrote:Actually got bored of hacking and went for a win10 over KVM. It has really good perfs which is nice.
Btw, while I was playing with KVM I eventually tried with win7 VM and got the same problem I were having with wine. I would think that in the end it is not a wine issue but an ie8 one.
Is that KVM with qemu or KVM with VirtualBox? If it's with qemu, are you using any graphics drivers? BYOND used to have an issue with win7 without graphics drivers where overlays would be invisible and that made the game unplayable. Also, you can install IE11 on win7 sp1.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sat Feb 20, 2021 7:13 pm
by Nibor62
BadSS13Player wrote:
Nibor62 wrote:Actually got bored of hacking and went for a win10 over KVM. It has really good perfs which is nice.
Btw, while I was playing with KVM I eventually tried with win7 VM and got the same problem I were having with wine. I would think that in the end it is not a wine issue but an ie8 one.
Is that KVM with qemu or KVM with VirtualBox? If it's with qemu, are you using any graphics drivers? BYOND used to have an issue with win7 without graphics drivers where overlays would be invisible and that made the game unplayable. Also, you can install IE11 on win7 sp1.
I am using qemu/kvm with the virt-manager on arch.
I quickly went back to windows10 as I had some minor but annoying issues with win7 (the mouse was quick wierd/quircky due to the virtual touch pad not correctly handled).
Also there is a free win10 VM to try edge that run ss13 finely.

Has to tried ie11 on win7 sorry

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sat Apr 17, 2021 7:20 pm
by springs eternal
Nibor62 wrote: I am using qemu/kvm with the virt-manager on arch.
I quickly went back to windows10 as I had some minor but annoying issues with win7 (the mouse was quick wierd/quircky due to the virtual touch pad not correctly handled).
Also there is a free win10 VM to try edge that run ss13 finely.

Has to tried ie11 on win7 sorry

hey bro, i got byond working in qemu/kvm but it's unplayably low FPS and there is significant input lag when typing ingame. do you have a good guide on how to fix that? thanks brother.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sun Apr 18, 2021 10:52 am
by Nibor62
Hi,

Don't really know.
Had poor perf with virtualBox in the beginning, which is why I went to kvm/qemu
Tryed a win7 at first, but got a weird laggish mouse. The fix was to use a touchpad in the vm configuration, but was only available ion win10.
So I finally went for the official win10 edge trying VM. Migrated it from virtualbox to qemu/kvm. Then I used the default setting I got from libvirt And it worked fine out of the box.

I am using arch btw :3

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Mon Apr 19, 2021 2:09 am
by springs eternal
Nibor62 wrote:Hi,

Don't really know.
Had poor perf with virtualBox in the beginning, which is why I went to kvm/qemu
Tryed a win7 at first, but got a weird laggish mouse. The fix was to use a touchpad in the vm configuration, but was only available ion win10.
So I finally went for the official win10 edge trying VM. Migrated it from virtualbox to qemu/kvm. Then I used the default setting I got from libvirt And it worked fine out of the box.

I am using arch btw :3
ahh gotcha. i'm using libvirt with qemu/kvm and it's very laggy with win10, not really sure what i'm doing wrong. i'm just using a regular windows 10 ISO though for the VM, you mentioned an official win10 edge? is that a like a VM specific version of win10? i'm pretty new at this, thanks in advance.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Mon Apr 19, 2021 7:49 am
by Nibor62
https://developer.microsoft.com/en-us/m ... tools/vms/
Then I did converted the image from a virtualbox one to a qemu one.

Though there could be many ways your setup end up being laggy.
Including hardware one (ram or CPU capability to handle kvm things)

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sun Apr 25, 2021 5:47 pm
by springs eternal
Nibor62 wrote:https://developer.microsoft.com/en-us/m ... tools/vms/
Then I did converted the image from a virtualbox one to a qemu one.

Though there could be many ways your setup end up being laggy.
Including hardware one (ram or CPU capability to handle kvm things)
sorry to keep bugging, but i'm running into a wall doing this. would you mind posting your virt-manager settings when running a VM for ss13? what setup steps did you take?

thanks in advance.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sun Apr 25, 2021 5:58 pm
by Nibor62
Np
The issue is I don't remember exactly everything I did, but the big steps.
Which were download the virtualbox win10 edge trying image.
Migrating this image to qvm/qemu using command I cannot remember (I remember going from the virtualbox image to some kind or raw (and very large) image to the qemu one)
I may have had to tinker a bit with sound to get it working properly, but that all I did

Here is the qemu config, if it may help :
Spoiler:
<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
<name>windob10</name>
<uuid>50f6e6b4-5552-48d6-93c8-9a82bce572ec</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://microsoft.com/win/10"/>
</libosinfo:libosinfo>
</metadata>
<memory unit="KiB">4194304</memory>
<currentMemory unit="KiB">4194304</currentMemory>
<vcpu placement="static">4</vcpu>
<os>
<type arch="x86_64" machine="pc-q35-5.2">hvm</type>
<boot dev="hd"/>
</os>
<features>
<acpi/>
<apic/>
<hyperv>
<relaxed state="on"/>
<vapic state="on"/>
<spinlocks state="on" retries="8191"/>
</hyperv>
<vmport state="off"/>
</features>
<cpu mode="host-model" check="partial"/>
<clock offset="localtime">
<timer name="rtc" tickpolicy="catchup"/>
<timer name="pit" tickpolicy="delay"/>
<timer name="hpet" present="no"/>
<timer name="hypervclock" present="yes"/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled="no"/>
<suspend-to-disk enabled="no"/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2"/>
<source file="/home/user/kvm_storage/Windob10.qcow2"/>
<target dev="sda" bus="sata"/>
<serial>5QEORCHE</serial>
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
</disk>
<controller type="usb" index="0" model="qemu-xhci" ports="15">
<address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/>
</controller>
<controller type="sata" index="0">
<address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/>
</controller>
<controller type="pci" index="0" model="pcie-root"/>
<controller type="pci" index="1" model="pcie-root-port">
<model name="pcie-root-port"/>
<target chassis="1" port="0x10"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/>
</controller>
<controller type="pci" index="2" model="pcie-root-port">
<model name="pcie-root-port"/>
<target chassis="2" port="0x11"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/>
</controller>
<controller type="pci" index="3" model="pcie-root-port">
<model name="pcie-root-port"/>
<target chassis="3" port="0x12"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/>
</controller>
<controller type="pci" index="4" model="pcie-root-port">
<model name="pcie-root-port"/>
<target chassis="4" port="0x13"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/>
</controller>
<controller type="pci" index="5" model="pcie-root-port">
<model name="pcie-root-port"/>
<target chassis="5" port="0x14"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/>
</controller>
<controller type="pci" index="6" model="pcie-root-port">
<model name="pcie-root-port"/>
<target chassis="6" port="0x15"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/>
</controller>
<controller type="pci" index="7" model="pcie-to-pci-bridge">
<model name="pcie-pci-bridge"/>
<address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/>
</controller>
<controller type="virtio-serial" index="0">
<address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/>
</controller>
<interface type="network">
<mac address="52:54:00:49:a3:01"/>
<source network="default"/>
<model type="e1000e"/>
<address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/>
</interface>
<serial type="pty">
<target type="isa-serial" port="0">
<model name="isa-serial"/>
</target>
</serial>
<console type="pty">
<target type="serial" port="0"/>
</console>
<channel type="spicevmc">
<target type="virtio" name="com.redhat.spice.0"/>
<address type="virtio-serial" controller="0" bus="0" port="1"/>
</channel>
<input type="tablet" bus="usb">
<address type="usb" bus="0" port="1"/>
</input>
<input type="mouse" bus="ps2"/>
<input type="keyboard" bus="ps2"/>
<graphics type="spice" autoport="yes">
<listen type="address"/>
<image compression="off"/>
</graphics>
<sound model="ac97">
<address type="pci" domain="0x0000" bus="0x07" slot="0x01" function="0x0"/>
</sound>
<video>
<model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x0"/>
</video>
<redirdev bus="usb" type="spicevmc">
<address type="usb" bus="0" port="2"/>
</redirdev>
<redirdev bus="usb" type="spicevmc">
<address type="usb" bus="0" port="3"/>
</redirdev>
<memballoon model="virtio">
<address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/>
</memballoon>
</devices>
<qemu:commandline>
<qemu:arg value="-audiodev"/>
<qemu:arg value="driver=pa,id=sound0,server=/run/user/1000/pulse/native,out.frequency=48000"/>
</qemu:commandline>
</domain>

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Wed Aug 25, 2021 12:41 am
by springs eternal
Sorry for the massive necropost. Tried once again with a new wine config and it's looking like this is still an issue. It's mostly playable, but ingame menus/chat do not work. If any other linux aspies have had any luck getting TG to work on their setups, I'd love to hear how.

If I can find a workaround (other than VFIO or dual booting) I'll be sure to post it here.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Wed Aug 25, 2021 10:45 pm
by oranges
wine doesn't emulate anywhere near new enough IE versions, and we're tied by the engine to the windows IE renderer for html ui's

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Fri Aug 27, 2021 2:05 pm
by sinfulbliss
oranges wrote:wine doesn't emulate anywhere near new enough IE versions, and we're tied by the engine to the windows IE renderer for html ui's
yup this was the issue I had faced as well, i think it worked before the IE renderer was updated (maybe IE 8 it worked?)

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Mon Sep 06, 2021 3:33 am
by springs eternal
sinfulbliss wrote:
oranges wrote:wine doesn't emulate anywhere near new enough IE versions, and we're tied by the engine to the windows IE renderer for html ui's
yup this was the issue I had faced as well, i think it worked before the IE renderer was updated (maybe IE 8 it worked?)
if i recall correctly, even using ie8 via winetricks worked up until around july/august of 2020. unfortunately, ie11 doesn't work under wine last time i tried.

Re: SS13 on Linux; Recent issues & Troubleshooting

Posted: Sun Sep 12, 2021 11:01 am
by Nibor62
Hi there, sorry for the delay

So, from my experiences the issue comes from ie8 which does not render thing correctly anymore for tg (did reproduced with a windows VM and ie8).
With newer version of ie it works fine, but as wine does not support them we are kinda force to stay with the VM