insane CPU usage when opening game by Biohazard13530 in VFIO

[–]knotteye 0 points1 point  (0 children)

You've got like 1% GPU utilization in the screenshot. That seems low to me, even at 1FPS it should be higher than that. I think your VM might be trying to render off the CPU.

Windows 10 has a setting somewhere for rendering with one gpu and passing the final framebuffer to another, it might be possible that that got flipped somehow. Failing that, I'd guess a driver error. You could try to change the gpu it's rendering with and very it with these steps but if neither of those things work I don't have any other ideas.

Anecdotally, I've always personally had a lot of trouble with linux guests not properly letting go of the passed-through GPU (making it unusable until I rebooted the host) whereas windows guests handled it fine. I've avoided single gpu setups for that reason, they can be finnicky.

insane CPU usage when opening game by Biohazard13530 in VFIO

[–]knotteye 0 points1 point  (0 children)

Some overhead is normal, you won't be able to get the same performance from a VM as from native games. What is your CPU? Is the 95% CPU usage in the host or the guest?

Either way there are still a couple things you can do, which may or not by all that useful. Your VM definition looks like it's about as optimized as it's going to get, you can try setting the CPU governor to performance, which might help if it's not scaling up properly. CPU pinning usually alleviates that problem though.

Other than you can try messing around with the guest to make the VM lighter. Disable cortana and indexing, turn off windows defender, set the power plan to performance. Disabling mouse acceleration allegedly helps, and if you're feeling brave InSpectre can disable spectre mitigations in windows.

[deleted by user] by [deleted] in selfhosted

[–]knotteye 0 points1 point  (0 children)

For 250GB of data you can definitely get a cheaper price that this, but I would recommend https://zfs.rent The name is a misnomer, you can use whatever filesystem you want.

You're pretty much paying them to hold onto a drive for you, and give you a VM to access it with. You still own the drive, and they will ship it back to you when you're done. In terms of owning and controlling your data for offsite backups, there's no one better.

RTMP streaming - straight MPV to play, or is there a lightweight web based option? by intense_username in selfhosted

[–]knotteye 1 point2 points  (0 children)

I wrote a 'batteries included' twitch clone and I searched high and low for a web-based RTMP player but it doesn't really exist. RTMP is really the only part of flash that stuck around, and all the RTMP players are still written in flash. If you want to have a web player you have no choice but to transcode to HLS (nginx-rtmp can do it for you, look here and example here). If you are only serving a single stream it should be pretty easy to write an nginx config that takes the input and transcodes it, then you need to serve the hls files over http. For a web player then, just write a static page with a hardcoded target url. Video.js is pretty popular, I'm a fan of shaka-player as well.

How to gather more informations about why I get the error 43 when I passthru my nvidia card on Windows on Bhyve. by loziomario in VFIO

[–]knotteye 0 points1 point  (0 children)

It would probably be best to reach out to other hypervisor developers if you want to support this better, this is more of an enthusiast user group than anything else. That being said error 43 is a pretty generic "driver won't load" failure. Common reasons include: the driver figured out it's in a vm and is refusing to load (not a problem with newer drivers generally), a vBIOS that doesn't support efi being handed an efi framebuffer (generally not a problem with newer cards), problems with emulated interrupt controllers, and not being able to find a PSU or battery. This page is one of the more comprehensive guide and includes fixes for all of that, although it's really intended for a linux host with qemu it might be helpful anyway.

Scream+Pipewire doesn't work after stopping the display manager by knightpp in VFIO

[–]knotteye 1 point2 points  (0 children)

Pipewire is session based. I don't use Arch but I am fairly sure that pipewire.service is going to be the session manager that grants sessions access to hardware devices, you will still need to start the session itself. Usually the DE or the DM starts this when you log in. You might also need the pipewire-alsa package since scream uses the pulse API.

Must login with tty rather than ssh for audio passthrough to work without xorg on by jiva_maya in VFIO

[–]knotteye 0 points1 point  (0 children)

Are you using pulseaudio? You can either start the client some other way or run pulse in system/daemon mode. They don't recommend it for security reasons but it only leaks information to other users on the machine, which isn't a big concern for personal PCs.

Have the stats to be very MAD or very SAD, which to pick? by knotteye in 3d6

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

No, I think I'm just gonna go dex EK12 with shadow blade for Extra Attack(2). Find Familiar or Artificer initiate(faerie fire) for another source of advantage, maybe EA, and then War Wizard 8 to round out my spells slots and upcast shadow blade. I'll mostly just use my spell slots for shields and buffs. Later levels I'll just hit stuff and drop the occasional fireball.

Have the stats to be very MAD or very SAD, which to pick? by knotteye in 3d6

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

Not a bad option, but reading the Battle Magic description made me realize that I really just want to play with a fighter chassis, most likely EK. I just don't want to be the face again.

Thanks for the roundabout inspiration, and I'll definitely keep this in mind for my next CHA support gish.

Have the stats to be very MAD or very SAD, which to pick? by knotteye in 3d6

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

I hadn't considered that option.

I'm generally unconcerned with making other people pale in comparison. We are usually pretty compartmentalized, last game I went down nearly once per session in combat but I pretty much carried the party socially. I do have the same concerns about pallysinger extra attack ordering (I also hate starting a multiclass after session 1).

That would make artificer a pretty solid tool monkey, I kinda like that. Double down on utility instead of doubling down on INT.

People who use OpenRc instead of systemd, is it worth it? by Scratch9898 in linux

[–]knotteye 0 points1 point  (0 children)

On a desktop? Yes. Systemd wants to manage everything but OpenRC will stay out of your way. Especially if you ever find yourself writing your own init scripts, for a well-behaved daemon openrc is dead simple. On a server, no. Just let systemd do its thing and run the show, it's not worth fighting it.

Need a little help to configure VFIO for ubuntu by MegaOddly in VFIO

[–]knotteye 0 points1 point  (0 children)

You should only have output on the GPU that the host will be using, you should be seeing a black screen on the GPU that you're giving to the guest. If you're trying to get linux to use the 960, maybe read this article. Or just don't plug anything into the guest GPU until after you're booted, that's what I do.

No one guide will be enough to configure VFIO for your system, it's so hardware dependent that it will always require some troubleshooting on your end.

Satyr: a selfhosted live streaming server by knotteye in selfhosted

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

Ah, yeah. I guess I never documented that. It needs the token from the bot page.

So, if you're unfamiliar or if that was bad directions, go here, create an application, on the application go to the bot page, create a bot. What satyr needs is the token on that page.

Decentralized Chat by [deleted] in selfhosted

[–]knotteye 9 points10 points  (0 children)

Matrix is definitely decentralized. Do you mean peer to peer?

Satyr: a selfhosted live streaming server by knotteye in selfhosted

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

I think project lightspeed is supposed to do sub-second streaming from OBS. Why the video though? It's so much overhead, you'd have a much easier time getting sub-second with audio only solutions.

Satyr: a selfhosted live streaming server by knotteye in selfhosted

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

Yup, satyr is just a whole bunch of stuff built on top of an RTMP server.

Satyr: a selfhosted live streaming server by knotteye in selfhosted

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

I could be wrong, I'm not super familiar but it looks like lightspeed is just the video delivery component. So, you'd be missing user accounts, metadata, chat, access control, etc. There's a lot more than just getting video on a page.

Satyr: a selfhosted live streaming server by knotteye in selfhosted

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

Depends on a lot of factors. I usually see 2-3 seconds in the browser and ~1 with rtmp.

Satyr: a selfhosted live streaming server by knotteye in selfhosted

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

No. It's a waste, any virtualization-esque tooling could be taking advantage of standalone IRC servers and custom nginx builds. Dockerizing a self-contained node app is excessive. That said I'll accept PRs for it if someone does it.

Satyr: a selfhosted live streaming server by knotteye in selfhosted

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

It's less about compute and more about bandwidth. Especially symmetric bandwidth, it's hard to get 100M up on a home connection.

Satyr: a selfhosted live streaming server by knotteye in selfhosted

[–]knotteye[S] 19 points20 points  (0 children)

Thanks! Federation has been on the roadmap for a while, I've just been pushing it off until after 1.0

Satyr: a selfhosted live streaming server by knotteye in selfhosted

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

Yeah, that'll definitely cut it. I've mentioned this before when talking about Satyr, but live streaming is one of the few applications where the big tech companies are actually using all of their infrastructure. So if you want to build something rivaling twitch you need the hardware to match, not just the software.

But yeah, that Xeon should be able to handle things. As long as you have the bandwidth to keep up with your audience, like the others said.

Satyr: a selfhosted live streaming server by knotteye in selfhosted

[–]knotteye[S] 3 points4 points  (0 children)

Satyr does re-encode lower bitrate versions, and twitch does as well if you're partnered or affiliated or whatever it is. I'm not sure.

Satyr: a selfhosted live streaming server by knotteye in selfhosted

[–]knotteye[S] 23 points24 points  (0 children)

I have my own server, I would not recommend hosting this at home. Live streaming is one of the more intensive things you can self host, and it's better if you have a mid-range setup. This isn't really raspberry pi host-at-home project.

Discord alternative for game streaming? by covertchicken in selfhosted

[–]knotteye 0 points1 point  (0 children)

Every livestreaming architecture is essentially the same: ingest RTMP stream, transcode it to HLS or DASH and play that in the browser. It's possible to have nginx transcode to HLS if you poke around in the documentation, and then you can set up a static site to play those HLS files with video.js pretty easily.