SS13 on Linux; Recent issues & Troubleshooting

General SS13 Chat
Post Reply
User avatar
springs eternal
Joined: Tue Jun 02, 2020 10:14 pm
Byond Username: Wicca Phase Springs Eternal

SS13 on Linux; Recent issues & Troubleshooting

Post by springs eternal » #574235

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
Last edited by springs eternal on Sat Aug 29, 2020 5:22 pm, edited 1 time in total.
SpaceManiac
Joined: Fri Sep 22, 2017 4:06 am
Byond Username: SpaceManiac
Github Username: SpaceManiac

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by SpaceManiac » #574249

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.
SpaceManiac
Joined: Fri Sep 22, 2017 4:06 am
Byond Username: SpaceManiac
Github Username: SpaceManiac

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by SpaceManiac » #574251

MrStonedOne made a configuration change to the CDN servers that resolved the problem for me. Give it another try.
User avatar
springs eternal
Joined: Tue Jun 02, 2020 10:14 pm
Byond Username: Wicca Phase Springs Eternal

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by springs eternal » #574281

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?
SpaceManiac
Joined: Fri Sep 22, 2017 4:06 am
Byond Username: SpaceManiac
Github Username: SpaceManiac

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by SpaceManiac » #574287

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
User avatar
MrStonedOne
Host
Joined: Mon Apr 14, 2014 10:56 pm
Byond Username: MrStonedOne
Github Username: MrStonedOne

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by MrStonedOne » #574290

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
Forum/Wiki Administrator, Server host, Database King, Master Coder
MrStonedOne on digg(banned), Steam, IRC, Skype Discord. (!vAKvpFcksg)
Image
User avatar
springs eternal
Joined: Tue Jun 02, 2020 10:14 pm
Byond Username: Wicca Phase Springs Eternal

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by springs eternal » #574292

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.
Ivuchnu
Joined: Fri Apr 17, 2020 10:07 am
Byond Username: Ivuchnu

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Ivuchnu » #574317

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.
Heal w. water/starlight/rads +self-resp
Not happy with game, not happy with code.
SpaceManiac
Joined: Fri Sep 22, 2017 4:06 am
Byond Username: SpaceManiac
Github Username: SpaceManiac

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by SpaceManiac » #574372

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
Nibor62
Joined: Thu Aug 20, 2020 8:42 pm
Byond Username: Nibor62

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Nibor62 » #582358

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 ?
SpaceManiac
Joined: Fri Sep 22, 2017 4:06 am
Byond Username: SpaceManiac
Github Username: SpaceManiac

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by SpaceManiac » #582360

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
Nibor62
Joined: Thu Aug 20, 2020 8:42 pm
Byond Username: Nibor62

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Nibor62 » #582384

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.
Nibor62
Joined: Thu Aug 20, 2020 8:42 pm
Byond Username: Nibor62

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Nibor62 » #582399

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
User avatar
springs eternal
Joined: Tue Jun 02, 2020 10:14 pm
Byond Username: Wicca Phase Springs Eternal

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by springs eternal » #583930

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.
Nibor62
Joined: Thu Aug 20, 2020 8:42 pm
Byond Username: Nibor62

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Nibor62 » #584133

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
Nibor62
Joined: Thu Aug 20, 2020 8:42 pm
Byond Username: Nibor62

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Nibor62 » #589790

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 ?)
Nibor62
Joined: Thu Aug 20, 2020 8:42 pm
Byond Username: Nibor62

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Nibor62 » #590164

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)
BadSS13Player
Joined: Fri Nov 15, 2019 5:03 pm
Byond Username: BadSS13Player

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by BadSS13Player » #590887

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).
Nibor62
Joined: Thu Aug 20, 2020 8:42 pm
Byond Username: Nibor62

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Nibor62 » #591587

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.
BadSS13Player
Joined: Fri Nov 15, 2019 5:03 pm
Byond Username: BadSS13Player

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by BadSS13Player » #591617

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.
Nibor62
Joined: Thu Aug 20, 2020 8:42 pm
Byond Username: Nibor62

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Nibor62 » #591754

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
User avatar
springs eternal
Joined: Tue Jun 02, 2020 10:14 pm
Byond Username: Wicca Phase Springs Eternal

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by springs eternal » #598251

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.
Nibor62
Joined: Thu Aug 20, 2020 8:42 pm
Byond Username: Nibor62

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Nibor62 » #598292

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
User avatar
springs eternal
Joined: Tue Jun 02, 2020 10:14 pm
Byond Username: Wicca Phase Springs Eternal

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by springs eternal » #598338

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.
Nibor62
Joined: Thu Aug 20, 2020 8:42 pm
Byond Username: Nibor62

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Nibor62 » #598357

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)
User avatar
springs eternal
Joined: Tue Jun 02, 2020 10:14 pm
Byond Username: Wicca Phase Springs Eternal

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by springs eternal » #598739

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.
Nibor62
Joined: Thu Aug 20, 2020 8:42 pm
Byond Username: Nibor62

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Nibor62 » #598741

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>
User avatar
springs eternal
Joined: Tue Jun 02, 2020 10:14 pm
Byond Username: Wicca Phase Springs Eternal

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by springs eternal » #612512

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.
User avatar
oranges
Code Maintainer
Joined: Tue Apr 15, 2014 9:16 pm
Byond Username: Optimumtact
Github Username: optimumtact
Location: #CHATSHITGETBANGED

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by oranges » #612643

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
User avatar
sinfulbliss
Joined: Thu Apr 04, 2019 8:53 am
Byond Username: SinfulBliss
Location: prisoner re-education chamber

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by sinfulbliss » #612824

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?)
Spoiler:
Image
Image
Image
User avatar
springs eternal
Joined: Tue Jun 02, 2020 10:14 pm
Byond Username: Wicca Phase Springs Eternal

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by springs eternal » #614062

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.
Nibor62
Joined: Thu Aug 20, 2020 8:42 pm
Byond Username: Nibor62

Re: SS13 on Linux; Recent issues & Troubleshooting

Post by Nibor62 » #614607

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
Post Reply

Who is online

Users browsing this forum: Bing [Bot]