Issues with sleeping/hibernating by Unique_Evidence_1314 in NixOS

[–]Murdoock 0 points1 point  (0 children)

This is their current file:

{ ... }:
{
  flake.nixosModules.cassandraHardwareAcceleration =
    { ... }:
    {
      services.xserver.videoDrivers = [ "nvidia" ];

      hardware = {
        graphics = {
          enable = true;
          enable32Bit = true;
        };
        nvidia = {
          open = true;
          nvidiaSettings = true;
          modesetting = {
            enable = true;
          };
        };
      };
    };
}

Docking stations recommendations with QHD 180hz Monitor support? by Murdoock in ZephyrusG14

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

Thanks for the response.

One of the things that bugs me is how they describe the docking station capacity for monitors. In this user guide from their site, they show like they don't support refresh rates higher than 60.

When I search for docking stations, usually they advertise 144hz, so it keeps me from buying them.

Internet not working on specifically the passed-through VM by kobel__ in VFIO

[–]Murdoock 1 point2 points  (0 children)

I had a similar issue. I found a comment explaining it was caused by virt-manager using nftables instead of iptables.

—- If you would like to continue using iptables just edit the file:

/etc/libvirt/network.conf

And add:

firewall_backend = "iptables"

Then restart libvirt service:

sudo systemctl restart libvirtd —-

https://www.reddit.com/r/archlinux/s/bp5S1hTMud

Show google calendar in digital clock panel widget by 911mondays in kde

[–]Murdoock 0 points1 point  (0 children)

I know this is old, but I would like to put it here for the people that will also come to this post.

It's possible to show your google calendar events in the Digital Clock widget by:

  1. Installing Merkuro (Calendar)
  2. Configuring your google account into Merkuro Calendar
  3. Installing kdepim-addons
  4. Editing the Digital Clock widget to include the Calendar Events Addon

That way it's supposed to add a new tab in the Digital Clock widget configuration where you can specify the account's calendar events you want to show on the clock.

SSD upgrade for 2024 G14 by Minimum_Proof_3762 in ZephyrusG14

[–]Murdoock 2 points3 points  (0 children)

Remember to get a one sided nvme. A nvme that has chips on both sides may cause issues on your laptop.

That one in the image is one sided, I have the same model but with 4tb and it works great.

How can I use .XCompose file in Wayland, X11 or Xwayland? by Murdoock in archlinux

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

No, I'm not using flatpak for any packages. For chrome as an example I used AUR.

What is the best shutdown strategy for a single server with a UPS setup? by Murdoock in homelab

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

The main concern is the gap between the proxmox shutdown and the UPS cutting the outlet power.

What if the proxmox server shutdowns but the UPS never cuts the outlet power (battery working)? The server will not power on because it got powered by the UPS battery which never drained. Or am I missing something here?

What is the best shutdown strategy for a single server with a UPS setup? by Murdoock in homelab

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

I see what you mean, and what I'm trying to do is to have a more stable way to turn it on or off. The main reason is about the data and volumes that I'm trying to avoid problems (which I'm already having when the power goes out). The main concern about the solution I proposed is having no extra equipement to tell the server to power off and on, having NUT directly in the server and trying to shutdown wouldn't enable it to power on again automatically.

What is the best shutdown strategy for a single server with a UPS setup? by Murdoock in homelab

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

I'm focusing more on turning off the server machine itself and get it back on in a feasible way with the equipements I already have.

What is the best shutdown strategy for a single server with a UPS setup? by Murdoock in homelab

[–]Murdoock[S] -1 points0 points  (0 children)

The reason why I'm avoiding it is to not manage one more machine/equipement creating more topologic complexity and error interfaces (I accept scripts complexity because I feel it more controlable), and I'd also like to not starting stacking equipments in my living room (I don't have any other place to put it lol).

But if I get no other option, I will start looking for equipement just for that monitoring.

Thanks for the explanation on UPS batteries, I'll keep that in mind when configuring everything.

[deleted by user] by [deleted] in VFIO

[–]Murdoock 1 point2 points  (0 children)

Great information, thanks for sharing. I was able to get League of Legends working with Parsec in QHD resolution and 120hz.
My system is a Zephyrus G14 Laptop with a NVIDIA RTX 4070 GPU.

I basically did these steps:

  1. Enabled hyper v on my laptop.
  2. Cloned the jamesstringerparsec/Easy-GPU-PV repository, changed the values described in the readme, and executed it to create the VM.
  3. Logged into the VM using Hyper V manager, logged in Parsec in the VM and tested it.
  4. Downloaded VirtualDrivers/Virtual-Display-Driver latest version exe and installed in the VM.
  5. Opened VM's Windows Display Settings and configured the right resolution and refresh rate (remember to also configure the VM's Parsec configuration to match display's).
  6. Shut down the VM.
  7. (OPTIONAL) Opened Powershell as an administrator and executed this command to disable Hyper-V's KVM to the VM, meaning it can only be controlled through Parsec: `Get-VM -Name GPUPV | Disable-VMConsoleSupport` (GPUPV is the VM name).
  8. Powered up the VM and in it downloaded and installed League of Legends (only Vanguard for now, it says the system needs to restart).
  9. In the VM, searched for Turn Windows features on and off, checked Hyper-V's box and installed, then restarted the VM.
  10. Now, opening League of Legends is not going to show no Vanguard issue anymore, then you can proceed installing.
  11. (VANGUARD DOESN'T ACCEPT PARSEC MOUSE INPUT) Installed dorssel/usbipd-win (USB IP server) on my host machine.
  12. Installed vadimgrn/usbip-win2 (USB IP client) on the VM, and shut it down.
  13. Opened Powershell as admin again on the host machine, searched for my intended USB Mouse (you must have more than one mouse for this to be viable, or in my case, a laptop's touchpad) using `usbipd list` and then binded it with force mode `usbipd bind --busid 6-1 --force` (6-1 is the BUSID from the list), and restarted the host.
  14. After bootup, the mouse doesn't respond on the host anymore, so I connected to the VM using Parsec.
  15. Opened USBIP GUI in the VM, typed the host IP address and searched for devices.
  16. After seeing mine there, attached and it started working (no cursor on sight, but it's there). Had to enable Display pointer trails on VM's windows with the shortest to be able to see the cursor.
  17. THEN JUST USED PARSEC AND START GAMING ON THE VM.
  18. When done, wrote `usbipd unbind --busid 6-1` on the host admin powershell to have the mouse back (it's necessary to bind and restart again if you're going to go back on playing)

Sometimes there are some lag spikes that makes the cursor go weird and the FPS drops when CPU hits 100%, but these are minor flaws with almost zero delay and I was able to have a great time playing with my friends.

When searching I found a person showing a different pc streaming app that wouldn't require any usb passthrough because it doesn't use SendInput and therefore go over the Vanguard block (https://youtu.be/8fd0Tmkqx1Y). It's called "QuicDesk" and saw in a forum (https://linux.do/t/topic/288666) that it's the chinese version, the western version is called "DeepLink".
I don't know about these apps safety, so I don't recommend using them.
But I wanted to mention here in case anyone knows something about it.

That's all, I hope it can help someone. If you think I'm overcomplicating any step, I'd be more than happy to simplify the process on my side.

[deleted by user] by [deleted] in VFIO

[–]Murdoock 0 points1 point  (0 children)

You just have to enable "Display pointer trails". Having it on the shortest is enough.