[TF2] Console lines out of order with mat_queue_mode 2
When obtaining multi-line output via the dev console (such as the output of status) while using mat_queue_mode 2 (or -1 in my case, but I think it just gets set to 2), the lines output display in an entirely random order. This seems to suggest that the items in the queue are being processed in the wrong order.
system information: https://gist.github.com/ElectricTriangle/2f83f9bb1a50dca3c16f285544253fbc
still happens in 2021
- you have to join or create a server to see the bug
- it's easy to see if you do
echo a b c d e f g h i j k l m n o p q r s t u v w x y z- the letters will come out in random order - the bug exists on windows as well as linux
the bug is especially noticeable with the echo command because it writes each argument and the line break separately to the console (there's a lot of potential for messing up the order)
i've found this one report of it (from 2013): https://www.reddit.com/r/Tf2Scripts/comments/1757ci/help_words_are_scrambled/
Hi, I have this script that gives very weird output for me.
(...)
When calling check_wait in the console, I get this.
You can see that sometimes the output is Wait disabled is instead of the expected Wait is disabled...
the bug is also documented on the tf2 wiki: https://wiki.teamfortress.com/wiki/Scripting#Echo
Note: Echo occasionally will misprint strings that are not delimited by quotation marks. As a general rule of thumb, it is better to enclose what you wish to print within quotation marks. It also makes it easier to read for humans.
the wiki says that, but not even echos using quotes are fully safe from this bug. the line break is still written separately so it's possible for it to get written before the actual line contents which will mess up the next line (making it appear at the end of the text just echo'd)
and this is even worse if you're trying to echo multiple lines of text. the lines will come out in the wrong order with some of them joined with each other
system info (click to expand)
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Athlon(tm) X4 860K Quad Core Processor
CPU Family: 0x15
CPU Model: 0x30
CPU Stepping: 0x1
CPU Type: 0x0
Speed: 4200 Mhz
4 logical processors
4 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Unsupported
AVX512F: Unsupported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Unsupported
AVX512VNNI: Unsupported
SHA: Unsupported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Operating System Version:
Linux 5.x (64 bit)
Kernel Name: Linux
Kernel Version: 5.12.0-rc3-rt3
X Server Vendor: The X.Org Foundation
X Server Release: 12011000
X Window Manager: Xfwm4
Steam Runtime Version: steam-runtime_0.20210317.0
Video Card:
Driver: AMD AMD Radeon HD 7800 Series (PITCAIRN, DRM 3.40.0, 5.12.0-rc3-rt3, LLVM 12.0.0)
Driver Version: 4.6 (Compatibility Profile) Mesa 21.0.2
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID: 0x1002
DeviceID: 0x6818
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: 20.91" x 11.77" (23.98" diag)
53.1cm x 29.9cm (60.9cm diag)
Primary VRAM: 2048 MB
Sound card:
Audio device: USB Mixer
Memory:
RAM: 15947 Mb
VR Hardware:
VR Headset: None detected
Miscellaneous:
UI Language: English
LANG: en_US.utf8
Total Hard Disk Space Available: 237449 Mb
Largest Free Hard Disk Block: 50924 Mb
Storage:
Number of SSDs: 0
SSD sizes: %s1
Number of HDDs: 0
HDD sizes: %s1
"LD_* scout runtime" information:
{
"can-write-uinput" : false,
"steam-installation" : {
"path" : "/home/human/.local/share/Steam",
"data_path" : "/home/human/.local/share/Steam",
"bin32_path" : "/home/human/.local/share/Steam/ubuntu12_32",
"steamscript_path" : "/usr/bin/steam",
"steamscript_version" : "1.0.0.64",
"issues" : [
]
},
"runtime" : {
"path" : "/home/human/.local/share/Steam/ubuntu12_32/steam-runtime",
"version" : "0.20210317.0",
"issues" : [
],
"pinned_libs_32" : {
"list" : [
" 13268776 0 drwxr-xr-x 1 human human 398 Apr 13 04:47 pinned_libs_32",
" 13268778 4 lrwxrwxrwx 1 human human 94 Apr 13 04:47 pinned_libs_32/libdbus-1.so.3 -> /home/human/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libdbus-1.so.3.5.8",
" 13268779 4 -rw-r--r-- 1 human human 54 Apr 13 04:47 pinned_libs_32/system_libdbus-1.so.3",
" 13268780 0 -rw-r--r-- 1 human human 0 Apr 13 04:47 pinned_libs_32/has_pins",
" 13268781 4 lrwxrwxrwx 1 human human 99 Apr 13 04:47 pinned_libs_32/libGLU.so.1 -> /home/human/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libGLU.so.1.3.08004",
" 13268782 4 -rw-r--r-- 1 human human 46 Apr 13 04:47 pinned_libs_32/system_libGLU.so.1",
" 13268783 4 lrwxrwxrwx 1 human human 101 Apr 13 04:47 pinned_libs_32/libSDL2-2.0.so.0 -> /home/human/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.14.0",
" 13268784 4 -rw-r--r-- 1 human human 57 Apr 13 04:47 pinned_libs_32/system_libSDL2-2.0.so.0",
" 13268785 4 lrwxrwxrwx 1 human human 96 Apr 13 04:47 pinned_libs_32/libcurl.so.4 -> /home/human/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libcurl.so.4.2.0",
" 13268786 4 -rw-r--r-- 1 human human 48 Apr 13 04:47 pinned_libs_32/system_libcurl.so.4",
" 13268787 4 lrwxrwxrwx 1 human human 107 Apr 13 04:47 pinned_libs_32/libgtk-x11-2.0.so.0 -> /home/human/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10",
" 13268788 4 -rw-r--r-- 1 human human 66 Apr 13 04:47 pinned_libs_32/system_libgtk-x11-2.0.so.0",
" 13268798 4 lrwxrwxrwx 1 human human 12 Apr 13 04:47 pinned_libs_32/libcurl.so.3 -> libcurl.so.4"
]
},
"pinned_libs_64" : {
"list" : [
" 13268777 0 drwxr-xr-x 1 human human 238 Apr 13 04:47 pinned_libs_64",
" 13268790 4 lrwxrwxrwx 1 human human 101 Apr 13 04:47 pinned_libs_64/libGLU.so.1 -> /home/human/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libGLU.so.1.3.08004",
" 13268791 4 -rw-r--r-- 1 human human 50 Apr 13 04:47 pinned_libs_64/system_libGLU.so.1",
" 13268792 0 -rw-r--r-- 1 human human 0 Apr 13 04:47 pinned_libs_64/has_pins",
" 13268793 4 lrwxrwxrwx 1 human human 103 Apr 13 04:47 pinned_libs_64/libSDL2-2.0.so.0 -> /home/human/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.14.0",
" 13268794 4 -rw-r--r-- 1 human human 61 Apr 13 04:47 pinned_libs_64/system_libSDL2-2.0.so.0",
" 13268795 4 lrwxrwxrwx 1 human human 98 Apr 13 04:47 pinned_libs_64/libcurl.so.4 -> /home/human/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu/libcurl.so.4.2.0",
" 13268796 4 -rw-r--r-- 1 human human 52 Apr 13 04:47 pinned_libs_64/system_libcurl.so.4",
" 13268799 4 lrwxrwxrwx 1 human human 12 Apr 13 04:47 pinned_libs_64/libcurl.so.3 -> libcurl.so.4"
]
}
},
"os-release" : {
"id" : "gentoo",
"name" : "Gentoo",
"pretty_name" : "Gentoo/Linux"
},
"container" : {
"type" : "none"
},
"driver_environment" : [
"DISPLAY=:0",
"LD_LIBRARY_PATH=/home/human/.local/share/Steam/ubuntu12_32:/home/human/.local/share/Steam/ubuntu12_32/panorama:/home/human/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:/home/human/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib64/debiancompat:/usr/lib/debiancompat:/usr/lib64/fltk:/usr/lib/fltk:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/32:/opt/amdgpu/lib64:/opt/amdgpu/lib:/lib64:/usr/lib64:/usr/local/lib64:/lib:/usr/lib:/usr/local/lib:/usr/lib/rust/lib:/usr/lib/llvm/12/lib:/usr/lib/llvm/12/lib64:/home/human/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/human/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/human/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/human/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/human/.local/share/Steam/ubuntu12_32/steam-runtime/lib:/home/human/.local/share/Steam/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,\n030000005e0400008e02000014010000,X360 Controller,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,\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,",
"STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1",
"WINEESYNC=1",
"WINEFSYNC=1"
],
"architectures" : {
"i386-linux-gnu" : {
"can-run" : true,
"runtime-linker" : {
"path" : "/lib/ld-linux.so.2",
"resolved" : "/lib/ld-2.33.so"
},
"library-issues-summary" : [
"cannot-load"
],
"library-details" : {
"libacl.so.1" : {
"messages" : [
"Unable to find the library: /home/human/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu/libacl.so.1: undefined symbol: getxattr, version ATTR_1.0"
],
"soname" : null,
"path" : null,
"issues" : [
"cannot-load"
],
"exit-status" : 1
},
"libbz2.so.1.0" : {
"soname" : "libbz2.so.1",
"path" : "/usr/lib/libbz2.so.1.0"
},
"libcurl-gnutls.so.4" : {
"soname" : "libcurl.so.4",
"path" : "/usr/lib/debiancompat/libcurl-gnutls.so.4"
}
},
"graphics-details" : {
"x11/vulkan" : {
"messages" : [
"WARNING: radv is not a conformant vulkan implementation, testing use only."
],
"renderer" : "AMD RADV PITCAIRN (ACO)",
"version" : "1.2.145 (device 0x1002:0x6818) (driver 21.0.2)",
"devices" : [
{
"name" : "AMD RADV PITCAIRN (ACO)",
"api-version" : "1.2.145",
"driver-version" : "21.0.2",
"vendor-id" : "0x1002",
"device-id" : "0x6818",
"type" : "discrete-gpu"
}
]
},
"x11/vdpau" : {
"messages" : [
"Failed to open VDPAU backend libvdpau_radeonsi.so: cannot open shared object file: No such file or directory",
"vdp_device_create_x11 (display, screen, &device, &vdp_get_proc_address) failed: 1"
],
"renderer" : null,
"version" : null,
"issues" : [
"cannot-draw"
],
"exit-status" : 1
},
"x11/vaapi" : {
"messages" : [
"libva info: VA-API version 1.10.0",
"libva info: Trying to open /usr/lib/va/drivers/radeonsi_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" : "AMD Radeon HD 7800 Series (PITCAIRN, DRM 3.40.0, 5.12.0-rc3-rt3, LLVM 12.0.0)",
"version" : "4.6 (Compatibility Profile) Mesa 21.0.2",
"library-vendor" : "glvnd"
},
"egl_x11/gl" : {
"renderer" : "AMD Radeon HD 7800 Series (PITCAIRN, DRM 3.40.0, 5.12.0-rc3-rt3, LLVM 12.0.0)",
"version" : "4.6 (Compatibility Profile) Mesa 21.0.2",
"library-vendor" : "glvnd"
},
"egl_x11/glesv2" : {
"renderer" : "AMD Radeon HD 7800 Series (PITCAIRN, DRM 3.40.0, 5.12.0-rc3-rt3, LLVM 12.0.0)",
"version" : "OpenGL ES 3.2 Mesa 21.0.2",
"library-vendor" : "glvnd"
}
},
"dri_drivers" : [
{
"library_path" : "/usr/lib/dri/kms_swrast_dri.so"
},
{
"library_path" : "/usr/lib/dri/r300_dri.so"
},
{
"library_path" : "/usr/lib/dri/r600_dri.so"
},
{
"library_path" : "/usr/lib/dri/radeonsi_dri.so"
},
{
"library_path" : "/usr/lib/dri/swrast_dri.so"
}
],
"va-api_drivers" : [
],
"vdpau_drivers" : [
{
"library_path" : "/usr/lib/vdpau/libvdpau_trace.so",
"library_link" : "libvdpau_trace.so.1"
},
{
"library_path" : "/usr/lib/vdpau/libvdpau_trace.so.1",
"library_link" : "libvdpau_trace.so.1.0.0"
}
],
"glx_drivers" : [
{
"library_soname" : "libGLX_mesa.so.0",
"library_path" : "/usr/lib/libGLX_mesa.so.0.0.0"
}
]
},
"x86_64-linux-gnu" : {
"can-run" : true,
"runtime-linker" : {
"path" : "/lib64/ld-linux-x86-64.so.2",
"resolved" : "/lib64/ld-2.33.so"
},
"library-issues-summary" : [
],
"graphics-details" : {
"x11/vulkan" : {
"messages" : [
"WARNING: radv is not a conformant vulkan implementation, testing use only."
],
"renderer" : "AMD RADV PITCAIRN (ACO)",
"version" : "1.2.145 (device 0x1002:0x6818) (driver 21.0.2)",
"devices" : [
{
"name" : "AMD RADV PITCAIRN (ACO)",
"api-version" : "1.2.145",
"driver-version" : "21.0.2",
"vendor-id" : "0x1002",
"device-id" : "0x6818",
"type" : "discrete-gpu"
}
]
},
"x11/vdpau" : {
"messages" : [
"Failed to open VDPAU backend libvdpau_radeonsi.so: cannot open shared object file: No such file or directory",
"vdp_device_create_x11 (display, screen, &device, &vdp_get_proc_address) failed: 1"
],
"renderer" : null,
"version" : null,
"issues" : [
"cannot-draw"
],
"exit-status" : 1
},
"x11/vaapi" : {
"messages" : [
"libva info: VA-API version 1.10.0",
"libva info: Trying to open /usr/lib64/va/drivers/radeonsi_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" : "AMD Radeon HD 7800 Series (PITCAIRN, DRM 3.40.0, 5.12.0-rc3-rt3, LLVM 12.0.0)",
"version" : "4.6 (Compatibility Profile) Mesa 21.0.2",
"library-vendor" : "glvnd"
},
"egl_x11/gl" : {
"renderer" : "AMD Radeon HD 7800 Series (PITCAIRN, DRM 3.40.0, 5.12.0-rc3-rt3, LLVM 12.0.0)",
"version" : "4.6 (Compatibility Profile) Mesa 21.0.2",
"library-vendor" : "glvnd"
},
"egl_x11/glesv2" : {
"renderer" : "AMD Radeon HD 7800 Series (PITCAIRN, DRM 3.40.0, 5.12.0-rc3-rt3, LLVM 12.0.0)",
"version" : "OpenGL ES 3.2 Mesa 21.0.2",
"library-vendor" : "glvnd"
}
},
"dri_drivers" : [
{
"library_path" : "/usr/lib64/dri/kms_swrast_dri.so"
},
{
"library_path" : "/usr/lib64/dri/r300_dri.so"
},
{
"library_path" : "/usr/lib64/dri/r600_dri.so"
},
{
"library_path" : "/usr/lib64/dri/radeonsi_dri.so"
},
{
"library_path" : "/usr/lib64/dri/swrast_dri.so"
}
],
"va-api_drivers" : [
],
"vdpau_drivers" : [
{
"library_path" : "/usr/lib64/vdpau/libvdpau_trace.so",
"library_link" : "libvdpau_trace.so.1"
},
{
"library_path" : "/usr/lib64/vdpau/libvdpau_trace.so.1",
"library_link" : "libvdpau_trace.so.1.0.0"
}
],
"glx_drivers" : [
{
"library_soname" : "libGLX_mesa.so.0",
"library_path" : "/usr/lib64/libGLX_mesa.so.0.0.0"
}
]
}
},
"locale-issues" : [
],
"locales" : {
"<default>" : {
"resulting-name" : "LC_CTYPE=en_US.utf8;LC_NUMERIC=en_US.utf8;LC_TIME=en_US.utf8;LC_COLLATE=C;LC_MONETARY=en_US.utf8;LC_MESSAGES=en_US.utf8;LC_PAPER=en_US.utf8;LC_NAME=en_US.utf8;LC_ADDRESS=en_US.utf8;LC_TELEPHONE=en_US.utf8;LC_MEASUREMENT=en_US.utf8;LC_IDENTIFICATION=en_US.utf8",
"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/50_mesa.json",
"library_path" : "libEGL_mesa.so.0",
"issues" : [
]
}
]
},
"vulkan" : {
"icds" : [
{
"json_path" : "/usr/share/vulkan/icd.d/radeon_icd.x86_64.json",
"library_path" : "/usr/lib64/libvulkan_radeon.so",
"api_version" : "1.2.145",
"issues" : [
]
},
{
"json_path" : "/usr/share/vulkan/icd.d/radeon_icd.i686.json",
"library_path" : "/usr/lib/libvulkan_radeon.so",
"api_version" : "1.2.145",
"issues" : [
]
}
],
"explicit_layers" : [
],
"implicit_layers" : [
{
"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.2.73",
"implementation_version" : "1",
"library_path" : "libVkLayer_MESA_device_select.so",
"issues" : [
]
},
{
"json_path" : "/home/human/.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.2.136",
"implementation_version" : "1",
"library_path" : "/home/human/.local/share/Steam/ubuntu12_32/libVkLayer_steam_fossilize.so",
"issues" : [
]
},
{
"json_path" : "/home/human/.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.2.136",
"implementation_version" : "1",
"library_path" : "/home/human/.local/share/Steam/ubuntu12_64/libVkLayer_steam_fossilize.so",
"issues" : [
]
},
{
"json_path" : "/home/human/.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.2.136",
"implementation_version" : "1",
"library_path" : "/home/human/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so",
"issues" : [
]
},
{
"json_path" : "/home/human/.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.2.136",
"implementation_version" : "1",
"library_path" : "/home/human/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so",
"issues" : [
]
}
]
},
"desktop-entries" : [
{
"id" : "steam.desktop",
"commandline" : "/usr/bin/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" : false
},
"org.freedesktop.portal.Email" : {
"available" : false
}
},
"backends" : {
"org.freedesktop.impl.portal.desktop.gtk" : {
"available" : false
},
"org.freedesktop.impl.portal.desktop.kde" : {
"available" : false
}
}
},
"issues" : [
"missing-interface",
"no-implementation"
],
"messages" : [
"Failed to connect to 'org.freedesktop.portal.Desktop'",
"Failed to connect to 'org.freedesktop.portal.Desktop'",
"There isn't a working portal implementation"
]
},
"cpu-features" : {
"x86-64" : true,
"sse3" : true,
"cmpxchg16b" : true
}
}
"scout runtime container" is not installed.
"soldier runtime container" is not installed.
This sucks, I can't believe the queue messes this up too
The problem is that output is buffered somewhere inside material system (during shader draw?).
When mat_queue_mode 2 and echoing multiple words some output goes through regular spew functions and some output is buffered and rendered when buffer cleared (end of frame).
For example echo 1 2 3 4 5 can be dispatched as:
1 -> buffer
2 -> rendered directly
3 -> buffer
4 -> rendered directly
5 -> rendered directly
...
buffer cleared (end of frame) and rendered 1 3
Result is: 2 4 5 <may be some other output from direct render> 1 3.
Need to either drop such buffering in material system or ensure some global order for output (for example buffer all things into single global buffer and clear it aka draw when frame ends).
Also it is not TF2-specific, but at least HL2, Portal affected, too.