linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

bizdelnick, in What is the point of dbus?

Multicast.

FlexibleToast, in eGPU docks?

I used one with Fedora for a while. The problem I had is whenever it would randomly disconnect, Fedora could not handle it gracefully. It would lock up the system and require a hard reboot. Windows has been a bit more graceful about things. I’m hoping the next generation or maybe oculink will be better.

noctisatrae, in I've started building a TUI for Lemmy

I’m too working on a TUI to browse the-eye.eu, I’m still struggling with asynchronous render & Rust.

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

Async programming is really quite hard to wrap your head around. Currently I’m mostly struggling with excessive memory consumption.

noctisatrae, (edited )

Send help I’m struggling with lifetimes, unbounded channel & implementing EventHandler… <3

fiohnah, in What is the point of dbus?

My serious answer, not an argument: Use d-feet to inspect what’s available on the system and session buses. That’ll show the benefit of introspection and a common serialization mechanism.

About the security comments: Some access control mechanisms aren’t just allow/deny, and many need more than socket permissions. Those benefit from DBus policies, and PolicyKit integration helps for more complex needs. You can always DIY it, that’s Linux/FOSS life, but these are great tools to have in your toolbox. I’ll avoid credential passing via sockets whenever I can and have something else do it.

renzev,

Great point about policies! Setting permissions on sockets only gets you so far… I guess if you really wanted to, you could create an individual socket for every method of every resource, and have granular permissions that way. But that would be quite messy

M500, in eGPU docks?

Makes me wonder if this is a possible future. Just get a small nuc like computer and connect it to an egpu.

Aties,

I went down this path, but mini itx nucs with a GPU slot seemed to be better as long as you’re not using the egpu on multiple devices; if you are, then it might be worth considering just making a PC a host and running sunshine/moonlight. While I haven’t tried connecting to my host on the steamdeck, I have on my laptop and felt like it could be used for gaming

jcarax,

I think dynamic graphics switching would be far preferable for a desktop scenario, but for a laptop an eGPU is an attractive proposition.

Matty_r,
@Matty_r@programming.dev avatar

For sure. It’s something I’ve considered for a while simply because I don’t need that extra heat/noise created by the GPU when I’m only doing my day job.

M500,

My only problem with this is that the docks are like $300. I guess igpus are getting good enough that I’ll probably never need a dgpu again.

Still surprised how well the steamdeck can handle resident evil 4 remake.

I really don’t need better graphics than that. In fact, they don’t even need to be that good.

ursakhiin,

It definitely is, but likely comes with a slight performance sacrifice due to bus speeds.

sparky,
@sparky@lemmy.federate.cc avatar

It’s more than slight! I ran a 3090 in an eGPU for a while and it lost around 40% of performance compared to when it was in my case.

ursakhiin, (edited )

That can depend on a lot of factors, though. From the bus of the enclosure to the speed of the USB port and cables you used.

I wouldn’t have expected a 40 percent drop on the modern USB standards, but I’d still expect a drop. I was thinking closer to 20 percent.

TeaEarlGrayHot, in eGPU docks?

I have extensively used an eGPU (Razer Core X) with an Nvidia RTX 3050 for gaming under Wayland. Using X11 gave me nothing but problems, but Wayland allows for full hotplug capabilities (as long as no monitors are ever connected to the GPU).

Of course, performance is fairly bad with the official Nvidia drivers + Wayland, but it’s good enough to play The Outer Worlds and a few other single player games, which is good enough for me! I have been entirely unable to get external monitors to work with the Nvidia driver (any help would be much appreciated), although they did work (coldplug) with the Nouveau driver.

When I was using Windows, I was able to hotplug/unplug the eGPU with monitors attached, effectively turning the GPU into an external docking station–I am closely following driver improvements, as this would be great to have on Linux to get around the 2-monitor limitation of the Intel iGPU.

Matty_r,
@Matty_r@programming.dev avatar

Hmm, that doesn’t sound great. Can I ask what laptop you were using and which distro?

TeaEarlGrayHot,

I’m using the Surface Laptop Studio with EndeavourOS (basically arch, so I have all the latest packages)–the performance issues stem from Nvidia’s drivers, so AMD should not suffer from the same problems, although I don’t have any AMD cards to test if hotplug with monitors is functional

redcalcium, in Using Ubuntu 23.10 with QEMU/KVM. I want to share 3 folders with Windows 10 (guest) but only one is showing up

Maybe check the xml tab? Could it be that those three entries share the same bus id?

mmababes,

These were the respective XML values of the folders:


<span style="color:#323232;">Important Folder A: domain="0x0000" bus="0x05" slot="0x00" function="0x0"
</span><span style="color:#323232;">Important Folder B: domain="0x0000" bus="0x06" slot="0x00" function="0x0"
</span><span style="color:#323232;">Important Folder C: domain="0x0000" bus="0x07" slot="0x00" function="0x0"
</span>

I need Windows and Kali Linux to study for an exam so after VMware stopped working on Ubuntu 23.10, I decided to use QEMU/KVM. Unfortunately, I couldn’t get shared folders or a bridge connection to work in KVM so I decided to just install Debian 12 on my PC and hope that VMware works on it. Shared folders and a bridge connection are must-haves for me.

redcalcium,

I haven’t tried this myself, but it seems if you want to mount multiple virtiofs drives in the guest os, you’ll have to use WinFSP.Launcher instead of default virtiofs windows service. You’ll need to:

  • stop and disable the default virtiofs service,
  • setup WinFsp.Launcher
  • run a command to mount your drive one by one

This wiki has the info on how to do that: github.com/…/Virtiofs:-Shared-file-system#multipl…

NeoNachtwaechter, in What is the point of dbus?

Sometimes you want loose coupling.

SteveTech, in need help fixing a hardware problem using linux

I do kinda agree with the others that this is a power issue, but I was thinking it wouldn’t harm to run a memtest, maybe whatever part of RAM the iGPU is mapped to is dying or something like that.

ElderWendigo, (edited ) in Where can I post questions on how do construct formulas in Onlyoffice/Libreoffice spreadsheets?

A spreadsheet is always going to be a bad fit for a problem like this. You want something like the command line tools sed and awk (maybe combined with some simple regex) to parse a stream of input like this. These tools were literally built to solve this kind of problem. If you are stuck in windows, the Windows Subsystem for Linux will have these tools.

samwwwblack, (edited ) in Laptop keyboard unresponsive - I think my (unknown) laptop is affected by the kernel Zen IRQ regressions - how do I work around this?

The 6.5 kernel should have the fix for this included, so you could try using that kernel instead of 6.1?

kzhe, in Writing program

Norka, Apostrophe, Obsidian

qyron,

Can I get some links, please?

kzhe,

Sorry, I was on mobile.

The spiteful thing to do would be linking Norka and the such but I’ll link them: Norka, Apostrophe and Obsidian.

qyron,

Thank you very much.

MonkderZweite, (edited ) in What is the point of dbus?

Btw, why do i need to start xfce/xfwm with dbus for automount in thunar to work, instead of just running dbus as a service on the side?

renzev,

By “start with dbus” do you mean with the dbus-launch utility? I think it’s needed because it sets some environment variables that thunar uses to actually find and connect to the bus. If you run just the daemon “on the side”, thunar won’t know how to connect to it. Kind of how you need $DISPLAY to be set correctly for X11 applications to work.

MonkderZweite, in I've started building a TUI for Lemmy

One reason more to stop with the silly text-in-image posts. There’s a text-only post option, you know guys? Lemmy is not Instagram.

MonkderZweite, (edited ) in I've started building a TUI for Lemmy

There’s TIV/FIM/imgfb if you’re looking for ways to render images in terminal. Or convert them to sixel.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #