• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: August 11th, 2023

help-circle

  • Running: swaymsg for_window "[app_id=mpv] opacity 0.5"

    Works as expected on my end, are you missing just executing for_window?

    Note, you can also add multiple rules in the same execution, e.g.

    for_window {
        [app_id=mpv] opacity 0.85
        [app_id=LibreWolf] opacity 0.85
    }
    

    Also, note that app_id of LibreWolf is capitalized in that manner. You can get that information [app_id, shell etc] by running swaymsg -t get_tree





  • Start with the basics, do you see your Nvidia GPU pop up when using vulkaninfo --summary?

    If it doesn’t pop up, verify that you have the correct vulkan ICD files in: $ ls /usr/share/vulkan/icd.d/

    There you should have nvidia_icd.json, nvidia_layers.json. If that’s missing, you’re missing the nvidia-utils part of the driver.

    If they are there, but it still don’t show in your vulkaninfo sumary, you could try to load the nvidia driver manually; modprobe nvidia, also check the kernel logs journalctl -k or dmesg and search for nvidia to see whether the driver got loaded correctly?




  • I’ve tried running steam with the dedicated GPU option

    What exactly are you running to choose the dedicated vs integrated GPU?

    I also get the freezing issue without running with the dedicated GPU when I launch steam but found that launching directly to the steam settings window from the menu reduces the chances of freezing.

    Hmmm, whenever this happens, it might be worth looking at the kernel logs, see if something crashes. You can check them with either

    journalctl -k -xef or dmesg

    Kernel: 5.15.0-82-generic

    In general it’s recommended to stay on newer kernels/mesa when using the open source GPU drivers, could be worthwhile trying to update that (think there’s a PPA you can pull from)