• 5 Posts
  • 21 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle
  • I actually do own an external usb sound card, this problem doesn’t happen there. I don’t use it because it has a severe crackling/static noise constantly playing, I could also never figure it out. My luck with audio in Linux is just not there. EDIT: after further testing, it also happens there but I REALLY have to boost both the mic and sound volume. But it happens, which is scary.

    I was imprecise in the description of my connection. My headset only has one of 3.5mm who has both micro + headphone combined, like the one you use on your smartphone. I think it’s called TRSS. I then use the Y cable that came from with my headphones to split it into two separate 3.5mm connections, one for input and another for output. When I disconnected my headphones, the Y cable remained connected to audio card. It appears that the Y cable is the source of the problem.

    If I only use the microphone jack of my Y cable, and connect my speakers to the sound card output, it works fine. The should outputs the the speakers, the input comes from my microphone and it doesn’t loopback.

    I’ve tried a second pair of Y cable but the same is happening. Both are oficial Beyerdynamic cables, maybe swapping to another brand could fix it?

    At least now I can make some sense out of the problem, even if I’m unable to fix it. I opened a bug report on pipewire as you suggested but I doubt anything will come out of it. I think I’ll just buy a non-ancient USB sound card and see how that works out for me.






  • If you’ve already installed vanilla arch on your laptop then you’re good to go, that’s the hard part. EndeavourOS has a very user friendly installer but still uses Arch’s official repos. I like to think of it as a quickstart installation, but still feels pretty much like arch. I wouldn’t recommend Bazzite to a main computer, especially since I believe their gaming stack is optimized for AMD.

    Gaming on arch/endeavour is pretty straight forward

    • Install your nvidia drivers
    • Install steam
    • Go to Steam > Settings > Compatibility and enable “Enable Steam Play for all other titles”
    • Play your games

  • Boot up a VM and install vanilla Arch Linux using the wiki instead of archinstall. Notice that Arch Linux isn’t very pretty out of the box and take the time to set some “sane defaults”. Imagine having a person who is new to Linux to jump through all those hoops when they’re not even sure if Linux is for them. Imagine all the little things that could have gone wrong in this process and how a clueless person would react to them.

    EndeavourOS is extremely easy to install. Next next next and it’s done. It looks pretty out of the box and has sane defaults. The only reason I don’t recommend Endeavour to newbies is because it lacks a software manager/store, which REALLY help newbies out. The very frequent updates are also not for everyone.

    I love EndeavourOS but it’s certainly not for everyone.




  • I have tried the PROTON_HIDE_NVIDIA_GPU=1 before and I can tell you it definitely helps. The game is unplayable without it, to be honest. The VRAM still fills up but it’s not instantly, it takes quite a while. Makes the problem manageable.

    Edit: Several people have reported that this VRAM bug doesn’t happen on AMD cards. If you happen to have one, you might give it a try.

    Unfortunately I do not. I bought this nvidia card long before I switched to Linux and boy, do I regret it.


  • I believe that config needs to be in the working directory context of the game, but maybe I’m misremembering that.

    Yep, I tried that as well. I have the exact same file in /gamedrive//SteamLibrary/steamapps/common/Diablo IV/

    If upon starting your game, it immediately starts using 10GB of vid mem, then that is what is needed by the game to run. Setting this to 8GB is going to magically make it run by using less.

    But the game does quickly fill 10GB with both low and ultra settings. It hints to me that the game doesn’t need 10GB to run. It just makes use of the available memory. My theory is that using 8GB would at least make my desktop usable. Currently, switching to my browser in the second monitor can break the game. If I never focus out of the game it doesn’t break.

    • Problem occurs in both x11 and wayland
    • Window vs fullscreen makes no difference
    • ProtonDB has some additional flags, I tried them all
    • I tried several proton versions from 8 to 9, GE and no GE. Made no difference

    See if you can force a specific renderer that is more stable.

    What are the available options? I haven’t tried this.

    Thanks a bunch!







  • I’m very happy to report that I found a solution to the problem: keyd. It’s amazing.

    Instructions on the github project are crystal clear, but I’ll leave some instructions below for Arch Users

    yay -S keyd

    sudo systemctl enable keyd && sudo systemctl start keyd

    Now you can configure the /etc/keyd/default.conf file to your hearts desire. keyd is very feature rich, check the man page to see everything you can do. You can even add layers to your keyboard. Very sweet.

    My personal configuration so far (I will definitely expand it later when I bump into more problems)

    [ids]
    *
    
    [main]
    ' = oneshotm(apostrophe, ')
    
    [apostrophe]
    a = a
    b = macro(space backspace apostrophe space b)
    c = macro(backspace G-,)
    d = macro(space backspace apostrophe space d)
    e = e
    f = macro(space backspace apostrophe space f)
    g = macro(backspace apostrophe space g)
    h = macro(space backspace apostrophe space h)
    i = i
    j = macro(space backspace apostrophe space j)
    k = macro(backspace apostrophe space k)
    l = macro(backspace apostrophe space l)
    m = macro(backspace apostrophe space m)
    n = macro(backspace apostrophe space n)
    o = o
    p = macro(space backspace apostrophe space p)
    q = macro(space backspace apostrophe space q)
    r = macro(backspace apostrophe space r)
    s = macro(backspace apostrophe space s)
    t = macro(backspace apostrophe space t)
    u = u
    v = macro(space backspace apostrophe space v)
    w = macro(backspace apostrophe space w)
    x = macro(space backspace apostrophe space x)
    y = macro(backspace apostrophe space y)
    z = macro(backspace apostrophe space z)
    

    After editing /etc/keyd/default.conf make sure you run sudo keyd reload