Please describe your issue in as much detail as possible:
I want to play Counter-Strike via Steam via Flatpak. My system can run Counter-Strike absolutely fine under windows. Steams fails to recognize my GPU as having vulkan support. In the past, there was output that seemed to be generated by vulkandriverquery saying surface extensions were not present, but that is not the case so much as it didn't seem to be able to find them. I copied the vulkaninfo tool to the flatpak container and it was able to find everything fine. I've tried forcing it to use my Intel UHD GPU, but it seems to keep only using the CPU. For what it's worth TF2 plays without issue.
Here is some output from running Steam and CS via the terminal with:
F: Not sharing "/usr/share/vulkan" with sandbox: Path "/usr" is reserved by Flatpak
fsync: up and running.
ATTENTION: default value of option radv_override_graphics_shader_version overridden by environment.
ATTENTION: default value of option radv_override_graphics_shader_version overridden by environment.
Fossilize INFO: Setting autogroup scheduling.
chdir "/home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive"
ERROR: ld.so: object '/home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Game Recording - would start recording game 730, but recording for this game is disabled
Adding process 825 for gameID 730
ERROR: ld.so: object '/home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
F: Not sharing "/usr/share/vulkan" with sandbox: Path "/usr" is reserved by Flatpak
pid 911 != 910, skipping destruction (fork without exec?)
basename: extra operand 'Offensive/game/cs2.sh'
Try 'basename --help' for more information.
pid 913 != 910, skipping destruction (fork without exec?)
/home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh: line 58: ulimit: open files: cannot modify limit: Operation not permitted
Adding process 910 for gameID 730
Adding process 912 for gameID 730
Adding process 914 for gameID 730
Adding process 915 for gameID 730
Loaded /home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x557aaec13670
Adding process 916 for gameID 730
Using breakpad crash handler
Adding process 917 for gameID 730
[S_API] SteamAPI_Init(): Loaded '/home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/linux64/steamclient.so' OK.
ching Steam ID: 76561198060147637 [API loaded yes]
SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561198060147637
ATTENTION: default value of option radv_override_graphics_shader_version overridden by environment.
Fossilize INFO: Overriding serialization path: "/home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/shadercache/730/fozpipelinesv6/steamapprun_pipeline_cache".
Loaded /home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x557ab2cf7af0
Loaded libpangoft2-1.0.so, got (nil)
failed to dlopen "libpangoft2-1.0.so" error=libpangoft2-1.0.so: cannot open shared object file: No such file or directory
Loaded /home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librenderdoc.so, got (nil)
failed to dlopen "/home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librenderdoc.so" error=/home/zip/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librenderdoc.so: cannot open shared object file: No such file or directory
Loaded librenderdoc.so, got (nil)
failed to dlopen "librenderdoc.so" error=librenderdoc.so: cannot open shared object file: No such file or directory
and here is some of the output of running vulkaninfo within the same container as steam after running flatpak run --command=sh com.valvesoftware.Steam:
Your system information
Please describe your issue in as much detail as possible:
I want to play Counter-Strike via Steam via Flatpak. My system can run Counter-Strike absolutely fine under windows. Steams fails to recognize my GPU as having vulkan support. In the past, there was output that seemed to be generated by vulkandriverquery saying surface extensions were not present, but that is not the case so much as it didn't seem to be able to find them. I copied the vulkaninfo tool to the flatpak container and it was able to find everything fine. I've tried forcing it to use my Intel UHD GPU, but it seems to keep only using the CPU. For what it's worth TF2 plays without issue.
Here is some output from running Steam and CS via the terminal with:
flatpak override --user --env=MESA_VK_DEVICE_SELECT=1 com.valvesoftware.Steam
flatpak --verbose run com.valvesoftware.Steam
and here is some of the output of running vulkaninfo within the same container as steam after running flatpak run --command=sh com.valvesoftware.Steam:
Steps for reproducing this issue: