linux

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

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.

NeoNachtwaechter, in What is the point of dbus?

Sometimes you want loose coupling.

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…

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

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.

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

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

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.

bizdelnick, in What is the point of dbus?

Multicast.

gens, in What is the point of dbus?

Because not using OOP is hard for gui devs.

danielfgom, in KDE's Nate Graham On X11 Being A Bad Platform & The Wayland Future
@danielfgom@lemmy.world avatar

Undoubtedly Wayland is the way forward and I think it’s a good thing. However I wouldn’t piss all over X because it served us well for many years. My LMDE 6 still runs X and probably will for the next 2 years at least because both the Mint Team and Debian team don’t rush into things. They are taking it slow, testing Wayland to make sure no-one’s system breaks when they switch to Wayland.

This is the best approach. Eventually it will all be Wayland but I never understood why this is such an issue. Like any tech it’s progress, no need for heated debates. It’s just a windowing system after all.

Maxy, in eGPU docks?

Disclaimer: I have exactly 0 personal experience with eGPU’s.

According to the archwiki:

While some manual configuration (shown below) is needed for most modes of operation, Linux support for eGPUs is generally good.

p_consti,

Can confirm, I’m using a dock (from Razor) daily without problems. Hot switching doesn’t work though, you need to restart X/your display manager to connect or disconnect the eGPU. I’d recommend the gswitch utility to configure the graphics card to be used (on X11). Haven’t tested much on Wayland, but I know that at least Gnome (Wayland only) has trouble mixing eGPU and the internal display if that is important.

lurch,

If you use X and need to restart it, you can probably preemptively use XPRA to proxy your Xclients and move them to the new Xserver, except maybe for those that need low latency or DRM (e.g. games)

Matty_r,
@Matty_r@programming.dev avatar

I don’t think hot switching is an issue. It would be setup and not disconnected unless I’m traveling. Does it use the egpu for everything when its connected? Or can you set it up like hybrid where it’ll only use it for games etc?

p_consti, (edited )

I use it for everything, because I connected my external monitors through the eGPU. wiki.archlinux.org/title/PRIME has a few methods for running only selected applications via the eGPU, but I haven’t tried them. Edit: See also wiki.archlinux.org/title/External_GPU#Xorg for eGPU specific setups.

Matty_r,
@Matty_r@programming.dev avatar

Perfect. Thanks!

corsicanguppy, in What is the point of dbus?

Lennart said so.

troyunrau,
@troyunrau@lemmy.ca avatar

No. DBUS has its roots in freedesktop.org and the KDE+Gnome projects. It’s basically a desktop agnostic reimplemented of KDE’s DCOP, which was itself a simplified CORBA (gnome was using ORBit at the time, if I recall correctly). DBUS was so useful that the domain spaces its been applied to soon rapidly outgrew the desktop space, and this is why it’s usually started earlier these days.

It also works on Windows.

AProfessional,

DBus works very poorly on Windows unfortunately.

WarmApplePieShrek,

GNOME also works because Lennart said so.

But I think DBUS was a simpler KDE reimplementatioon of something GNOME did.

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

Sockets are effectively point-to-point communication. Dbus is a bus. Your question is similar to “what is the point of I2, or an ATA bus when directly wiring ICs gets the job done”. Both have different strengths and weaknesses.

itsaj26744, in I've started building a TUI for Lemmy
@itsaj26744@programming.dev avatar

There is one named neonmodem overdrive but it is buggy. It also support discourse forums any plan for this?

crunchpaste,
@crunchpaste@lemmy.dbzer0.com avatar

There is one named neonmodem overdrive but it is buggy.

It really is buggy, iirc I couldn’t even get it to run properly.

It also support discourse forums any plan for this?

I really don’t have any plans (or even a name) for the app, as I’ve just started playing around with pythorhead yesterday. I just hoped posting a prototype or a proof of concept might spark a discussion and maybe inspire someone much more competent than me.

itsaj26744,
@itsaj26744@programming.dev avatar

Fine I thought u were somewhere.🥲

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