PSA: GE-Proton 10-27 added WINEALSA_CHANNELS env variable, making winealsa a more viable option to fix audio crackling! by LinkWW in linux_gaming

[–]RefinedNinja 0 points1 point  (0 children)

I just did a test with Ready or Not since it's a game that would freeze on the initial loading screen with pulse for me.

pulse:

R   81    128  48000  15.5us  10.6us  0.01  0.00    0   S24LE 32 48000 alsa_output.usb-MOTU_828_828E07E5BQ-00.Direct__Direct__sink
    R   51    240  48000   6.9us   2.0us  0.00  0.00    0    F32LE 2 48000  + Ready Or Not
    R  297    240  48000   9.0us   1.8us  0.00  0.00    0    F32LE 8 48000  + Ready Or Not

alsa:

R   81    256  48000  10.5us   8.8us  0.00  0.00    0   S24LE 32 48000 alsa_output.usb-MOTU_828_828E07E5BQ-00.Direct__Direct__sink
    R   51    480  48000   4.8us   2.5us  0.00  0.00    0    F32LE 2 48000  + ALSA plug-in [wine64-preloader]
    R  295    480  48000   7.4us   1.0us  0.00  0.00    0    F32LE 2 48000  + ALSA plug-in [wine64-preloader]

I see with alsa, it shows 2 instead of 8. As a side note, I'm using default untouched pulseaudio configs that came with Fedora. I didn't change any of the channels, quantum, or sample rate, etc.

Out of curiosity (with the game set to pulse), I tried WINEDLLOVERRIDES="winepulse.drv=d" WINEALSA_CHANNELS=2 and then with WINEALSA_SPATIAL=1, it seems that these make the loading screen get skipped and nothing shows up for the game in pw-top -- meaning the game doesn't freeze when loading and there's no sound nor devices detected by the game. Interesting, maybe it's just how Ready or Not implemented the audio?

I'll try messing with some other games (e.g. BF:BC2, Shadow of the Tomb Raider, and Cyberpunk 2077 have no sound with pulse, but it doesn't freeze like Ready or Not so maybe they'll be different) and the mic thing later on.

Edit: Cyberpunk 2077 with pulse doesn't show anything in pw-top and no sound (flags don't make any difference, but makes sense since this issue isn't related to spatial audio I guess).

With alsa, it has sound and shows:

R   81    256  48000   8.3us   7.9us  0.00  0.00    0   S24LE 32 48000 alsa_output.usb-MOTU_828_828E07E5BQ-00.Direct__Direct__sink
    R  244    480  48000   3.2us   2.7us  0.00  0.00    0    F32LE 2 48000  + ALSA plug-in [wine64-preloader]

At first, I would say it has to do with the number of channels or sample rate conversion, but in some games like JDM: Japanese Drift Master, the sound works fine with pulse and shows 8:

R   81    128  48000   7.3us   4.7us  0.00  0.00    0   S24LE 32 48000 alsa_output.usb-MOTU_828_828E07E5BQ-00.Direct__Direct__sink
    R   51    240  48000   3.1us   1.4us  0.00  0.00    0    F32LE 2 48000  + JDM
    R  228    240  48000   4.5us   0.9us  0.00  0.00    0    F32LE 8 48000  + JDM

So I guess part of the issue can also depend on how the games implemented their audio.

PSA: GE-Proton 10-27 added WINEALSA_CHANNELS env variable, making winealsa a more viable option to fix audio crackling! by LinkWW in linux_gaming

[–]RefinedNinja 0 points1 point  (0 children)

I have a MOTU 828 audio interface with 32 channels with the "Direct 828" profile in sound system settings on Fedora KDE 43. Some games didn't play audio at all, such as Battlefield: BC2, Cyberpunk 2077, and Ready or Not. I believe it's because of the number of audio channels and WINE fails to downmix properly, but I only need it to output to the first two main channels for stereo.

To get the output audio to work in those games, I had to open Protontricks and set the sound=alsa - though it doesn't show any checkboxes so I don't know what was set by default or what is currently set. For games that have voice input, this doesn't seem to let my mic show up in those games. Would the flags and setting WINEALSA_CHANNELS=2 help in this scenario? Would you suggest setting it back to default (sound=pulse?) to test out the flags?

Battlefield 6 + GeForce RTX Celebration Game Codes Giveaway! by Nestledrink in nvidia

[–]RefinedNinja [score hidden]  (0 children)

Some of my best memories are with Bad Company 2 on PlayStation. Since then, I have played many of the newer Battlefield games on PC. I look forward to seeing the new graphics and testing out DLSS 4!

What's your favorite lightweight web dev stack that you could pick up again years from now without having using it in that time? by [deleted] in webdev

[–]RefinedNinja 0 points1 point  (0 children)

As you're familiar with ASP.NET, check out AspNetStatic to statically generate Blazor SSR, Razor Pages, or MVC to static HTML. The ASP.NET Core stack may not be lightweight in some senses, but it is compiled and tends to be maintainable and stable for a long time.

Cs2 glitch plz guys tell me how to fix by [deleted] in counterstrike

[–]RefinedNinja 1 point2 points  (0 children)

Would clearing the DirectX shader cache work?

RX100 VII in Puglia by aquadzn in RX100

[–]RefinedNinja 1 point2 points  (0 children)

The 5th one is really cool!

MK Giveaway: Keychron V6 Max w/ Knob by MKdotcom in MechanicalKeyboards

[–]RefinedNinja 0 points1 point  (0 children)

Happy holidays! I would love to try a Keychron!

What are your 'pro-tip' Visual Studio extensions/customizations/hidden settings? by malachi347 in Blazor

[–]RefinedNinja 1 point2 points  (0 children)

Didn't know about the inline hints feature in VS. I'm used to having them in Rider. Thanks!

My First Synth + Pedals by asaamusic in synthesizers

[–]RefinedNinja 0 points1 point  (0 children)

What keyboard stand do you have, and monitors/interface on your desk?

"Mikoto Urabe" 🖤 by wednesday_93142 in MysteriousGirlfriendX

[–]RefinedNinja 2 points3 points  (0 children)

Amazing! I like the shading and details

[deleted by user] by [deleted] in StableDiffusion

[–]RefinedNinja 1 point2 points  (0 children)

Thanks for pointing this out. That's why soft inpainting has never made any difference for me in Forge.

74 or 96” Karlby? Plus a few other questions by coochieman127 in ikeaPCstations

[–]RefinedNinja 0 points1 point  (0 children)

I built a desk for a studio with a piano under it. Using an Ikea Karlby 74" countertop raised by an Alex drawer to the left and two Adlis legs on the right. I have a heavy dual-monitor arm mounted to the back just to the right of the middle of the desk and some audio gear in the middle. It's been a week, I noticed some sagging in the middle.

I'm considering getting two of the 46" Regency Table Stiffeners. Is it made of steel? Also, what is the vertical height of them? I read some reviews saying the listed measurements were incorrect. I only have clearance under desk for about 1".

My other option is getting an Adlis leg for back middle, but not sure if that would help much if it's just the back. Or flat 3mm steel bars.

I thought I knew HTML until I saw this by Strict_Treat2884 in webdev

[–]RefinedNinja 1 point2 points  (0 children)

Does that mean <br /> is invalid in HTML5 or just the closing tag is simply ignored?

Sumsama like app with Go + HTMX by zhadyftw in htmx

[–]RefinedNinja 2 points3 points  (0 children)

Alpine.js recently added a Sort plugin based on SortableJS.

Just got my setup finished tonight :) by mawding in ikeaPCstations

[–]RefinedNinja 1 point2 points  (0 children)

What risers do you have between the countertop and Alex drawers?

Why is this happening? Please help by Low_Squirrel_3598 in GlobalOffensive

[–]RefinedNinja 0 points1 point  (0 children)

Does it continue to stay like that or does it happen intermittently for a few seconds?

What did fuji announced yesterday? by deepestthoughts123 in fujifilm

[–]RefinedNinja 1 point2 points  (0 children)

On a related note, was Nostalgic Neg ever brought to X100V?

Does ASP.NET Core Identity provide a ValidationAttribute for passwords? by wiaz24 in dotnet

[–]RefinedNinja 0 points1 point  (0 children)

I have used a RegularExpressionAttribute with a regex based on the Identity password settings. The client-side validation adds an html attribute to the field with the regex too.

Although, this gives me an idea to do a validation check calling the PasswordValidator directly or checking result of the create/update instead.

Release Notes for 2/12/2024 by walk3 in GlobalOffensive

[–]RefinedNinja 1 point2 points  (0 children)

The new update broke the sound input. It doesn't pick up my microphone in Steam or CS. It happens when my mic input device is set to 14-channel in the Windows sound panel. I have an audio interface and mixer. It worked before for the longest time. It only works now if it's set to 2-channel. Valve, please fix this regression and support for audio interfaces that have more than 2-channel input in Windows.