gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
lopsided98_ has quit [Remote host closed the connection]
lopsided98_ has joined #nixos-chat
lopsided98_ has quit [Remote host closed the connection]
Sonarpulse has quit [Ping timeout: 240 seconds]
taktoa has joined #nixos-chat
MichaelRaskin has joined #nixos-chat
LightDiscord has joined #nixos-chat
obadz has quit [Quit: WeeChat 2.0]
obadz has joined #nixos-chat
ma27 has quit [Quit: WeeChat 2.0]
ma27 has joined #nixos-chat
drakonis has joined #nixos-chat
LightDiscord has quit [Quit: Page closed]
benley has joined #nixos-chat
<clever> benley: one of the first things they tried to do to solve the emulation and stutter, was to just not render things until the shader had been compiled
<clever> but that leaves you blind, and certain games only render something once, and then reuses the result as a texture, which results in missing textures
<clever> the crazy thing they did to make it all work, is that they emulated the entire bloody gamecube gpu, in another gpu, using shaders
<benley> wow
<sphalerite> emulator authors are the craziest of the crazy
<benley> cemu seems to have a very similar issue with shader compilation; I wonder how they're handling it
<clever> but that does have obvious performance costs
<clever> so they only use that for ~100ms, while the host cpu translates the combination of texture flags into a proper shader
<clever> then they switch over
<simpson> TBF this exact design was proposed like a decade prior by Ian Romanick (he's on the GL and Vulkan committees) for how to get Mesa to support fixed-function games on shaderful cards.
<simpson> And there was a proof-of-concept shader JIT called 'llvmpipe' which is shipped with Mesa.
<simpson> But the Dolphin folks managed to get it all working and shipped.
<sphalerite> llvmpipe works, no?
<benley> didn't llvmpipe (or something very similar to it) end up in the apple's Quartz rendering pipeline at some point, to make it work well on various Intel "GPU"s?
<sphalerite> Isn't it what's used now in absence of working hardware acceleration?
<simpson> Yeah.
zybell has quit [Ping timeout: 260 seconds]
zybell has joined #nixos-chat
<drakonis> isn't qemu and llvm a core part of emulators for modern platforms?
<drakonis> this stuff is crazy good
<sphalerite> "this stuff" = still referring to qemu and llvm?
<drakonis> no
<drakonis> ubershaders
<drakonis> its still impressive to behold
<clever> yeah
<sphalerite> dolphin is generally an amazing project
<clever> let me see which emulator i had trouble with on nixos...
<clever> ah, PCSX2, it has horid audio corruption, but is otherwise playable
<clever> and now it fails to even initialize opengl
zybell has quit [Ping timeout: 264 seconds]
<clever> ok, PCSX2 is a 32bit elf
zybell has joined #nixos-chat
<drakonis> how's nixos acceptance right now?
<drakonis> Nix/NixOS
<drakonis> ie: is it seeing any sort of unofficial endorsement/usage by companies?
<drakonis> i know mozilla and intel has some users
<MichaelRaskin> Random upstream software sometimes includes .nix files. Haskell lists Nix among the recommended methods of managing the installation. Mozilla publishes a Nix overlay.
<drakonis> seems like an interesting progression
<drakonis> gotta gain more acceptance
<clever> [clever@amd-nixos:~/PCSX2]$ export LIBGL_DEBUG=verbose
<clever> libGL: dlopen /run/opengl-driver-32/lib/dri/swrast_dri.so failed (/nix/store/28sxc2fj22dir4hv2qgrcfnnsl3bjmdp-libdrm-2.4.89/lib/libdrm_amdgpu.so.1: undefined symbol: drmSyncobjWait)
<MichaelRaskin> Frankly, right now there is good progress on getting processes that scale at least a bit, and that is more important than progression
<clever> aha
<clever> looks like the emulator is linked against an older mesa, and the new mesa nixos is using isnt compatible
<MichaelRaskin> in acceptance
<drakonis> hmm, i see
<drakonis> is there any issue covering the proposal to add package tagging?
<clever> sphalerite: rebuilding PCSX2 fixed the 32bit issues, audio is as corrupt as ever
<clever> *doh*
<clever> i got the partition wrong when doing swapon in a raspberry pi
<clever> and then i assumed the error was due to an improper shutdown and re-ran mkswap
<clever> that was /boot, lol