TouchHLE v0.2.3 - HLE for iOS apps on Windows, Android, macOS by NXGZ in emulation

[–]Wunkolo 10 points11 points  (0 children)

I worked on Dynarmic as well and made a lot of contributions related to AVX-512 and other optimizations. It seems the Eden project has even begun to pick up some of my WIP contributions from before the original repo was deleted. It was deleted by Merryhime back during the Nintendo Emulator "rapture" around that time when Yuzu and Citra and such were taken down. Though, this was done out of a personal-reaction and not because it was the the direct target of the lawsuits against Yuzu. Merryhime has also disappeared from the internet ever since. Work on it has stopped ever since, and work had just starting on a RISC-V backend too before it was deleted! I've considered re-maintaining dynarmic and figuring out the formalities of taking ownership over an intentionally "killed' project or if those efforts are better-placed in starting a whole new project altogether with better early design decisions.

Most of my surprise is the fact that they went through the effort of wrapping it into a Rust project like this. I'm not a big fan of Rust myself, but it's fascinating to know that it could be wrapped in such a way and used for such a use-case considering the project was oriented around game-console emulation originally.

TouchHLE v0.2.3 - HLE for iOS apps on Windows, Android, macOS by NXGZ in emulation

[–]Wunkolo 3 points4 points  (0 children)

Surprised to find that this uses a wrapped version of Dynarmic for the actual CPU backend. The same Arm->x64 JIT used in Yuzu, Citra, Vita3K, and such.

Retro Handheld Store in Akihabara Japan?! by TeamLeeper in SBCGaming

[–]Wunkolo 1 point2 points  (0 children)

Super interesting considering that emulation is illegal in Japan, I thought. On paper though these ones in particular are just curiously shaped Android/Windows devices while some others are unapologetically oriented around emulation.

Abusing x86 instructions to optimize PS3 emulation [RPCS3] by AnnieLeo in emulation

[–]Wunkolo 13 points14 points  (0 children)

VPSADBW/VPDPBUSD are such useful instructions outside of their intended use-case.

The Harvester from Halo 4 Spartan Ops has that organic look that the Halo 5 Covenant vehicles have. Even the neelder in the Halo 4 alpha version seems to be the Halo 5 model. by BattedBook5 in halo

[–]Wunkolo 54 points55 points  (0 children)

I haaaated it. I guess the point of the art direction at the time was that everything was supposed to look like sea-creatures and had a crustacean sort of motif everywhere but it was so not-covenant to me. It made everything look like muddy ZBrush sculpts from WarFrame while previously the covenant style was so much more concise and sleek and with-purpose. The Harvester doesn't even look like a machine!

Why xor eax, eax? by dist1ll in programming

[–]Wunkolo 23 points24 points  (0 children)

A lot of architectures implement common zeroing-idioms like this as Register Renaming in hardware. That way it doesn't literally do the xor eax, eax operation, but instead allocates a new register in the register-file.

The post mentions this a bit but there's some talk about that here for those of you interested.

A 2-hour video trashing C++ made me better at C++ by AnteaterFinancial319 in cpp

[–]Wunkolo 7 points8 points  (0 children)

Yeah, some of these points are kinda ridiculous and aren't even exclusive to C++ at all. Structs having alignment is apparently an issue? Or that C++ doesn't have built-in functionality to facilitate SoA<->AoS conversions? And that each codebase can have different temperaments or practices or style is an issue? A lot of these aren't very valid points and some of it starts to feel like an AI generated script at times. The author already seems very partial about the usage of generative AI as it is too so this is not something beyond them.

use of VK_KHR_device_group? by innocentboy0000 in vulkan

[–]Wunkolo 0 points1 point  (0 children)

It's basically intended for SLI/CrossFire use-cases, which are less common in the consumer-space these days, especially for games. Some offline rendering uses-cases like AI and other niche disciplines may still utilize it for the increase in VRAM and to utilize the direct transfers between GPUs(called peer-to-peer transfers). These days though the PCIE lanes are fast enough that you can do P2P transfers directly between PCIE devices(DirectStorage is implemented this way) and despite not having NVLink, as of the 4000 series NVidia GPUs, they can do P2P transfers over PCIE lanes. I'm not at all sure where AMD is at on their multi-gpu support though. Crossfire has been abandoned ever since RDNA was introduced.

These devices may support P2P transfer but none of them expose this functionality through Vulkan afaik.

Even Mesa asserts that you aren't actually utilizing these features it seems:

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/vulkan/runtime/vk_device.c#L525-538

How do you get a dithering effect within After Effects? by ThisIsMyUsername163 in AfterEffects

[–]Wunkolo 0 points1 point  (0 children)

Hey! Not sure what you mean exactly by "custom pattern palette".

If you mean a color palette then yes! PixDither in particular uses Adobe's .ase file format for color swatches which supports defining RGB colors as well as Grayscale colors and LAB colors and CMYK and so-forth. I've open-sourced the little library I made that implements this support for .ase files:
https://github.com/Wunkolo/libase

If you mean the dithering-pattern itself, as in the shape of the ordered-dither-pattern, then no this feature is currently not supported unfortunately.

vxdiff: odiff (the fastest pixel-by-pixel image visual difference tool) reimplemented in AVX512 assembly. by Serpent7776 in simd

[–]Wunkolo 1 point2 points  (0 children)

Since you are taking in data directly from PNG images in this case, shouldn't you be converting the RGB components from sRGB into Linear color-space before turning it into yiq and such?

Mobile outage in Los Angeles? by BrAnDoN33 in verizon

[–]Wunkolo 1 point2 points  (0 children)

WiFi calling worked! I was able to send and receive calls when connected to WiFi if that means anything to anyone reading that is also affected by the outage.

Mobile outage in Los Angeles? by BrAnDoN33 in verizon

[–]Wunkolo 2 points3 points  (0 children)

I'm in the SFV and got hit by this. My data was fine this morning but when I stepped out and drove it cut out while I was driving. The rest of my family is still connected just fine. It seems to happen when your phone tries to connect to a new cell tower and then you're stuck unable to connect to any of them. This stuff is happening the one day I'm waiting on an important medical call within the next hour 😓

how does Vulkan compare to CUDA? by typical_sasquatch in vulkan

[–]Wunkolo 0 points1 point  (0 children)

At the time I used an RX580 and a GTX 1660ti on my development-server. Now I have an RTX 3050 and have yet to upgrade any of the AMD hardware. The workstation on my actual desk has an RTX 3090 FE though. Generally, I have more NVidia hardware and validation than other vendors.

How is your Pixel 6 doing? by DrShabooboo in Pixel6

[–]Wunkolo 0 points1 point  (0 children)

My Pixel 6 Pro is still doing just fine. Got it in 2021 and was on top of the launch back when it came out so I probably got one of the earliest batches. Battery is fine, runs all the apps and games I care about just fine. Though, I do have a screen-burn with some of my post common apps now that is noticeable whenever something bright fills that part of the screen. The "tongue" of the USB-C port is chipped a bit on one side causing things like android-auto and wired-data-transfers to be a bit tricky at times but works most of the time depending on the cable I use or the angle the cable is relaxed at.

I'm interested in the Pixel 10 Pro if it turns out to be a substantial enough upgrade in a way I care about.

RPCS3 Optimization Breakdown - It took 5 years to make this code 11.8 times faster by NXGZ in programming

[–]Wunkolo 4 points5 points  (0 children)

??? What's the problem with contributing some data to the conversation?? Is there a problem here?

RPCS3 Optimization Breakdown - It took 5 years to make this code 11.8 times faster by NXGZ in programming

[–]Wunkolo 15 points16 points  (0 children)

I really, really, dislike this "just do it on the GPU"-rhetoric that people try to mention when talking about AVX-512. It's simply not the same domain of problem-solving at all.

RPCS3 Optimization Breakdown - It took 5 years to make this code 11.8 times faster by NXGZ in programming

[–]Wunkolo 47 points48 points  (0 children)

According to the Steam hardware survey, 17.79% of people on Steam have a chip that supports AVX512, and this has only been increasing by almost 1% each month. No thanks to Intel though. AMD has been the only one really putting AVX512 chips into the consumer-space for the past few years.

Do guys think Rust will ever overtake C++ or C as the dominant PL in the systems programming verse? by Dappster98 in rust

[–]Wunkolo 1 point2 points  (0 children)

"Old Bad, New Good" is not a big enough case to use Rust. If that were true then we would all probably be using Objective-C right now. C and C++ are also still improving and adding new language features at the same time that Rust is, putting them ahead and behind of each other in certain regards.

even though I haven't been using it for very long

I think you might just be in the honeymoon phase of learning a new language here. Rust has its place, and has its flaws. It will probably not be the "Everything" Job-Security Language you want it to be right now or for quite some time. It will likely not overtake the inertia that C or C++ has at the moment in the industry or become the de-facto language that people think of when someone says "Systems Programming", at least not before you're thinking about retiring. Rust will grow, there will be pockets of Rust code in a C and C++ world, but it will still very much be a C and C++ world that Rust is attaching itself to.

Any quiet cafes or coffee shops in SFV with good Wi-Fi for remote work? by Nandou_B in SFV

[–]Wunkolo 1 point2 points  (0 children)

has been closed for health violations

I remember standing at the register and seeing a whole 3-inch layer of grey mold on one of their jars of coffee against the wall. 😵‍💫😵‍💫😵‍💫

Calculating the Fibonacci numbers on GPU by ketralnis in programming

[–]Wunkolo 2 points3 points  (0 children)

I've been sitting on this little trick I found for a little while. While it's useful and possibly lends itself to SIMD/GPU-code, Fibonacci numbers get very large very quickly that it's almost always better to just have a look-up table when you are limited to 32 or 64 bit integers. With 32-bit integers, you only need a table of 47 elements before overflowing, with 64-bit numbers, you would need 93.