linux

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

FigMcLargeHuge, in Is anyone using awk?

I use awk constantly at work. Very useful in my opinion, and really powerful if you dig into it.

GenBlob, in Gentoo goes Binary (packages)

This is what Gentoo needed. I’ve been using it for a long time and love it as it is but sometimes when there’s a bunch of slot conflicts or a compile error it makes me wish I just dealt with binaries instead. Now that we have the best of both worlds, it will make Gentoo appeal to a wider userbase and make it less painful to use on older hardware.

just_another_person, (edited ) in Videos stuttering across all applications

There are still a number of clock sync issues with the Zen4 chips. I’ve had issues on 6.4/5/6 with similar sounding audio/video that I’ve been able to somewhat mitigate by getting my amd_pstate settings to stop competing with other power tuning tools. Turn off EVERYTHING you have running dealing with cpufreq management, and just let the kernel amd_pstate do it’s thing. No TLP, no desktop tuning tools, just the upstate.

Also, double check that your memory frequencies aren’t bouncing all over the place, and consider under locking in the BIOS to exactly match the channel freq for CPU/mem.

See if that helps.

Lars,

I believe the only power tuning I had was cpupower. I just stopped it and will give it some time. Do you know a tool that’ll graph out my memory frequency? My memory seems pretty stable at 4800 MHz but I’ll watch it with “watch lshw -short -C memory”

Lars,

Issue still occured. Didn’t see my memory fluctuating either

pendulous, in Videos stuttering across all applications

I had this happen with multiple programs for a while, and I found out that my computer had changed the cpu governor from “perfomance” to “power save”

Lars,

My cpupower profile was set to power save. I just switched it to performance and will give it some time

Lars,

Issue still occured

haroldstork,

This was exactly what caused the problem for me too.

TrivialBetaState, in Does Wayland really break everything? (Nate Graham's OG post ref'd in the Phoronix article)

I have been using wayland on kde the last two years on Debian and MX Linux with zero issues. My general usa includes coding, music production, Libre office and web browsing. So, no much gaming, if that is your concern.

heartsofwar, (edited ) in Xclip is not talking to the system clipboard (Klipper)

KDE plasma runs Wayland; therefore, you need wl-clipboard (wl-copy) not xclip which is for X11

Hammerheart,

Thankyou!

Cysioland,
@Cysioland@lemmygrad.ml avatar

Oddly enough, on Wayland GNOME I can use xclip just fine

umbrella, in Gentoo goes Binary (packages)
@umbrella@lemmy.ml avatar

that makes it usable! might give it a try.

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

I would not recommend working on two GUI’s at once, but if you build it in a way you can use different frameworks for it, the maker of Rich also makes a nice TUI framework API called Textual.

Here’s some projects made with it for a sample of what it’s usage can look like: https://www.textualize.io/projects/

I believe it does not use curses at all.

jacktherippah, in Could 2024 be the year of the diagonal linux desktop?

Hell

bnjmn, in Could 2024 be the year of the diagonal linux desktop?

If we need to start supporting diagonals, I’m quitting webdev for good

Aux, in What is the point of dbus?

What is the point of a steak when you can drink tea? Mmm…

mcepl, in Writing program
@mcepl@lemmy.world avatar

Not vim necessarily, but I would really suggest thinking about a plain text editor of your choice and some of those lightweight markup languages (Markdown itself, reStructuredText, ASCIIDoc … I prefer rST, but they are mostly the same). Exactly because it allows me to concentrate on the content and ignore formatting. Besides, formatting, do you write for print or as everybody else these days for HTML? Why do you need a large word processor which is build primarily for preparing documents for print? Every serious text editor has some kind of plugins with spellcheckers, grammar checkers, dictionaries, etc.

qyron,

I like so say I want someday to see my work out in the world in the form of (e)books, so I want to keep my options open.

YerbaYerba, in I'm looking for a command that is similar to cpupower, but for gpu (or even both -- gpupower?systempower?)

Not a command, but you could write some simple scripts to control it. amdgpu thermal docs

I use this to reduce fan noise on my amd laptop with a discrete rx560m when playing games. I had to add a kernel boot parameter to get it working

amdgpu.ppfeaturemask=0xffffffff

mcepl, (edited ) in What is the point of dbus?
@mcepl@lemmy.world avatar

Yes, of course, the sockets are the answer to everything (and BTW, d-bus uses sockets as well, e.g. /run/dbus/system_bus_socket on my current system), but the problem is no standard for the communication over these sockets (or where is the socket located). For example, X11 developed one system of communicating over their socket, but it was used just by few X11 programs, and everybody else had their other system of communication. And even if an app found some socket, there was absolutely no standard how exactly should programs communicate over it. How to send more than just plain ASCII strings? Each program had to write their own serialization/deserialization code, their own format for marshalling binary data, etc. Now there is just one standard for those protocols, and even libraries with the standard (and well tested) code for it.

WarmApplePieShrek,

There’s still no standard on how to use dbus so I don’t get your point

smpl, in What is the point of dbus?
@smpl@discuss.tchncs.de avatar

I will conveniently avoid any dbus talk, because the why is not so interesting as the how and direct you to this path /var/run/wpa_supplicant. You would probably send SCAN_RESULTS on the socket, you could also initiate a SCAN first to include the strength of stations you’re not connected to. If you want deeper access to wireless, you use netlink to communicate with the kernel (see /usr/include/linux/nl80211.h) and poke some NL80211_STA_INFOs… or the other direction (everything is a file) you just parse /proc/net/wireless without any special permissions for the current signal strength.

Oh… and btw dbus has a simple binary protocol underneath all the XML/interface fluff and uses a UNIX socket.

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