• 0 Posts
  • 33 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle




  • Might have some trouble if it’s a typec dock and the monitors are connected to it. Laptop’s own outputs might also be wonky if there’s a hybrid gpu setup going on, but support for thosr has improved a ton lately. Mkb should work fine out of the box as long as it’s not some unified proprietary bullshit wireless kit with smarfridge integration.

    Overall, I would suggest just ripping an image of ubuntu, or pop_os if you got nvidia card, boot off it, just close the installer to try live mode, and see for yourself if everything works. Takes like an hour to do, no installation required. You can even install software, except gpu drivers, as everything would be all wiped on reboot and gpu drivers need reboot, hence popos suggestion as it has them built-in. You can try remmina on it - it’s the most common remote control software, supports both rdp and vnc and a bunch of other obscure protocols.




  • Exactly! I rant about this a lot, but I know at least couple of people who run with laptops that have broken audio. As it turns out, installing sound card drivers is not really an option as the janky-ass drivers that the manufacturers put out nowadays can irreparably brick your entire system. It is beyond my understanding why recovery, restore, and even safe mode would even try to load them in the first place, but, apparently they do, and then crash before you could even do anything, leaving re-install as the only option.

    Meanwhile, I rm -rf-ed my /boot directory the other day, and then df-ed a couple gigs of /dev/zero straight into /dev/sda. Got it back up running in just a few hours… of kicking myself for why would I do such a stupid thing.





  • Windows, too. Turns out, there’s a hard-coded image size limit. If you’ve got a ~5k screen or bigger, or equivalent size virtual desktop with multiple monitors - you gotta find a way to compress it below limit. Nope, webp is not accepted, even though it is perfectly capable of using it.



  • Do you want the overview XML or for a specific category within virt-manager?

    A full XML, unless you have something private in there, which you can remove. I just remember that for nvidia’s there could be parts preventing load anywhere. In my case, for example, it was booting a BIOS VM instead of UEFI one.

    shows both my GPUs are there now

    But what’s the driver used? Should be something like this (my laptop for example, without irrelevant lines)

    01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [Geforce RTX 3070 Ti Laptop GPU] (rev a1)
    	Kernel driver in use: vfio-pci
    01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
    	Kernel driver in use: vfio-pci
    06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt (rev c7)
    	Kernel driver in use: amdgpu
    06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1640
    	Kernel driver in use: snd_hda_intel
    

    the BM says iommu group is not viable

    Well that’s something. Check the script at arch wiki on VFIO, at the paragraph “2.2 Ensuring that the groups are valid”. It should print out the IOMMU groups you have in your system.

    Basically, a thing with IOMMU is that you must pass all or none of the devices down to VM within each IOMMU group, even if you don’t necessarily want them in your VM. In most cases, that means also passing the built-in sound card that feeds audio via HDMI outputs (the .1’s in the above example). In cases where there’s something else crucial in that IOMMU group, there’s ACS patch but that’s a hack and should only be used as a last resort.





  • It’s generally a lot more control-able with a terminal. I can remote into any of my machines, including IOT stuff, and have full control over any of their settings, like, say, volume or display brightness or whatever. With GUI it’s like what, RDP/VNC/Teamviewer in? Gonna be painful over mobile connection… Apps? The developer just went bankrupt and now it’s dead because the cloud server is down. And I haven’t even started on automation…

    Also, changing multiple behaviours in one place is also nice. Say, I want to remove the volume osd and control how I want to manipulate windows. It’s either an array of small disconnected utilities(in this case, HideVolumeOSD + AltDrag), or huge RAM hogger utilities like DesktopFusion, or, I can just edit it in my WM config with just a couple of lines. Things like adjusting volume based on window position (to have a background and foreground media displays) is completely out of the picture on Windows and are a breeze on Linux.

    In short, lots of benefits. The downside, I guess, is a complete disarray of components. Like in case of volume again, I have pipewire daemon pretending to be pulseaudio which is middleware for alsa… and all of their corresponding utilities work but control the same thing, so it’s incredibly confusing which ones to use. Also webapps for some reason can control their own volume in the system mixer(?) So there’s at least 4 ways to adjust just one slider. And it can create confusion when multiple things interact with different interfaces - I’m still to figure out which fucking thing keeps setting the grp:alt_shift_toggle option in my keyboard layout.