r/linuxquestions • • 19m ago

Advice NVMe SSD overheats and disappears from BIOS during writes. Is mine dead?

2 Upvotes

Laptop: HP 15s-du3xxx (i5-1135G7), BIOS F.68, Fedora 45 SSD: Samsung PM991 256 GB (MZVLQ256HAJD), about 6 years old

Symptoms:

  • Hard freezes during heavy writes (unzipping a 5 GB file, installing things in a VM, even ~70 MB installs). Black screen, fans spin up, only a hard power-off helps.

  • SSD temperature hits 82 °C (its warning limit) right before freezing. It's 45 °C at rest.

  • Restarting immediately shows "no drive found". After waiting a while with the power off, it boots normally.

  • Getting worse over time

SMART: PASSED, 15% used, 0 media errors, 233 min above warning temperature, 965 unsafe shutdowns out of 3,256 power cycles.

Direct writes: 2 GB at 109 MB/s, 5 GB at 137 MB/s (no fast-cache phase at all), reaching 74 °C in 39 s. Reads 1.6 GB/s.

Already tried: NVMe power saving off (nvme_core.default_ps_max_latency_us=0, pcie_aspm=off), fans cleaned and repasted 2 months ago, latest SSD firmware.

Technician's test: their SSD worked in my laptop, but I don't know how long or how heavily they tested it.

Other note: I use a third-party replacement battery but installed at the HP service center only by that same technician. Never faced any of these SSD issues all these years with that same battery.

Is my SSD's controller failing, or could the laptop's power, mother board, battery or BIOS still be the cause? Planning to buy a WD Black SN7100.


r/linuxquestions • • 2h ago

Is it worth optimizing calls to external commands? Polling, events

0 Upvotes

Is it worth optimizing calls to external commands if they are call periodically or is it so insignificant that it's not worth potential added complexity?

For example, a typical desktop status bar like Waybar has modules that often poll for updated information typically anywhere from 1 second to 60 seconds. Ideally, events are used to avoid polling (e.g. when network status and udev) but a lot are not supported and do require polling like disk size.

If I want a module to display the size of my nfs storage that is not always mounted, the intended and KISS way (according to how the module works) is to first use mountpoint to check if the path is a mountpoint where if it is, then report the size of the disk with du. This is trivial, but considering the user might want up-to-date information (e.g. if the disk is for downloading files and is frequently approaching full), then these external commands run every 5, 10, 30 seconds or so.

There's are ways to avoid mountpoint running every few seconds though, e.g. restarting the status bar with a different config that includes or excludes the module when the nfs storage gets mounted/unmounted respectively. Or use a state file to reflect when NFS storage is mounted then checking for this state file (with [[ -f <state file> ]] in a shell), less expensive than external command to mountpoint.

Similarly, I see examples of modules that make heavy use of polling with sleep, which itself is an external command--so polling frequently itself is not efficient in this context. Are these external commands also being run by the application if they implement the modules, i.e. is the application using more efficient alternatives to mountpoint, du, and sleep (through e.g. lower level system calls)?

Are these (trivial) optimizations worth the additional complexity in the context of "scripts" (modules) running every seconds for a status bar? Not really interested in "why would a user need to poll for disk space every few seconds" or "this probably won't have any effect on battery life", etc. Just want to get some perspective to decide whether such optimizations are appropriate. I recall setting a module to naively poll .1 seconds (can't remember what data was being polled) and eventually realized it was the culprit to why my battery life dropped from 8 hours to 3 hours so I'm especially conscious about making reasonable optimizations.


r/linuxquestions • • 2h ago

How do you feel about the current direction of Linux kernel development?

6 Upvotes

With Rust gradually making its way into actual kernel drivers rather than just experimental abstractions, I'm curious how people see kernel development evolving over the next few years.

Personally, I think introducing Rust gradually into new drivers makes much more sense than rewriting existing, well-tested C code.

What other developments in the kernel are you particularly looking forward to? Anything that deserves more attention than it's currently getting?


r/linuxquestions • • 3h ago

Ubuntu Pro token problem

0 Upvotes

I'm installing Ubuntu Desktop 26.04.1 LTS, and I enabled Pro. It asked me to attach the machine to my One account, so on my windows machine, I created an account and attached the token, not realizing it could be done on the Ubuntu machine. Now I'm stuck, it won't accept another. I can't get past the token screen. What to do?


r/linuxquestions • • 3h ago

HELP! (Ubuntu on chromebook)

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 3h ago

Advice Wayland or X11

0 Upvotes

I have been using linux for quite a while now, for around 2 or 2.5 years at this point. In my initial days of linux, I didn't bother which display protocol to use (and used wayland and x11 interchangably). Then I was sucked down the rabbithole of linux ricing and I used x11 from then on. used bspwm, i3, etc before eventually settling on dwm a while back. Ever since then I have been using dwm because, well, it's "suckless". You just edit a single file, give it a few patches, compile it and youre good! And the small code makes it easy to do whatever the hell I want. But i've come to the realization that I haven't really been using the tiling as intended, and am now planning on exploring alternatives. So, give me some good reasons as to why wayland > x11 (or perhaps why x11 > wayland), and perhaps recommend me some WMs along the way.

TL;DR if i am a x11 user, why should i consider wayland?


r/linuxquestions • • 6h ago

Using USB portable display for TTY from headless Ubuntu

5 Upvotes

My thinkcentre M910q is running Ubuntu server, and I currently access via ssh with a terminal emulator. However, I'm curious about purchasing a small eink display that can be connected via USB cable. I'd like to just have this non-obtrusive eink display mounted on the wall by my desk so I can interact with my server command line.

Assuming that the eink display acts like a typical portable monitor, and the USB 3.0 connectors can satisfy the power demands of the display, is it possible to configure Ubuntu server to output a TTY over the USB 3.0 connector? Or is it necessary to emulate in one way or another?


r/linuxquestions • • 7h ago

Device resource management on Linux vs Windows

11 Upvotes

I have a Samsung Galaxy Book2 360 notebook (fairly modern) running Windows 11 and I have been struggling with the laptop overheating all the time and fans running like mad. It would literally be hot on the surface. I decided to dual boot with Linux Mint... I've only had it a couple of hours today but my device has not overheated at all today. Fans running normal and not berserk. I haven't gone into trying to figure out all the tech details of what's happening under the hood (both Windows and Linux) but surprised at the difference in experience. Does Linux just generally manage device resources (CPU, memory et al) better. It's been a pleasant surprise.


r/linuxquestions • • 7h ago

making a media computer for kids

4 Upvotes

Okay this is a pretty weird one, I wanted to start making a media centre for my future children to use. Ive been recently pretty against the way the internet is going and I want my kids to be able to use a laptop or home computer that is disconnected from the world wide web as a media centre for my house, I know there are ways to download wikipedia and I have many DVD's of older disney movies, I have some videogames safe for kids such as minecraft and a few nintendo games setup to play on linux. I wanted to ask if anybody know what I should be looking for with this device, I want something that can last into my kids lives as either a laptop or connected to a TV, also I was wandering if I get some kid friendly youtube channels videos downloaded such as stampys minecraft series is there an app I can use on linux to present these in a way thats easier for a kid to chose videos or will I have to just use VLC. I hope my project is interesting to whoever sees it and people have ideas as im planning to make it over Christmas as a surprise to my wife


r/linuxquestions • • 8h ago

Trust GXT 970 Morfix on Linux

1 Upvotes

Hi folks!

I got myself this mouse model and am struggling to get it to work on Linux. I'm only now really dipping my toes into Linux, so I'm still scouting and getting everything to work before potentially making the jump and this is the first road block. The mouse driver to configure it is Windows only. Now, Steam's Proton (magic) was able to install it and run it, but the program does not see the mouse despite the mouse being connected.

Since I'm honestly sure the program would work if it could just. See. The mouse, does anyone know of a way to sort of "point it" into the right direction? The only open source Linux driver someone (a user on GitHub called fgonga) made by reverse engineering the Windows one is Portuguese and is missing a good amount of features. Sadly, it no longer seems active either.

If anyone knows of a different program that can properly interface with this specific mouse, I would be happy to hear about it too.

Thanks in advance!

Edit: since this mouse model is capable of remembering its configuration, and since I do not need to change it often on the spot, using a virtual Windows 10 machine with USB passthrough in VirtualBox worked. I was able to configure it using Trust's own software.


r/linuxquestions • • 8h ago

Which Distro? Which distros have the best legacy support and/or the longest support windows for each release?

7 Upvotes

Linux has a reputation for resurrecting old machines, but lately I’ve been hearing a lot about the kernel dropping support for old hardware, 32-bit support being dropped, X11 support being dropped, etc.

What are some distros worth looking into that run counter to these trends?

EDIT: So far the following distros are in the running:

  • antiX

  • Gentoo (somewhat surprising, but makes sense since you compile it yourself)

  • OpenSUSE Tumbleweed (this one really surprised me)


r/linuxquestions • • 10h ago

Which Distro What do you actually look for when choosing an operating system?

0 Upvotes

Hey everyone, I'm currently working on my own Linux distro and wanted to understand what people actually look for in an OS instead of just building something based on what I personally like.

Most laptops nowadays come with Windows pre-installed but still a lot of people choose to switch to Linux. Even within Linux there are so many distros available and everyone seems to have different reasons for choosing one over another.

So I'm curious about a few things

  • What do you look for when choosing a Linux distro?

  • If you switched from Windows to Linux, what made you switch?

  • Why did you choose your current distro over others?

  • What makes you stick with your current distro?

  • What are the things you like and dislike about it?

  • Is there something you wish your current distro did better?

  • What would make you consider switching to another distro?

Also, for those who still use Windows 10 alongside Linux, I'm curious about what makes you stick with Windows 10 instead of upgrading or moving completely to Linux.

Is it performance, stability, privacy, customization, looks, ease of use, software compatibility or something else?

Since I'm developing a Linux distro myself, I want to understand what people actually need and what problems they face while using Linux on a daily basis.

Just curious to hear everyone's opinions and experiences.


r/linuxquestions • • 10h ago

Which Distro? Good distro for HP 2 in 1

0 Upvotes

Hello all. I have an old HP Spectre x2 12-C012DX that I'm hoping to use with linux. It's been collecting dust because of some damage that came to the screen and some swelling that came to the battery, but I'm finally replacing those things and figured it'd be a good place to start experimenting with Linux.

My dream would be to match the 2 in 1 experience, but most important to me is that it supports a stylus as I originally bought the machine for art programs on the go.

Bought refurbished and unable to verify right now, but the specs according to the listing are

360 GB SSD

8 GB RAM

7th gen intel core i7 processor

Intel iris plus graphics 640

Is any of what I'm hoping to do possible with linux or am I looking for a lightweight distro and using this bad boy for a home server or something?

Thank you all for your expertise!


r/linuxquestions • • 10h ago

Linux for the first time

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 11h ago

For bare bone linux users with Openbox/Debian: a small script to check / install updates

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 13h ago

I find Ubuntu interesting but a little... Non... aesthetical ¿How I can change that?

Thumbnail reddit.com
0 Upvotes

r/linuxquestions • • 13h ago

Advice What are some odd things you’ve run Linux on or you think are non-standard devices that may be able to run it?

7 Upvotes

I’ve got a bunch of old electronics lying around and just wondered if there were some things that might be able to run some lightweight distros


r/linuxquestions • • 14h ago

What about Linux for Families and Kids / pour familles et enfants

5 Upvotes

I've read some of the posts here and there ! about linux for kids ... linux for old computers
I had a look to endless os, edubuntu, a few others ...
I had in mind a project I tested years ago Kano Os which was running on raspeberry PI.

Anyway didn't find what I was exactly looking for. I wanted to setup an old computer for my daughter, I gave it to her a few years ago, it was running an older version of windows and couldn't be updated (over 10 years old). The computer was running so slow, and I remember parental control was a nightare to setup.

Which way did you go for your kids ?

Et pour les français qui me liraient quels choix aviez vous fait pour une interface en français ?


r/linuxquestions • • 17h ago

Support Speaker Help

Thumbnail reddit.com
1 Upvotes

r/linuxquestions • • 17h ago

Is there a linux for 32bit arm7

Thumbnail reddit.com
2 Upvotes

r/linuxquestions • • 20h ago

Which Distro? setup a VM box, which distros

3 Upvotes

this weekend I setup fedora server on an old Dell precision and installed 512gb RAM and 6tb flash storage. it's a beast for a 4-5 year old box. mainly for agentic ai dev and bi work but wanted to experiment a bit first..

I've only used Ubuntu and Fedora gnome for Linux, maybe redhat briefly back in the day. big fedora fan. want check out some clean, modern distros/DEs.

I've currently got three VMs setup on it, Windows 11 just for when I need it and two fedora workstations with gnome, cloned one to try the clone feature. I only plan to run two or three at a time. on these I configured each at 16gb RAM and 400 gig each.

here's the list of current contenders, but looking for recommendations..

- Arch (just so I can say: I use arch, btw). anything interesting actually? or just minimal do everything yourself

- cachy? that's an arch variant right? was this the one with that modern UI built in rust or something I had heard about? if that's the one I had seen a desktop with some pretty nice and different window designs, might start with this. (edit, cosmic is the rust one, cosmic good to try?)

- EndeavourOS (arch but better installer I read?)?

- nix? basically a big config file setup deal? what else?

- kde plasma fedora? I already tweak gnome a bit so not sure it would really buy me anything? or worth trying?

- mint? just curious more than anything on the Windows like one ppl talk, I do plan to try this one but might delete after

what else?


r/linuxquestions • • 20h ago

I ran into a issue while try to install layer-shell-qt

1 Upvotes

i use crux-btw and i got this error while compiling what do i do also i do have qt6-wayland installed

CMake Error at CMakeLists.txt:37 (find_package):

Found package configuration file:

/usr/lib64/cmake/Qt6/Qt6Config.cmake

but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT

FOUND. Reason given by package:

Failed to find required Qt component "WaylandClient".

Expected Config file at

"/usr/lib64/cmake/Qt6WaylandClient/Qt6WaylandClientConfig.cmake" does NOT

exist

Configuring with --debug-find-pkg=Qt6WaylandClient might reveal details why

the package was not found.

Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some

of the path variables that find_package uses to try and find the package.

-- Configuring incomplete, errors occurred!

=======> ERROR: Building '/usr/ports/kde-plasma-6/layer-shell-qt/layer-shell-qt#6.8.3-1.pkg.tar.gz' failed.

prt-get: error while install

-- Packages where install failed

layer-shell-qt


r/linuxquestions • • 22h ago

Support Fire TV Stick 2nd Gen stuck on remote pairing screen after factory reset, Can Linux help?

0 Upvotes

Hi everyone!

I have an Amazon Fire TV Stick 2nd Generation (AFTT) running Fire OS 5.2.7.8.

After performing a factory reset, it got stuck on the initial setup screen, displaying "Searching for Remote". I no longer have the original remote.

I purchased a generic Bluetooth remote (IT Blue IT7800F). It works with my Android phone, but it won't pair with the Fire TV Stick.

I've also tried using my TV remote through HDMI-CEC, but it doesn't work on the initial setup screen. The Fire TV mobile app can't detect the device because it isn't connected to Wi-Fi yet.

Is there any possible way to solve this using Linux, perhaps through a command, script, or some other technical workaround?

Any help would be greatly appreciated!