Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Puzzlemaker is unable to export VMFs #403

Open
teedoop opened this issue May 1, 2023 · 13 comments
Open

Puzzlemaker is unable to export VMFs #403

teedoop opened this issue May 1, 2023 · 13 comments

Comments

@teedoop
Copy link

teedoop commented May 1, 2023

Description

The Puzzlemaker is unable to export VMFs, whether it's by choosing Rebuild... or Publish... in the File-menu, Build and play puzzle from the top-toolbar, or via the developer-console using puzzlemaker_compile_and_preview or puzzlemaker_compile_and_publish:

[PORTAL2 PUZZLEMAKER]  CVoxelTestChamber::Export VMF /home/teedoop/.steam/debian-installation/steamapps/common/Portal 2/sdk_content\maps/preview.vmf ...
[PORTAL2 PUZZLEMAKER]  Can't write file/home/teedoop/.steam/debian-installation/steamapps/common/Portal 2/sdk_content\maps/preview.vmf
[PORTAL2 PUZZLEMAKER] (Simulation Failed) (VMF Export failed.)

Using puzzlemaker_export also fails with the same error. It should be noted that the compilation process seemingly doesn't halt at this point, the UI instead continuing to spin as if all's fine even after several minutes.

Steps to reproduce

  1. Create a new puzzle or open and already existing one
  2. Select File > Rebuild..., File > Publish..., or use console-commands such as puzzlemaker_export, etc.
  3. Confirm that the puzzle's VMF is unable to be created by checking the developer-console
System-information
Computer Information:
    Manufacturer:  LENOVO
    Model:  LNVNB161216
    Form Factor: Laptop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  GenuineIntel
    CPU Brand:  11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz
    CPU Family:  0x6
    CPU Model:  0x8c
    CPU Stepping:  0x1
    CPU Type:  0x0
    Speed:  4400 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    AVX2:  Supported
    AVX512F:  Supported
    AVX512PF:  Unsupported
    AVX512ER:  Unsupported
    AVX512CD:  Supported
    AVX512VNNI:  Supported
    SHA:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Operating System Version:
    Linux Mint 21.1 (64 bit)
    Kernel Name:  Linux
    Kernel Version:  5.15.0-71-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  12101004
    X Window Manager:  Mutter (Muffin)
    Steam Runtime Version:  steam-runtime_0.20230118.0

Video Card:
    Driver:  NVIDIA Corporation NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2
    Driver Version:  4.6.0 NVIDIA 525.105.17
    OpenGL Version: 4.6
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 120 Hz
    VendorID:  0x10de
    DeviceID:  0x25a2
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 13.54" x 7.60" (15.51" diag)
                                            34.4cm x 19.3cm (39.4cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 4096 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: Realtek ALC257

Memory:
    RAM:  7733 MB

VR Hardware:
    VR Headset: None detected

Miscellaneous:
    UI Language:  English
    LANG:  en_GB.UTF-8
    Total Hard Disk Space Available:  479118 MB
    Largest Free Hard Disk Block:  361318 MB

Storage:
    Number of SSDs: 1
    SSD sizes: 512G
    Number of HDDs: 0
    

"LD_* scout runtime" information:
{
  "can-write-uinput" : true,
  "steam-installation" : {
    "path" : "/home/teedoop/.steam/debian-installation",
    "data_path" : "/home/teedoop/.steam/debian-installation",
    "bin32_path" : "/home/teedoop/.steam/debian-installation/ubuntu12_32",
    "steamscript_path" : "/usr/games/steam",
    "steamscript_version" : "1.0.0.74-1ubuntu2/Ubuntu",
    "issues" : [
      "unexpected-steam-uri-handler"
    ]
  },
  "runtime" : {
    "path" : "/home/teedoop/.steam/debian-installation/ubuntu12_32/steam-runtime",
    "version" : "0.20230118.0",
    "issues" : [
    ],
    "pinned_libs_32" : {
      "list" : [
        "pinned_libs_32/done",
        "pinned_libs_32/has_pins",
        "pinned_libs_32/libSDL2-2.0.so.0 -> $STEAM_RUNTIME/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.2600.2",
        "pinned_libs_32/libcurl-gnutls.so.3 -> $STEAM_RUNTIME/usr/lib/i386-linux-gnu/libcurl-gnutls.so.4.2.0",
        "pinned_libs_32/libcurl-gnutls.so.4 -> $STEAM_RUNTIME/usr/lib/i386-linux-gnu/libcurl-gnutls.so.4.2.0",
        "pinned_libs_32/libcurl.so.3 -> $STEAM_RUNTIME/usr/lib/i386-linux-gnu/libcurl.so.4.2.0",
        "pinned_libs_32/libcurl.so.4 -> $STEAM_RUNTIME/usr/lib/i386-linux-gnu/libcurl.so.4.2.0",
        "pinned_libs_32/libdbus-1.so.3 -> $STEAM_RUNTIME/lib/i386-linux-gnu/libdbus-1.so.3.5.8",
        "pinned_libs_32/libdbusmenu-glib.so.4 -> $STEAM_RUNTIME/usr/lib/i386-linux-gnu/libdbusmenu-glib.so.4.0.13",
        "pinned_libs_32/libdbusmenu-gtk.so.4 -> $STEAM_RUNTIME/usr/lib/i386-linux-gnu/libdbusmenu-gtk.so.4.0.13",
        "pinned_libs_32/libgtk-x11-2.0.so.0 -> $STEAM_RUNTIME/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10",
        "pinned_libs_32/libvulkan.so.1 -> $STEAM_RUNTIME/usr/lib/i386-linux-gnu/libvulkan.so.1.3.231",
        "pinned_libs_32/system_libSDL2-2.0.so.0",
        "pinned_libs_32/system_libvulkan.so.1"
      ]
    },
    "pinned_libs_64" : {
      "list" : [
        "pinned_libs_64/done",
        "pinned_libs_64/has_pins",
        "pinned_libs_64/libGLU.so.1 -> $STEAM_RUNTIME/usr/lib/x86_64-linux-gnu/libGLU.so.1.3.08004",
        "pinned_libs_64/libSDL2-2.0.so.0 -> $STEAM_RUNTIME/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.2600.2",
        "pinned_libs_64/libcurl-gnutls.so.3 -> $STEAM_RUNTIME/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.2.0",
        "pinned_libs_64/libcurl-gnutls.so.4 -> $STEAM_RUNTIME/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.2.0",
        "pinned_libs_64/libcurl.so.3 -> $STEAM_RUNTIME/usr/lib/x86_64-linux-gnu/libcurl.so.4.2.0",
        "pinned_libs_64/libcurl.so.4 -> $STEAM_RUNTIME/usr/lib/x86_64-linux-gnu/libcurl.so.4.2.0",
        "pinned_libs_64/libdbusmenu-glib.so.4 -> $STEAM_RUNTIME/usr/lib/x86_64-linux-gnu/libdbusmenu-glib.so.4.0.13",
        "pinned_libs_64/libvulkan.so.1 -> $STEAM_RUNTIME/usr/lib/x86_64-linux-gnu/libvulkan.so.1.3.231",
        "pinned_libs_64/system_libGLU.so.1",
        "pinned_libs_64/system_libSDL2-2.0.so.0",
        "pinned_libs_64/system_libcurl-gnutls.so.4",
        "pinned_libs_64/system_libcurl.so.4",
        "pinned_libs_64/system_libdbusmenu-glib.so.4",
        "pinned_libs_64/system_libvulkan.so.1"
      ]
    }
  },
  "os-release" : {
    "id" : "linuxmint",
    "id_like" : [
      "ubuntu",
      "debian"
    ],
    "name" : "Linux Mint",
    "pretty_name" : "Linux Mint 21.1",
    "version_id" : "21.1",
    "version_codename" : "vera"
  },
  "virtualization" : {
    "type" : "none"
  },
  "container" : {
    "type" : "none"
  },
  "driver_environment" : [
    "DISPLAY=:0",
    "LD_LIBRARY_PATH=/home/teedoop/.steam/debian-installation/ubuntu12_32:/home/teedoop/.steam/debian-installation/ubuntu12_32/panorama:/home/teedoop/.steam/debian-installation/ubuntu12_32/steam-runtime/pinned_libs_32:/home/teedoop/.steam/debian-installation/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/lib:/lib/i386-linux-gnu/sse2:/home/teedoop/.steam/debian-installation/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/teedoop/.steam/debian-installation/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/teedoop/.steam/debian-installation/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/teedoop/.steam/debian-installation/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/teedoop/.steam/debian-installation/ubuntu12_32/steam-runtime/lib:/home/teedoop/.steam/debian-installation/ubuntu12_32/steam-runtime/usr/lib",
    "SDL_GAMECONTROLLERCONFIG=03000000de280000ff11000001000000,Steam Virtual Gamepad,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Linux\n03000000de280000fc11000001000000,Steam Controller,a:b0,b:b1,back:b6,dpdown:b14,dpleft:b15,dpright:b13,dpup:b12,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Linux",
    "XDG_RUNTIME_DIR=/run/user/1000"
  ],
  "architectures" : {
    "i386-linux-gnu" : {
      "can-run" : true,
      "libdl-LIB" : "lib/i386-linux-gnu",
      "libdl-PLATFORM" : "i686",
      "runtime-linker" : {
        "path" : "/lib/ld-linux.so.2",
        "resolved" : "/usr/lib/i386-linux-gnu/ld-linux.so.2"
      },
      "library-issues-summary" : [
      ],
      "graphics-details" : {
        "x11/vulkan" : {
          "messages" : [
            "timeout: the monitored command dumped core"
          ],
          "renderer" : null,
          "version" : null,
          "issues" : [
            "cannot-load",
            "cannot-draw"
          ],
          "exit-status" : -1,
          "terminating-signal" : 11,
          "terminating-signal-name" : "Segmentation fault",
          "devices" : [
          ]
        },
        "x11/vdpau" : {
          "renderer" : "NVIDIA VDPAU Driver Shared Library  525.105.17  Tue Mar 28 17:37:18 UTC 2023\n",
          "version" : null
        },
        "x11/vaapi" : {
          "messages" : [
            "libva info: VA-API version 1.14.0",
            "libva info: Trying to open /usr/lib/i386-linux-gnu/dri/nvidia_drv_video.so",
            "libva info: va_openDriver() returns -1",
            "vaInitialize (va_display, &major_version, &minor_version) failed: unknown libva error (-1)"
          ],
          "renderer" : null,
          "version" : null,
          "issues" : [
            "cannot-draw"
          ],
          "exit-status" : 1
        },
        "glx/gl" : {
          "renderer" : "NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2",
          "version" : "4.6.0 NVIDIA 525.105.17",
          "library-vendor" : "glvnd"
        },
        "egl_x11/gl" : {
          "renderer" : "NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2",
          "version" : "4.6.0 NVIDIA 525.105.17",
          "library-vendor" : "glvnd"
        },
        "egl_x11/glesv2" : {
          "messages" : [
            "Wflinfo error: failed to get function pointer for glGetError"
          ],
          "renderer" : null,
          "version" : null,
          "library-vendor" : "glvnd",
          "issues" : [
            "cannot-load"
          ],
          "exit-status" : 1
        }
      },
      "dri_drivers" : [
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/crocus_dri.so"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/iris_dri.so"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/kms_swrast_dri.so"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/nouveau_dri.so"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/r300_dri.so"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/r600_dri.so"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/radeonsi_dri.so"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/swrast_dri.so"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/virtio_gpu_dri.so"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/vmwgfx_dri.so"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/zink_dri.so"
        }
      ],
      "va-api_drivers" : [
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/i965_drv_video.so",
          "version" : "libva2"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/iHD_drv_video.so",
          "version" : "libva2"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/nouveau_drv_video.so",
          "version" : "libva2"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/r600_drv_video.so",
          "version" : "libva2"
        },
        {
          "library_path" : "/usr/lib/i386-linux-gnu/dri/radeonsi_drv_video.so",
          "version" : "libva2"
        },
        {
          "library_path" : "/home/teedoop/.steam/debian-installation/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/dri/dummy_drv_video.so",
          "version" : "libva1"
        }
      ],
      "vdpau_drivers" : [
        {
          "library_path" : "/home/teedoop/.steam/debian-installation/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/vdpau/libvdpau_trace.so.1",
          "library_link" : "libvdpau_trace.so.1.0.0"
        }
      ],
      "glx_drivers" : [
        {
          "library_soname" : "libGLX_indirect.so.0",
          "library_path" : "/usr/lib/i386-linux-gnu/libGLX_mesa.so.0.0.0"
        },
        {
          "library_soname" : "libGLX_mesa.so.0",
          "library_path" : "/usr/lib/i386-linux-gnu/libGLX_mesa.so.0.0.0"
        },
        {
          "library_soname" : "libGLX_nvidia.so.0",
          "library_path" : "/usr/lib/i386-linux-gnu/libGLX_nvidia.so.525.105.17"
        }
      ]
    },
    "x86_64-linux-gnu" : {
      "can-run" : true,
      "libdl-LIB" : "lib/x86_64-linux-gnu",
      "libdl-PLATFORM" : "haswell",
      "runtime-linker" : {
        "path" : "/lib64/ld-linux-x86-64.so.2",
        "resolved" : "/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2"
      },
      "library-issues-summary" : [
      ],
      "graphics-details" : {
        "x11/vulkan" : {
          "messages" : [
            "timeout: the monitored command dumped core"
          ],
          "renderer" : null,
          "version" : null,
          "issues" : [
            "cannot-load",
            "cannot-draw"
          ],
          "exit-status" : -1,
          "terminating-signal" : 11,
          "terminating-signal-name" : "Segmentation fault",
          "devices" : [
          ]
        },
        "x11/vdpau" : {
          "renderer" : "NVIDIA VDPAU Driver Shared Library  525.105.17  Tue Mar 28 22:17:10 UTC 2023\n",
          "version" : null
        },
        "x11/vaapi" : {
          "messages" : [
            "libva info: VA-API version 1.14.0",
            "libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so",
            "libva info: va_openDriver() returns -1",
            "vaInitialize (va_display, &major_version, &minor_version) failed: unknown libva error (-1)"
          ],
          "renderer" : null,
          "version" : null,
          "issues" : [
            "cannot-draw"
          ],
          "exit-status" : 1
        },
        "glx/gl" : {
          "renderer" : "NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2",
          "version" : "4.6.0 NVIDIA 525.105.17",
          "library-vendor" : "glvnd"
        },
        "egl_x11/gl" : {
          "renderer" : "NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2",
          "version" : "4.6.0 NVIDIA 525.105.17",
          "library-vendor" : "glvnd"
        },
        "egl_x11/glesv2" : {
          "renderer" : "NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2",
          "version" : "OpenGL ES 3.2 NVIDIA 525.105.17",
          "library-vendor" : "glvnd"
        }
      },
      "dri_drivers" : [
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/crocus_dri.so"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/d3d12_dri.so"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/iris_dri.so"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/kms_swrast_dri.so"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/r300_dri.so"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/r600_dri.so"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/virtio_gpu_dri.so"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/vmwgfx_dri.so"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/zink_dri.so"
        }
      ],
      "va-api_drivers" : [
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/d3d12_drv_video.so",
          "version" : "libva2"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so",
          "version" : "libva2"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so",
          "version" : "libva2"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/nouveau_drv_video.so",
          "version" : "libva2"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so",
          "version" : "libva2"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so",
          "version" : "libva2"
        },
        {
          "library_path" : "/home/teedoop/.steam/debian-installation/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/dri/dummy_drv_video.so",
          "version" : "libva1"
        }
      ],
      "vdpau_drivers" : [
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_d3d12.so",
          "library_link" : "libvdpau_d3d12.so.1.0.0"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_d3d12.so.1",
          "library_link" : "libvdpau_d3d12.so.1.0.0"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nouveau.so",
          "library_link" : "libvdpau_nouveau.so.1.0.0"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nouveau.so.1",
          "library_link" : "libvdpau_nouveau.so.1.0.0"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so",
          "library_link" : "libvdpau_nvidia.so.525.105.17"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_nvidia.so.1",
          "library_link" : "libvdpau_nvidia.so.525.105.17"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r300.so",
          "library_link" : "libvdpau_r300.so.1.0.0"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r300.so.1",
          "library_link" : "libvdpau_r300.so.1.0.0"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so",
          "library_link" : "libvdpau_r600.so.1.0.0"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_r600.so.1",
          "library_link" : "libvdpau_r600.so.1.0.0"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_radeonsi.so",
          "library_link" : "libvdpau_radeonsi.so.1.0.0"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_radeonsi.so.1",
          "library_link" : "libvdpau_radeonsi.so.1.0.0"
        },
        {
          "library_path" : "/usr/lib/x86_64-linux-gnu/vdpau/libvdpau_trace.so.1",
          "library_link" : "libvdpau_trace.so.1.0.0"
        }
      ],
      "glx_drivers" : [
        {
          "library_soname" : "libGLX_indirect.so.0",
          "library_path" : "/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0"
        },
        {
          "library_soname" : "libGLX_mesa.so.0",
          "library_path" : "/usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0"
        },
        {
          "library_soname" : "libGLX_nvidia.so.0",
          "library_path" : "/usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.525.105.17"
        }
      ]
    }
  },
  "locale-issues" : [
  ],
  "locales" : {
    "<default>" : {
      "resulting-name" : "LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=sv_SE.UTF-8;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.UTF-8;LC_MONETARY=sv_SE.UTF-8;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=sv_SE.UTF-8;LC_NAME=sv_SE.UTF-8;LC_ADDRESS=sv_SE.UTF-8;LC_TELEPHONE=sv_SE.UTF-8;LC_MEASUREMENT=sv_SE.UTF-8;LC_IDENTIFICATION=sv_SE.UTF-8",
      "charset" : "UTF-8",
      "is_utf8" : true
    },
    "C" : {
      "resulting-name" : "C",
      "charset" : "ANSI_X3.4-1968",
      "is_utf8" : false
    },
    "C.UTF-8" : {
      "resulting-name" : "C.UTF-8",
      "charset" : "UTF-8",
      "is_utf8" : true
    },
    "en_US.UTF-8" : {
      "resulting-name" : "en_US.UTF-8",
      "charset" : "UTF-8",
      "is_utf8" : true
    }
  },
  "egl" : {
    "icds" : [
      {
        "json_path" : "/usr/share/glvnd/egl_vendor.d/10_nvidia.json",
        "library_path" : "libEGL_nvidia.so.0",
        "issues" : [
        ]
      },
      {
        "json_path" : "/usr/share/glvnd/egl_vendor.d/50_mesa.json",
        "library_path" : "libEGL_mesa.so.0",
        "issues" : [
        ]
      }
    ],
    "external_platforms" : [
      {
        "json_path" : "/usr/share/egl/egl_external_platform.d/10_nvidia_wayland.json",
        "library_path" : "libnvidia-egl-wayland.so.1",
        "issues" : [
        ]
      },
      {
        "json_path" : "/usr/share/egl/egl_external_platform.d/15_nvidia_gbm.json",
        "library_path" : "libnvidia-egl-gbm.so.1",
        "issues" : [
        ]
      }
    ]
  },
  "vulkan" : {
    "icds" : [
      {
        "json_path" : "/usr/share/vulkan/icd.d/lvp_icd.i686.json",
        "library_path" : "/usr/lib/i386-linux-gnu/libvulkan_lvp.so",
        "api_version" : "1.1.224",
        "issues" : [
        ]
      },
      {
        "json_path" : "/usr/share/vulkan/icd.d/radeon_icd.i686.json",
        "library_path" : "/usr/lib/i386-linux-gnu/libvulkan_radeon.so",
        "api_version" : "1.3.224",
        "issues" : [
        ]
      },
      {
        "json_path" : "/usr/share/vulkan/icd.d/radeon_icd.x86_64.json",
        "library_path" : "/usr/lib/x86_64-linux-gnu/libvulkan_radeon.so",
        "api_version" : "1.3.224",
        "issues" : [
        ]
      },
      {
        "json_path" : "/usr/share/vulkan/icd.d/intel_icd.x86_64.json",
        "library_path" : "/usr/lib/x86_64-linux-gnu/libvulkan_intel.so",
        "api_version" : "1.3.224",
        "issues" : [
        ]
      },
      {
        "json_path" : "/usr/share/vulkan/icd.d/intel_icd.i686.json",
        "library_path" : "/usr/lib/i386-linux-gnu/libvulkan_intel.so",
        "api_version" : "1.3.224",
        "issues" : [
        ]
      },
      {
        "json_path" : "/usr/share/vulkan/icd.d/nvidia_icd.json",
        "library_path" : "libGLX_nvidia.so.0",
        "api_version" : "1.3.224",
        "issues" : [
        ]
      },
      {
        "json_path" : "/usr/share/vulkan/icd.d/lvp_icd.x86_64.json",
        "library_path" : "/usr/lib/x86_64-linux-gnu/libvulkan_lvp.so",
        "api_version" : "1.1.224",
        "issues" : [
        ]
      }
    ],
    "explicit_layers" : [
      {
        "json_path" : "/usr/share/vulkan/explicit_layer.d/VkLayer_INTEL_nullhw.json",
        "name" : "VK_LAYER_INTEL_nullhw",
        "description" : "INTEL NULL HW",
        "type" : "GLOBAL",
        "api_version" : "1.1.73",
        "implementation_version" : "1",
        "library_path" : "libVkLayer_INTEL_nullhw.so",
        "issues" : [
        ]
      },
      {
        "json_path" : "/usr/share/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json",
        "name" : "VK_LAYER_MESA_overlay",
        "description" : "Mesa Overlay layer",
        "type" : "GLOBAL",
        "api_version" : "1.3.211",
        "implementation_version" : "1",
        "library_path" : "libVkLayer_MESA_overlay.so",
        "issues" : [
        ]
      }
    ],
    "implicit_layers" : [
      {
        "json_path" : "/home/teedoop/.local/share/vulkan/implicit_layer.d/steamfossilize_i386.json",
        "name" : "VK_LAYER_VALVE_steam_fossilize_32",
        "description" : "Steam Pipeline Caching Layer",
        "type" : "GLOBAL",
        "api_version" : "1.3.207",
        "implementation_version" : "1",
        "library_path" : "/home/teedoop/.steam/debian-installation/ubuntu12_32/libVkLayer_steam_fossilize.so",
        "issues" : [
        ]
      },
      {
        "json_path" : "/home/teedoop/.local/share/vulkan/implicit_layer.d/steamfossilize_x86_64.json",
        "name" : "VK_LAYER_VALVE_steam_fossilize_64",
        "description" : "Steam Pipeline Caching Layer",
        "type" : "GLOBAL",
        "api_version" : "1.3.207",
        "implementation_version" : "1",
        "library_path" : "/home/teedoop/.steam/debian-installation/ubuntu12_64/libVkLayer_steam_fossilize.so",
        "issues" : [
        ]
      },
      {
        "json_path" : "/home/teedoop/.local/share/vulkan/implicit_layer.d/steamoverlay_i386.json",
        "name" : "VK_LAYER_VALVE_steam_overlay_32",
        "description" : "Steam Overlay Layer",
        "type" : "GLOBAL",
        "api_version" : "1.3.207",
        "implementation_version" : "1",
        "library_path" : "/home/teedoop/.steam/debian-installation/ubuntu12_32/steamoverlayvulkanlayer.so",
        "issues" : [
        ]
      },
      {
        "json_path" : "/home/teedoop/.local/share/vulkan/implicit_layer.d/steamoverlay_x86_64.json",
        "name" : "VK_LAYER_VALVE_steam_overlay_64",
        "description" : "Steam Overlay Layer",
        "type" : "GLOBAL",
        "api_version" : "1.3.207",
        "implementation_version" : "1",
        "library_path" : "/home/teedoop/.steam/debian-installation/ubuntu12_64/steamoverlayvulkanlayer.so",
        "issues" : [
        ]
      },
      {
        "json_path" : "/usr/share/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json",
        "name" : "VK_LAYER_MESA_device_select",
        "description" : "Linux device selection layer",
        "type" : "GLOBAL",
        "api_version" : "1.3.211",
        "implementation_version" : "1",
        "library_path" : "libVkLayer_MESA_device_select.so",
        "issues" : [
        ]
      },
      {
        "json_path" : "/usr/share/vulkan/implicit_layer.d/nvidia_layers.json",
        "name" : "VK_LAYER_NV_optimus",
        "description" : "NVIDIA Optimus layer",
        "type" : "INSTANCE",
        "api_version" : "1.3.224",
        "implementation_version" : "1",
        "library_path" : "libGLX_nvidia.so.0",
        "issues" : [
        ]
      }
    ]
  },
  "desktop-entries" : [
    {
      "id" : "steam.desktop",
      "commandline" : "sh -c 'STEAM_FRAME_FORCE_CLOSE=1 steam %U'",
      "filename" : "/usr/share/applications/steam.desktop",
      "default_steam_uri_handler" : true,
      "steam_uri_handler" : true
    }
  ],
  "xdg-portals" : {
    "details" : {
      "interfaces" : {
        "org.freedesktop.portal.OpenURI" : {
          "available" : true,
          "version" : 3
        },
        "org.freedesktop.portal.Email" : {
          "available" : true,
          "version" : 3
        }
      },
      "backends" : {
        "org.freedesktop.impl.portal.desktop.gtk" : {
          "available" : true
        },
        "org.freedesktop.impl.portal.desktop.kde" : {
          "available" : false
        }
      }
    },
    "issues" : [
    ]
  },
  "cpu-features" : {
    "x86-64" : true,
    "sse3" : true,
    "cmpxchg16b" : true
  }
}

"scout runtime container" is not installed.

"soldier runtime container" is not installed.
@PANCHO7532B
Copy link

PANCHO7532B commented Jun 9, 2023

Well, this one has been fun to debug
Basically, it's completely broken on Linux
The game for some reason has appended "game" at the start of the full absolute path of the directory where it should save the files for compile
Creating the folders "game" and "GAME" inside the folder bin/linux32 AND THEN inside of said folders putting an symbolic link to your /home directory "solves" the issue, but vvis fails for some reason that still can't tell why

Edit: vvis seems to grab the incorrect gameoverlayrenderer.so from the Steam installation directory, instead of using the 32 bits version it tries to load an 64 bit one and fails (due to incompatibility), but even attempting to swap the libs to "force it" into grabbing the correct one still fails after trying to write a log that technically can write but apparently it's unable to do so.

@MeowcaTheoRange
Copy link

MeowcaTheoRange commented Jul 25, 2023

Creating the folders "game" and "GAME" inside the folder bin/linux32 AND THEN inside of said folders putting an symbolic link to your /home directory "solves" the issue

It doesn't seem like this works (at least on Fedora 37) with external drives (like /mnt/[part id]/SteamLibrary/steamapps/[etc...]), even if I create a symlink to /mnt alongside /home.

bin/
 |- linux32/
 |-- |----- game/
 |-- |------ |-- home/ [symlink -> /home/]
 |-- |------ |-- mnt/ [symlink -> /mnt/]
 |-- |------ |--  |~ SteamLibrary/steamapps/common/Portal 2/
 |-- |----- GAME/
 |-- |------ |-- home/ [symlink -> /home/]
 |-- |------ |-- mnt/ [symlink -> /mnt/]
 |-- |------ |--  |~ SteamLibrary/steamapps/common/Portal 2/

@WilsontheWolf
Copy link

I also have this issue. Switching to the windows build via forcing proton as a compatibility tool works, but is undesirable.

System Info
Computer Information:
Manufacturer: Framework
Model: FRANMACP04
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: 12th Gen Intel(R) Core(TM) i5-1240P
CPU Family: 0x6
CPU Model: 0x9a
CPU Stepping: 0x3
CPU Type: 0x0
Speed: 4400 MHz
16 logical processors
12 physical processors
Hyper-threading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Unsupported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Unsupported
AVX512VNNI: Unsupported
SHA: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Operating System Version:
Fedora Linux 38 (Thirty Eight) (64 bit)
Kernel Name: Linux
Kernel Version: 6.4.8-200.fc38.x86_64
X Server Vendor: The X.Org Foundation
X Server Release: 12201009
X Window Manager: KWin
Steam Runtime Version: steam-runtime_0.20230606.51628
Video Card:
Driver: Intel Mesa Intel(R) Graphics (ADL GT2)
Driver Version: 4.6 (Compatibility Profile) Mesa 23.1.5
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 47 Hz
VendorID: 0x8086
DeviceID: 0x4626
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 2256 x 1504
Desktop Resolution: 2256 x 1504
Primary Display Size: 11.02" x 7.48" (13.31" diag), 28.0cm x 19.0cm (33.8cm diag)
Primary VRAM Not Detected
Sound card:
Audio device: IDT 92HD95
Memory:
RAM: 15686 Mb
VR Hardware:
VR Headset: None detected
Miscellaneous:
UI Language: English
LANG: en_CA.UTF-8
Total Hard Disk Space Available: 475299 MB
Largest Free Hard Disk Block: 68738 MB
Storage:
Number of SSDs: 1
SSD sizes: 500G
Number of HDDs: 0
Number of removable drives: 0

@loudercake
Copy link

This issue also happens with me, however this is not present in the "previous_release" branch.

@CStafford-14
Copy link

Having the same issue, however, creating the game and GAME directories doesn't help as it throws the same error.

System specs:
Brand/model: Framework Laptop 13
OS: Arch Linux
Processor: 13Gen Intel Core i5
RAM: 16 GB

More...

Computer Information:
Manufacturer: Framework
Model: FRANMCCP04
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: 13th Gen Intel(R) Core(TM) i5-1340P
CPU Family: 0x6
CPU Model: 0xba
CPU Stepping: 0x2
CPU Type: 0x0
Speed: 4600 MHz
16 logical processors
12 physical processors
Hyper-threading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Unsupported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Unsupported
AVX512VNNI: Unsupported
SHA: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Operating System Version:
"Arch Linux" (64 bit)
Kernel Name: Linux
Kernel Version: 6.5.5-zen1-1-zen
X Server Vendor: The X.Org Foundation
X Server Release: 12302001
X Window Manager: GNOME Shell
Steam Runtime Version: steam-runtime_0.20230801.56012
Video Card:
Driver: Intel Mesa Intel(R) Graphics (RPL-P)
Driver Version: 4.6 (Compatibility Profile) Mesa 23.1.8-arch1.1
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID: 0x8086
DeviceID: 0xa7a0
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 2256 x 1504
Desktop Resolution: 2256 x 1504
Primary Display Size: 11.02" x 7.48" (13.31" diag), 28.0cm x 19.0cm (33.8cm diag)
Primary VRAM Not Detected
Sound card:
Audio device: IDT 92HD95
Memory:
RAM: 15702 Mb
VR Hardware:
VR Headset: None detected
Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Total Hard Disk Space Available: 937291 MB
Largest Free Hard Disk Block: 734265 MB
Storage:
Number of SSDs: 1
SSD sizes: 1000G
Number of HDDs: 0
Number of removable drives: 0

@gregor3000
Copy link

gregor3000 commented Nov 12, 2023

it's no longer working on linux. used to work just fine.

[PORTAL2 PUZZLEMAKER]  Saved puzzle: puzzles\76561198886263757\1699801072.p2c
[PORTAL2 PUZZLEMAKER]  CVoxelTestChamber::Export VMF /home/gregor/.local/share/Steam/steamapps/common/Portal 2/sdk_content\maps/preview.vmf ...
[PORTAL2 PUZZLEMAKER]  Can't write file/home/gregor/.local/share/Steam/steamapps/common/Portal 2/sdk_content\maps/preview.vmf
[PORTAL2 PUZZLEMAKER] (Simulation Failed) (VMF Export failed.)
[PORTAL2 PUZZLEMAKER]  Saved puzzle: /home/gregor/.local/share/Steam/steamapps/common/Portal 2/portal2/puzzles\76561198886263757\autosave.p2c
[PORTAL2 PUZZLEMAKER]  Compilation canceled

2 PCs here. both Kubuntu 22.04. one with Ryzen 5 3500 U and Vega GPU, the other one with Ryzen 5 3600 and nvidia GTX.
1650.

The build is just stuck in place and nothing happens. I tried with a simple single room and button to open door and it still doesn't rebuild the map.

@saltiimoth
Copy link

I've managed to find a temporary solution without playing on the Windows version or a previous release.
I downloaded the depot for the Linux binaries before the patch that broke it, and replaced the current filesystem_stdio.so in bin/linux32 with the version from the old depot, and that appeared to fix the issue and I can compile test chambers just fine (although I don't believe it's recommended to switch out dynamic libraries with older versions, it appears to be working fine so far)
working depot: app id 620, depot id 661, manifest id 2854055004190207766

@vrad-exe
Copy link

Had a friend who uses linux experience this issue as well, it seems that exporting maps is just completely broken on Linux as of some recent update. Looking at the log OP provided, I can take a guess as to what the problem is:

/home/teedoop/.steam/debian-installation/steamapps/common/Portal 2/sdk_content\maps/preview.vmf

That's a backslash in sdk_content\maps, which is not a valid file path separator on Linux. I'd guess some code related to this got updated/replaced and whoever was doing that forgot to account for non-Windows filesystems and included a backslash character directly in a string.

@Thesola10
Copy link

Thesola10 commented Jan 25, 2024

That's what I thought too, @vrad-exe, but that fails to account for the following log line:

[PORTAL2 PUZZLEMAKER]  Saved puzzle: /home/deck/.local/share/Steam/steamapps/common/Portal 2/portal2/puzzles\76561198095769994\autosave.p2c

where backslashes also appear, yet the actual directory exists in the proper place (portal2/puzzles/76561198095769994/autosave.p2c).

While it would be wise for Valve to check all possible avenues, this leads me to think the backslash issue might be a red herring, and something else may be causing the issue entirely. straceing the game actually gives truly bizarre open calls, perhaps betraying the true culprit:

access("GAME/home/deck/.local/share/Steam/steamapps/common/Portal 2/sdk_content/maps/preview", F_OK) = -1 ENOENT (No such file or directory)
access("game/home/deck/.local/share/steam/steamapps/common/portal 2/sdk_content/maps/preview", F_OK) = -1 ENOENT (No such file or directory)
access("game", F_OK)                    = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 95
statx(95, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=STATX_ATTR_COMPRESSED|STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=1254, ...}) = 0
stat64("GAME/home/deck/.local/share/Steam/steamapps/common/Portal 2/sdk_content/maps/preview", 0xff81679c) = -1 ENOENT (No such file or directory)
access("GAME/home/deck/.local/share/Steam/steamapps/common/Portal 2/sdk_content/maps", F_OK) = -1 ENOENT (No such file or directory)
access("game/home/deck/.local/share/steam/steamapps/common/portal 2/sdk_content/maps", F_OK) = -1 ENOENT (No such file or directory)
access("game", F_OK)                    = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 95
statx(95, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=STATX_ATTR_COMPRESSED|STATX_ATTR_MOUNT_ROOT, stx_mode=S_IFDIR|0755, stx_size=1254, ...}) = 0
openat(AT_FDCWD, "GAME/home/deck/.local/share/Steam/steamapps/common/Portal 2/sdk_content/maps", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory)
access("game/home/deck/.local/share/steam/steamapps/common/portal 2/sdk_content/maps/preview", F_OK) = -1 ENOENT (No such file or directory)
access("game/home/deck/.local/share/steam/steamapps/common/portal 2/sdk_content/maps/preview", F_OK) = -1 ENOENT (No such file or directory)
access("game", F_OK)                    = -1 ENOENT (No such file or directory)

All of these access attempts are prefixed with the GAME string. While these also appear for the autosave process, only to resolve to a valid, absolute path, for some reason this never happens for preview, and the game makes no attempt to open preview.vmf whatsoever.

I performed the following steps to get the build process to advance further:

  • Create a symlink to / in steamapps/common/Portal 2/GAME
  • Create the steamapps/common/Portal 2/sdk_content/maps/preview directory
  • Create a symlink to / in steamapps/common/Portal 2/portal2/GAME
  • Create a symlink to / in steamapps/common/Portal 2/bin/linux32/GAME
  • Create a symlink to / in steamapps/common/Portal 2/bin/linux32/game
  • Create a symlink to Portal 2 in steamapps/common/portal 2
  • Create a symlink to Steam in ~/.local/share/steam

This accounts for all broken paths resulting from case-insensitive paths and broken GAME/game prefixes. However, vvis.exe still fails to launch even though the path to its expected preview.log should now exist.

Meanwhile the path it errors out on is a rather hilariously long one:

Can't create LogFile:"/home/deck/.local/share/steam/steamapps/common/portal 2/bin/linux32/game/home/deck/.local/share/steam/steamapps/common/portal 2/sdk_content/maps/preview.log"

All of the above is basically a very detailed run-through of what @PANCHO7532B found out above, minus the gameoverlayrenderer library issue, which doesn't occur on my end.

And according to @salticcat this is all likely caused by a common filesystem abstraction library, filesystem_stdio.so being broken, which actually makes sense. I tried their workaround and it works perfectly.

@vrad-exe
Copy link

vrad-exe commented Mar 5, 2024

Possibly related, but on Windows I had to also replace filesystem_stdio.dll with an older version to get Hammer to be able to compile maps located outside the Portal 2 directory (they're for a mod). If I didn't, I'd get that same "can't create log file" error shown in the last post. Seems like one of the recent patches might have changed some of the filesystem code, possibly to increase security by not allowing the game to write files outside the intended places, but whoever worked on it failed to account for the map compile tools and Linux.

@red4stone
Copy link

Salticcat's filesystem_stdio.so trick worked great for me, Ubuntu 23.10 x86_64

@KingMonkeyBug
Copy link

This bug is really fucking stupid!
I Resonantly tried compiling my test chamber and you know.

@JoMaZu787
Copy link

filesystem_stdio.so trick works on arch linux too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests