SavvyBeardedFish

joined 2 years ago
[–] SavvyBeardedFish@reddthat.com 7 points 10 months ago (2 children)

If I remember correctly the default sudo timeout is set to 5 minutes on Yay, you should be able to increase it to something more reasonable

[–] SavvyBeardedFish@reddthat.com 1 points 11 months ago (1 children)

Additionally you can try and force use amdgpu rather than radeon, by setting the kernel flags:

radeon.cik_support=0 radeon.si_support=0 amdgpu.cik_support=1 amdgpu.si_support=1 amdgpu.dc=1

Source

[–] SavvyBeardedFish@reddthat.com 1 points 11 months ago (2 children)

Device initalization failed according to the Xorg logs;

  1. Dump your firmware version
  2. Dump your kernel version
  3. Dump your kernel logs (dmesg or journalctl -k)

No bios update, but you most likely received both microcode updates (which is what will fix/mitigate the Intel issue, the bios is only to ensure everybody gets the microcode update) and firmware updates (from linux-firmware)

Of course non-mainlined (i.e. not in the linux kernel) firmware is a bit more iffy, luckily it's getting slowly better with OEMs using fwupd for those scenarios

[–] SavvyBeardedFish@reddthat.com 11 points 1 year ago (1 children)

Could it be an issue with the Nvidia drivers, boot with acpi=off and then install the (proprietary) nvidia drivers and then reboot to see if it boots normally now?

[–] SavvyBeardedFish@reddthat.com 6 points 1 year ago* (last edited 1 year ago) (2 children)

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

[–] SavvyBeardedFish@reddthat.com 6 points 1 year ago (2 children)

Feel like most people still do the scripting in Bash for portability reasons, and then just run Fish as the interactive shell

[–] SavvyBeardedFish@reddthat.com 17 points 1 year ago (2 children)
[–] SavvyBeardedFish@reddthat.com 1 points 1 year ago (1 children)

Nice, then you should be able to run vkcube to verify whether your GPU is activated properly.

You can do several "iterations" here as well.

  1. Install Mangohud so you can visibly see if your GPU is activated correctly
  2. Run mangohud vkcube-wayland - Does it use your Nvidia GPU?
  3. Run mangohud vkcube - Does it use your Nvidia GPU?

If Step 2 nor 3 shows your Nvidia GPU you can try and force it with: mangohud vkcube-wayland --gpu_number 0

[–] SavvyBeardedFish@reddthat.com 3 points 1 year ago (3 children)

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?

Breaking Linux every week or every other week? That's almost impressive!

[–] SavvyBeardedFish@reddthat.com 2 points 2 years ago* (last edited 2 years ago)

From: This thread

Seems like you can try and debug the execution by running switcherooctl launch *application*, which should (manually) do the same as when you right click and click Launch with dedicated GPU, because I think Mint is using switcheroo, same as Gnome is.

But would then hopefully log some debug information for you in the terminal itself

view more: ‹ prev next ›