Case-sensitive drirc application name matching sometimes fails on casefold enabled filesystems
When certain windows games are installed in a casefold enabled directory on a filesystem that supports the casefold feature, the case of the process name string changes (as seen in /proc/$pid/comm), which causes application_name_match
based case-sensitive app options to fail to apply.
I noticed this with The Evil Within, which has a radv drirc workaround using application_name_match="EvilWithin.exe". The executable of the game is indeed named EvilWithin.exe
, however, the running process of the game is named evilwithin.exe
when launched from a casefold-enabled ext4 directory and EvilWithin.exe
when launch from a btrfs directory without casefold. In the first case the app option doesn't get applied and the game has rendering issues. This doesn't seem to occur for all games that have mixed-case exe names and I don't know what triggers it for this game specifically.
I encountered this issues with recent Mesa main
and proton 7.0 or experimental bleeding edge.