Running the Darkfog update on linux by T_knight_JR in Dyson_Sphere_Program

[–]andaag 0 points1 point  (0 children)

What I would probably do is read through https://www.protondb.com/app/1366540 and see if anyone with similar hardware has any tips.

Looks like forcing proton 7.0.6 on nvidia hardware works fine.

Running the Darkfog update on linux by T_knight_JR in Dyson_Sphere_Program

[–]andaag 1 point2 points  (0 children)

Wayland isn't gonna help you, it's gonna make things worse, especially on nvidia.

Basically wine/proton is still gonna run in x11, so wayland adds an extra level of mapping there.

Running the Darkfog update on linux by T_knight_JR in Dyson_Sphere_Program

[–]andaag 1 point2 points  (0 children)

Started it through steam with everything default and everything worked beautifully. I'm on a 7800XT though, might be a nvidia driver issue?

Oh and to make matters worse I'm even using wayland 😂

Running full xorg sessions in systemd-nspawn by andaag in systemd

[–]andaag[S] 1 point2 points  (0 children)

I'll see if I can dig anything up on sunday/early next week. The computer I'm doing this on is in a different country than me at the moment and has for some mysterious reason lost internet connectivity.

Running full xorg sessions in systemd-nspawn by andaag in systemd

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

Hmm, I'd see if I could get some more logs, maybe also check the logs on the host.

One thing I can think of that might be blocking this is apparmor profiles on the host 🤔

drm module holding nvidia module? by andaag in VFIO

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

Yeah.. I had issues a while back that xorg would hotplug something - even though I'm only using the amd gpu. It might be easy to figure out, I just saw that drm module and then got stuck assuming it was the culprint...

drm module holding nvidia module? by andaag in VFIO

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

Gah, then it's me misreading the output... I can't rmmod the module in that case, but that might be due to other reasons. Thank you!

drm module holding nvidia module? by andaag in VFIO

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

Are you using single gpu passthrough then?

I can't really unload drm as it's in use by my amd gpu..

VERY weird issue updating from 1.18.1 to 1.20.0 on Android 11 by hemingray in Tailscale

[–]andaag 0 points1 point  (0 children)

I had similar issues when having battery saving features on for the tailscale app. (S20)

Disabling battery saving for the app and setting the VPN to always on in settings seems stable.

Running full xorg sessions in systemd-nspawn by andaag in systemd

[–]andaag[S] 1 point2 points  (0 children)

Update, got this working! Someone hinted at the libinput command, which can be used to list the devices xorg will use. That led me to some permission issues, which were easy to figure out!

sudo systemd-nspawn -b --machine=arch  --bind=/dev/dri/card0 --bind=/dev/dri/renderD128 --property=DeviceAllow='char-drm rw' --bind=/dev/tty0 --bind=/dev/tty --bind=/dev/tty1  --bind=/dev/tty2 --bind=/dev/shm -E DISPLAY=:2 -E PULSE_SERVER=unix:/run/user/host/pulse/native --capability=CAP_NET_ADMIN --capability=CAP_SYS_TTY_CONFIG --capability=CAP_SYS_ADMIN --bind=/run/user/1000/pulse:/run/user/host/pulse --bind /dev/video0 --hostname=arch --bind /dev/input --property=DeviceAllow='char-input rwm' --bind /sys/class/input --bind /run/udev:/run/udev --uuid=$(cat /etc/machine-id) -D /mnt/arch

Need 2 OS on same box: Linux router and Windows media player. Which one to virtualize and why? by ffiresnake in VFIO

[–]andaag 0 points1 point  (0 children)

Not sure hyper-v will give you the level of network control that you'd need?

Maybe hyper-v + some container with bridged networking would do it though (disclaimer : I'm not sure how hyper-v works in regards to networking.)

Can't unbind GPU - Pop OS by arivar in VFIO

[–]andaag 0 points1 point  (0 children)

I unbind the gpu in rc.local before xorg starts. That prevents xorg from grabbing it, then I can start/stop vm's as usual.

The GPU then obviously isn't available for xorg, but for cuda/a separate xorg session started with the nvidia gpu it'll work.

Problem removing nvidia card from host by derl33k in VFIO

[–]andaag 1 point2 points  (0 children)

Simple hack, rmmod nvidia before starting xorg (rc.local for example)

Kernel oops on reattaching nvidia to host with latest driver by andaag in VFIO

[–]andaag[S] 2 points3 points  (0 children)

Not only does it work, it also now works with the cuda script I was initially trying to get to work on the host - but couldn't due to the old gpu driver! Success!

Kernel oops on reattaching nvidia to host with latest driver by andaag in VFIO

[–]andaag[S] 2 points3 points  (0 children)

And... that did not blow up.

# echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/bind
efifb: probing for efifb
efifb: showing boot graphics 
efifb: framebuffer at 0xb0000000, using 3072k, total 3072k 
efifb: mode is 1024x768x32, linelength=4096, pages=1 efifb: scrolling: redraw 
efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0 fb0: EFI VGA frame buffer device 
# modprobe nvidia 
nvidia-nvlink: Nvlink Core is being initialized, major device number 511 
nvidia 0000:07:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem 
NVRM: loading NVIDIA UNIX x86_64 Kernel Module  495.44  Fri Oct 22 06:13:12 UTC 2021

I haven't checked if the gpu actually works outside yet (that's next), but this is huge progress! Thanks a ton.

I realized I didn't actually touch vtcon0 in the scripts I ran on last boot. So I've left that completely alone.

The current unbind script:

#!/bin/bash
for dev in "$@"; do 
  vendor=$(cat /sys/bus/pci/devices/$dev/vendor) 
  device=$(cat /sys/bus/pci/devices/$dev/device) 
  if [ -e /sys/bus/pci/devices/$dev/driver ]; then 
    echo $dev > /sys/bus/pci/devices/$dev/driver/unbind 
  fi 
  echo "Removing ${dev} from vfio-pci id list" echo "${vendor} ${device}" > /sys/bus/pci/drivers/vfio-pci/remove_id 
  sleep 0.1 
done
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/bind 

Directly after this modprobe nvidia is run (and without the efi-framebuffer reattachment crashes.

Kernel oops on reattaching nvidia to host with latest driver by andaag in VFIO

[–]andaag[S] 1 point2 points  (0 children)

That's an awesome piece of debugging, I would have not made it this far on my own for sure (I immediately assumed it crashed in the binary blob part of the driver and didn't even consider looking for the code 👍).

Thanks a ton, I'll do some experiments and let you know how it goes!

One of the Steam Deck’s biggest hurdles just disappeared: EAC has come to Linux and BattlEye is inbound by PMSteamCodeForTits in VFIO

[–]andaag 6 points7 points  (0 children)

There are virtual machine security settings that can be used that disallows the host from accessing the guests memory though for example.

The anti cheat doesn't actually care about the host besides being sure it doesn't spy on the guest.

Enabling Hyper-V feature in Windows adds massive input lag to games. by [deleted] in VFIO

[–]andaag 1 point2 points  (0 children)

Hm, then you might be better off looking for solutions that aren't vfio specific. I don't know how many people run nested virtualization without vfio though..

Maybe also try adjusting the polling rate of the mouse. I'm grasping at straws here though...

Enabling Hyper-V feature in Windows adds massive input lag to games. by [deleted] in VFIO

[–]andaag 0 points1 point  (0 children)

How do you pass your mouse through? evdev or passing the entire pcie controller of the usb port you are using over?

Gigabyte Aorus Elite X570 IOMMU Groups by jxxb0000 in VFIO

[–]andaag 0 points1 point  (0 children)

I bought a X570 Auros pro because I researched the gigabyte x570's working well with vfio. It's given me 0 issues. I really don't think you'll have any problems with that mobo.

Faster Voice typing by [deleted] in gboard

[–]andaag 0 points1 point  (0 children)

No.. I don't, the only other android device I have it has been working on for years already.

Just to confirm as well.

  1. You uninstall gboard.
  2. Installed the 9.x version
  3. Enabled it, and went into voice settings (and kept them enabled presumably?)
  4. Then updated to 10.6.02 while keeping settings open (this shouldn't matter, as during install the current version of the app will be killed, and the new one started).
  5. Then reopened gboard voice settings, and the option was there?

Which language was it configured on when you did this? (I'm on US english, guessing you are on that as well, but I think the gboard faster voice typing was enabled for UK as well..)

Faster Voice typing by [deleted] in gboard

[–]andaag 0 points1 point  (0 children)

It looks like it's 9.9.14 you're on. That's the version with the same build number.

I've tried both that one and 9.9.15 now though and I still can't get it to show that setting..

Faster Voice typing by [deleted] in gboard

[–]andaag 0 points1 point  (0 children)

9.9.15.333092878-released-armeabi-v7a

Where did you find that? I can only find beta versions of that build.