Facepunch / garrysmod-issues

Garry's Mod issue tracker
145 stars 56 forks source link

Script autorefresh is not working for Proton #5679

Open PredatorCZ opened 10 months ago

PredatorCZ commented 10 months ago

Autorefresh on script modify is not being registered for Compatiblity modes (native works fine).

Tried Proton Experimental and GE8-16

This might be wine issue (maybe I need to set some env var)?

robotboy655 commented 10 months ago

I don't know if there's anything I can really do about it. It works on Windows and native Linux builds as far as I know. This is probably an issue with Proton itself.

MaslovKK commented 10 months ago

I used proton about a month ago and autorefresh works fine, i think its not gmod or proton bug

PredatorCZ commented 10 months ago

I'm adding log header

Proton: 1697712483 proton-8.0-4c
SteamGameId: 4000
Command: ['/home/lukas/.steam/debian-installation/steamapps/common/GarrysMod/hl2.exe', '-steam', '-game', 'garrysmod']
Options: {'forcelgadd', 'gamedrive'}
depot: 0.20231107.66301
pressure-vessel: 0.20231107.1 scout
scripts: 0.20231107.1
sniper: 0.20231107.66301 sniper 0.20231107.66301
Kernel: Linux 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64
Language: LC_ALL None, LC_MESSAGES None, LC_CTYPE None

Gmod folder and scripts are stored on my host ext4 drive. No symlinks to script files. reload_materials 1 is also not working. I also found problem with refreshing effects (inside lua/effects) where lua_reloadents (I guess effects are not treated as ents) isn't refreshing some sections (I believe think and render hooks)

sr229 commented 8 months ago

I have tested this on the Steam Deck and I cannot replicate. The issue is most likely lacking permissions in the runtime for Steam or your Linux configuration is funky.