Linux

47761 readers
866 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
326
76
submitted 1 month ago* (last edited 1 month ago) by fool@programming.dev to c/linux@lemmy.ml
 
 

What was your last RTFM adventure? Tinker this, read that, make something smoother! Or explodier.

As for me, I wanted to see how many videos I could run at once. (Answer: 60 frames per second or 60 frames per second?)

With my sights on GPUizing some ethically sourced motion pictures, I RTFW, graphed, and slapped on environment variables and flags like Lego bricks. I got the Intel VAAPI thingamabob to jaunt by (and found that it butterized my mpv videos)

$ pacman -S blahblahblahblahblahtfm
$ mpv --show-profile=fast
Profile fast: 
 scale=bilinear
 dscale=bilinear
 dither=no
 correct-downscaling=no
 linear-downscaling=no
 sigmoid-upscaling=no
 hdr-compute-peak=no
 allow-delayed-peak-detect=yes
$ mpv --hwdec=auto --profile=fast graphwar-god-4KEDIT.mp4
# fucking silk

But there was no pleasure without pain: Mr. Maxwell F. N. 940MX (the N stands for Nvidia) played hooky. So I employed the longest envvars ever

$ NVD_LOG=1 VDPAU_TRACE=2 VDPAU_NVIDIA_DEBUG=3 NVD_BACKEND=direct NVD_GPU=nvidia LIBVA_DRIVER_NAME=nvidia VDPAU_DRIVER=nvidia prime-run vdpauinfo
GPU at BusId 0x1 doesn't have a supported video decoder
Error creating VDPAU device: 1
# stfu

to try translating Nvidia VDPAU to VAAPI -- of course, here I realized I rtfmed backwards and should've tried to use just VDPAU instead. So I did.

Juice was still not acquired.

Finally, after a voracious DuckDuckGoing (quacking?), I was then blessed with the freeing knowledge that even though post-Kepler is supposed to support H264, Nvidia is full of lies...

 ______
< fudj >
 ------
          \   ‘^----^‘
           \ (◕(‘人‘)◕)
              (  8    )        ô
              (    8  )_______( )
              ( 8      8        )
              (_________________)
                ||          ||
               (||         (||

and then right before posting this, gut feeling: I can't read.

$ lspci | grep -i nvidia
... NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
# ArchWiki says that GM108 isn't supported.
# Facepalm

SO. What was your last RTFM adventure?

327
245
Microsoft parody (lemmy.zip)
submitted 1 month ago* (last edited 1 month ago) by possiblylinux127@lemmy.zip to c/linux@lemmy.ml
 
 

I am a certified Linux user with almost 10 years of experience.

Please run the following command in a terminal:

sudo apt update && sudo apt upgrade -y

Let me know if this fixes your issue

- certified Linux expert

(I'm making fun of the 25 year Microsoft veterans on the support page that tell users to run SFC /scannow)

328
329
 
 

I'm going to be building a new computer soon for myself. (Going AMD for the first time, since intel microcode issue.)

I would say I'm an expert or advanced user, as been using pcs for 25 years and set up arch and slackware in the past. I have tried many distros and would like some feedback.

I mainly use my pc for gaming. I want something customizable, KDE ish, and without bloatware. A good wiki is a plus.

I think that i may end up with arch... is it better for gaming since it's bleeding edge and isn't steamos built off it?

Side question is distro chooser accurate?

330
 
 

recently I've started working with an open source java gui app that uses jpackage to generate system packages for distributions.

I'm interested in creating a flatpak for this, but I'm not sure what best practices look like for this. Should I attempt to take the files that are generated by jpackage and put those into a flatpak, or should I just take the jar file alone as provide that with a dependency on a runtime that provides java?

fair warning I am a noob in regards to flatpak

331
332
 
 

I'm currently using Fedora KDE Plasma, but I'd like to try out a tiling window manager. What would you all reccomend? I use my computer for school, so I would like it to be stable.

333
 
 

Hello, i have task to install a system for elderly person without much technical knowlegde (never used pc, no windows or mac).

They need text processing, calculator and maybe spreadsheet.

Want to disable anything else (setting panel, file browser, web browser, launcher, dock, terminal, login select, etc.) that not needed, all important thing only from desktop. Should not be able to go anywhere where not know what to do. But not permanent, might need to fix machine if ever break.

Is there distro or config i can work off? Or need to start from scratch? What program you recommend?

Thank you for any answer or recommendation

334
335
336
337
338
 
 

I have a friend thats setting up linux (ubuntu) on his machine. He has a windows installation. I personally use mac as my primary OS, but I've had a linux partition on my machine as well, and I'm having a slightly hard time giving him good advice as to what solution he should choose when setting up linux (I don't even know how I would partition a disk on a windows machine to prep it for dual booting).

My question is quite simple: What are the pros/cons of WSL vs. Dual Booting vs. Virtualbox, both with regards to setup and with regards to usage?

339
340
 
 

Is it just me or did kdenlive broke for you too? I'm on an Archlinux based system and just updated the system. A few hours before update kdenlive worked. Update was not small, so its hard to tell the exact cause. I've tried to downgrade kdenlive, but same issue. I use Linux for a very long time now, but still get lost with errors like these.^^ Any idea what I should do? Does it work for you?

I get this on start (I reset the configuration files too):

$ kdenlive --version
kdenlive 24.08.1

$ kdenlive
kf.config.core: Watching absolute paths is not supported "/usr/share/color-schemes/BreezeDark.colors"
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltsox.so
(libsox.so.3: cannot open shared object file: No such file or directory)
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltrtaudio.so
(librtaudio.so.7: cannot open shared object file: No such file or directory)
mlt_repository_init: failed to dlopen /usr/lib/mlt-7/libmltsdl.so
(libSDL-1.2.so.0: cannot open shared object file: No such file or directory)
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1726202254.631983   14133 descriptor_database.cc:633] File already exists in database: versions.proto
F0000 00:00:1726202254.632005   14133 descriptor.cc:2236] Check failed: GeneratedDatabase()->Add(encoded_file_descriptor, size)
*** Check failure stack trace: ***
@     0x733c9e6b0e09  absl::lts_20240722::log_internal::LogMessage::SendToLog()
@     0x733c9e6b19ae  absl::lts_20240722::log_internal::LogMessageFatal::~LogMessageFatal()
@     0x733c64890955  (unknown)
@     0x733c649c228d  google::protobuf::internal::AddDescriptors()
@     0x733c65696125  (unknown)
@     0x733cdd22d6ad  (unknown)
@     0x733cdd22a5c2  _dl_catch_exception
@     0x733cdd2344fc  (unknown)
@     0x733cdd22a523  _dl_catch_exception
@     0x733cdd234904  (unknown)
@     0x733cd9e9ef14  (unknown)
@     0x733cdd22a523  _dl_catch_exception
@     0x733cdd22a679  (unknown)
@     0x733cd9e9e9f3  (unknown)
@     0x733cd9e9efcf  dlopen
@     0x733c9ea96c6c  mlt_register
@     0x733cdc3a2279  mlt_repository_init
@     0x733cdc386f52  mlt_factory_init
@     0x733cdc3605f5  Mlt::Factory::init()
@     0x5b73c4a7f0d5  (unknown)
@     0x5b73c4a3a285  (unknown)
@     0x5b73c4497d06  (unknown)
@     0x733cd9e34e08  (unknown)
@     0x733cd9e34ecc  __libc_start_main
@     0x5b73c44998d5  (unknown)
Aborted (core dumped)

My system if its relevant:

OS: EndeavourOS x86_64
Kernel: Linux 6.10.9-arch1-2
Uptime: 1 hour, 10 mins
Packages: 1657 (pacman), 9 (flatpak)
Shell: bash 5.2.32
Display (AG271QG): 2560x1440 @ 120 Hz in 27″ [External]
DE: KDE Plasma 6.1.5
WM: KWin (Wayland)
WM Theme: Breeze
Theme: Breeze (Dark) [Qt], Breeze-Dark [GTK2], Breeze [GTK3/4]
Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4]
Font: NotoSans Nerd Font (12pt) [Qt], NotoSans Nerd Font (12pt) [GTK2/3/4]
Cursor: breeze (24px)
Terminal: konsole 24.8.1
Terminal Font: JetBrainsMono Nerd Font Mono (11pt)
CPU: AMD Ryzen 7 7700X (16) @ 5.57 GHz
GPU 1: AMD Radeon RX 7600 (RADV NAVI33) [Discrete] Mesa 24.2.2-arch1.1
GPU 2: AMD Radeon Graphics (RADV RAPHAEL_MENDOCINO) [Integrated] Mesa 24.2.2-arch1.1
Memory: 3.00 GiB / 30.50 GiB (10%)
Swap: 65.00 MiB / 512.00 MiB (13%)
Disk (/): 550.90 GiB / 1.79 TiB (30%) - ext4
Disk (/media/Emulation): 4.47 TiB / 5.41 TiB (83%) - ext4
Disk (/media/My): 3.10 TiB / 3.58 TiB (87%) - ext4
Disk (/media/Work): 648.09 GiB / 915.82 GiB (71%) - ext4
Locale: en_US.UTF-8
341
 
 

I am running Bazzite 40 on a system with an RTX 4080. Up until yesterday, I was connecting computer -> Samsung HW-Q900C soundbar -> Samsung Q90C TV. I learned that the soundbar doesn't have HDMI 2.1 ports which is why I hadn't been able to get 120Hz, so I changed my setup to computer -> TV + soundbar -> TV (eARC).

Now, I do have 120Hz, but I lost a bunch of other options in my display settings, including HDR. The only options I can set there now are resolution, orientation, refresh rate, and scale. I suspect this is an issue with the TV communicating its capabilities in a way the OS doesn't understand, but I'm not sure how to fix or work around it. Can anyone suggest a fix? Is there a setting I can change on the TV or maybe an app I can run on the computer to manually set the TV's capabilities?

Update: Just discovered kscreen-doctor. Here's the output:

Output: 445 HDMI-0
	enabled
	connected
	priority 1
	HDMI
	Modes:  446:3840x2160@60!  447:4096x2160@120  448:4096x2160@100  449:4096x2160@60  450:4096x2160@50  451:4096x2160@30  452:4096x2160@24  453:4096x2160@24  454:3840x2160@144  455:3840x2160@120*  456:3840x2160@100  457:3840x2160@60  458:3840x2160@50  459:3840x2160@30  460:3840x2160@25  461:3840x2160@24  462:3840x1600@144  463:3840x1600@120  464:3840x1600@60  465:3840x1080@144  466:3840x1080@120  467:3840x1080@60  468:2560x1440@120  469:2560x1080@144  470:2560x1080@120  471:2560x1080@60  472:1920x1080@144  473:1920x1080@120  474:1920x1080@100  475:1920x1080@60  476:1920x1080@60  477:1920x1080@50  478:1920x1080@30  479:1920x1080@25  480:1920x1080@24  481:1680x1050@60  482:1600x900@60  483:1440x900@60  484:1280x1024@75  485:1280x1024@60  486:1280x800@60  487:1280x720@60  488:1280x720@60  489:1280x720@50  490:1152x864@75  491:1024x768@75  492:1024x768@70  493:1024x768@60  494:800x600@75  495:800x600@72  496:800x600@60  497:720x576@50  498:720x480@60  499:640x480@75  500:640x480@73  501:640x480@60 
	Geometry: 0,0 3840x2160
	Scale: 1
	Rotation: 1
	Overscan: 0
	Vrr: incapable
	RgbRange: unknown
	HDR: incapable
	Wide Color Gamut: incapable
	ICC profile: incapable
	Color profile source: incapable

SOLUTION: Turns out this was my goof. I was trying to set up auto-login on my user account. In doing so, I set it to automatically log in to Plasma (X11) instead of Plasma (Wayland). Odd that the default option in that dropdown is not the one you’re currently using, but 🤷‍♂️.

What I’m now trying to figure out is why I can’t set auto-login for Plasma (Wayland). The Apply button is disabled. 🤔

Thanks to everyone who shared ideas.

342
170
LibreOffice 24.8.1, released, fixes 89 bugs (blog.documentfoundation.org)
submitted 1 month ago* (last edited 1 month ago) by petsoi@discuss.tchncs.de to c/linux@lemmy.ml
 
 

In numbers, the LibreOffice 24.8.1 point release addresses a total of 89 bugs. Details about these bugs are available in the RC1 and RC2 changelogs. The new release is available for download right from the official website as binaries for DEB and RPM-based GNU/Linux distributions.

343
85
submitted 1 month ago* (last edited 1 month ago) by box_ebony@lemmy.ml to c/linux@lemmy.ml
 
 

what is the best linux terminal? I have been using alacritty for years and have been doing well. But I don't think kitty and st. I was wondering if any new projects have come out in recent years.

344
 
 

What's everyone's preferred email client these days?

345
 
 

cross-posted from: https://lemmy.ca/post/28766034

Sorry if this kind of question isn't allowed here, but I'm at my wit's end. VB randomly started launching on startup about 2 weeks ago (on EndeavourOS) and I can't figure out why. There's no shortcut in ~/config/autostart, it isn't in the KDE startup apps list, and I can't find anything virtualbox-related with systemctl either. There's also no setting in the VB app itself. WTF?

Based on recommendations in that thread, I also checked:

/etc/systemd/system
/etc/default/
vboxautostart.service
KDE "restore session" settings

Any ideas are much appreciated!

346
347
348
349
350
 
 

I was excited to learn about two new terminal emulator app which seemed to have a lot of cool new features, warp and wave. Then I looked closer and found that both are a no go for me.

Warp is closed source and you need to create an account to use your terminal. Jebus Christus, no, thanks, but no.

Wave is an Electron app. While that's better than not having a Linux version, I've seen how Electron apps behave. They are the ones which hog all memory and get killed by the OS first. So that's a no from me too.

I guess I keep my Tilix for now.

view more: ‹ prev next ›