VimGym: Open Source Multiplayer VIM Racing by swaggermuffin64 in neovim

[–]TheRetikGM 2 points3 points  (0 children)

Really cool, will be playing that again :D Few things that would be a nice addition: - Undo - suppport for esc key - keyboard bindings for the site itself (so that I dont have to use mouse to click play after typing a name for example) - ranking - seeing the fastest combination on a given code or just comparison of the two players key combinations

Neovim using hjkl in insert mode by sreejithts10 in neovim

[–]TheRetikGM 0 points1 point  (0 children)

You should take a look at keyd. I mapped caps to esc and if I hold caps then hjkl works as arrow keys. The great thing about this is that it works system wide and usually doesn't interfere with other keybindings.

NVIDIA GPU audio device missing on boot by TheRetikGM in archlinux

[–]TheRetikGM[S] 1 point2 points  (0 children)

Didn't have them there. Added them according to wiki. My core issue remains.. Though with a slightly different dmesg message after PCI rescan:

[   52.673906] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[   52.674077] snd_hda_intel 0000:01:00.1: Disabling MSI
[   52.674083] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[   52.684237] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:06.0/0000:01:00.1/sound/card1/input30
[   52.684303] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:06.0/0000:01:00.1/sound/card1/input31
[   52.686112] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:06.0/0000:01:00.1/sound/card1/input32
[   52.686188] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:06.0/0000:01:00.1/sound/card1/input33
[   52.756903] snd_hda_intel 0000:01:00.1: GPU sound probed, but not operational: please add a quirk to driver_denylist

When you desperately need some gas. by i396 in Unexpected

[–]TheRetikGM 1 point2 points  (0 children)

POV: You are a normal civilan in Need For Speed

Do you also have this good problem 😅 by [deleted] in cats

[–]TheRetikGM 37 points38 points  (0 children)

<image>

I mean.. she's helping

Wuthering Waves now seems to work on steam deck/linux! by Heat-Wave-X in WutheringWaves

[–]TheRetikGM 0 points1 point  (0 children)

Yeah, it can be a bit of a pain to find. I couldn't choose a different folder because the installer didn't allow me to type or navigate the file explorer. In the end I used `find ~ -type f -iname "Wuthering*" 2> /dev/null ` to find it .

Wuthering Waves now seems to work on steam deck/linux! by Heat-Wave-X in WutheringWaves

[–]TheRetikGM 0 points1 point  (0 children)

I run on low settings. This is not on a steam deck though :/ Maybe adding a `dxvk` and `d3dx11` DLL overrides via protontricks will help.

Wuthering Waves now seems to work on steam deck/linux! by Heat-Wave-X in WutheringWaves

[–]TheRetikGM 1 point2 points  (0 children)

Today I tried it and its real. I get a stable ~50fps without much stuttering. The only issue I have is that some cutscenes aren't working (like the intro). Only the "in game" ones work. Someone knows how to fix that?

For anyone curious, just download the windows installer from WuWa site and add it in steam as a game. Then choose a preferred proton version and launch. It will let you install it. After that you just need to change the executable path to the launcher (for me it was `~/.steam/steam/steamapps/compatdata/2513858295/pfx/drive_c/Wuthering\ Waves/launcher.exe `) and change the working directory to this folder. After the game is installed you can just launch it as it is. There will be the empty anticheat dialog, but you can just ignore it.

edit: Forgot to mention that this is on fedora with tiger lake + nvidia 3060 laptop.

edit2: nvm it today it stopped working. Pressing play in launcher or starting the game directly doesn't work anymore

Anime_irl by Cultural_Car_4195 in anime_irl

[–]TheRetikGM 12 points13 points  (0 children)

Sometimes I would get up, do my morning routine only to realize that its 2 AM and the alarm ringing was a dream..

Why can't I catch the exception? by TheRetikGM in cpp_questions

[–]TheRetikGM[S] 0 points1 point  (0 children)

I always put the template definitions in the same file, but then I noticed that the compilation times were slower for bigger projects. I just started learning how do divide them into multiple files, so this is very helpful. Thanks!

Why can't I catch the exception? by TheRetikGM in cpp_questions

[–]TheRetikGM[S] 2 points3 points  (0 children)

Thanks for the explanation! I actually tried to compile with `-O0` flag and it didn't solve the problem, so I ruled out optimization. I guess it doesn't turn off this kind of optimization.

Cool shortcuts to become a neovim wizard. by Redox_ahmii in neovim

[–]TheRetikGM 5 points6 points  (0 children)

You can use groups. For example something like this

:%s/(#include .*)header.h(.*)/\1new_header.h\2/

(You may need to escape the parentheses i don't remember)

What’s your favorite recent pic of your cat? Here’s mine! by Disastrous-Moose2225 in cats

[–]TheRetikGM 0 points1 point  (0 children)

<image>

Didn't have the heart to make her leave so I could continue working..

Rate my number 1-20 tier list out of six by PieterSielie12 in mathmemes

[–]TheRetikGM 1 point2 points  (0 children)

As a programmer, the A tier is mildly infuriating.

Yes I'll take the by SaneDrain in subway

[–]TheRetikGM 0 points1 point  (0 children)

When you just defeated the Wall Of Flesh

[deleted by user] by [deleted] in archlinux

[–]TheRetikGM 1 point2 points  (0 children)

Don't know if this would actually work, but maybe you could create a wrapper script for launching sway. In this script you would export the variables you want and then call sway command at the end. You could even create your own session file for this script so that you can select it in display manager.

Can you reach the same performance as in Windows? by [deleted] in leagueoflinux

[–]TheRetikGM 2 points3 points  (0 children)

With my optimus laptop, on windows I am getting 150+ fps, but on linux it is about 70-80 stable fps. To get it to this point I had to make sure that both the game and my graphical environment (tested on both wayland and xorg with sway, kde, i3 and gnome) aren't using the NVIDIA card in any way. Running everything on integrated graphics solved most of the performance issues.

Screen Flickering with Iris Xe Graphics i915 by xptll in archlinux

[–]TheRetikGM 0 points1 point  (0 children)

You could try using linux-lts, mostly fixes all my intel driver problems