1
submitted 3 years ago* (last edited 2 years ago) by [M] to c/linuxquestions@lemmy.zip
 
 

When you delete your posts on this sub, you are deleting a solution to a potential problem that someone may be having. It is inconsiderate and can result in a ban.

2
 
 

I have been having some issues lately with fedora. This install was pretty reliable and never threw any errors until recently. I also noticed really slow read and write speeds one day. Like 2 times slower then a hard drive. But that went away after some use.

Later that day I updated and it wouldn't boot. Just a blank screen. I was able to Ctrl alt f1 into a login sceen and run dnf and update.

That fixed it.

Then comes the second issue. I was programming and all of a sudden my python file disappeared out of thin air! Which is funny because I remember saving it. So I downloaded a backed up copy from my nas, and it disappeared again.

I figured it was a problem with Kate so I reinstalled it and it worked and saved files without removing them. Then I shut the computer down when I was done and this morning it boots to a blank screen. And the initial fix I did a while ago doesn't work. I'm pretty stumped on it and I did capture some photos.

It gets stuck loading this process

Same here

Then it passes them and tries something else

Then we enter this never ending loop.

So what do you guys think? New install of fedora needed or do I need a new ssd?

3
 
 

Upgraded to amd 5900xt & 7090xt and am experiencing random crashes. No overclock, no xmp/docp, no pbo (not defaults cause Asus has pbo on by default). 1000w seasonic PSU.

Whole screen goes green and reboots. Happens in heavy gaming, watching YouTube and even at idle.

Journalctl lists an mc5 hardware error suggests the cpu, but none of the troubleshooting has fixed it.

BIOS updated, c-states disabled, triple checked all settings, fully up to date Arch, but still randomly crashes.

Where do I go from here?

4
 
 

Hi there!

I recently switched from Arch Linux after a decade and now settled on Void Linux. So far so good. However sometimes I gather minor things here and there. My current issue is, the proprietary drivers of Nvidia still seeking systemd for some parts and not sure how to walk around this.

I cannot suspend my PC because when I wake it up I always see something about nvidia-sleep.sh. Probably it cannot wake the GPU up properly.

This is nvidia-sleep.sh:

#!/bin/bash

if [ ! -f /proc/driver/nvidia/suspend ]; then
    exit 0
fi

RUN_DIR="/var/run/nvidia-sleep"
XORG_VT_FILE="${RUN_DIR}"/Xorg.vt_number

PATH="/bin:/usr/bin"

RestoreVT() {
    #
    # Check if Xorg was determined to be running at the time
    # of suspend, and whether its VT was recorded.  If so,
    # attempt to switch back to this VT.
    #
    if [[ -f "${XORG_VT_FILE}" ]]; then
        XORG_PID=$(cat "${XORG_VT_FILE}")
        rm "${XORG_VT_FILE}"
        chvt "${XORG_PID}"
    fi
}

case "$1" in
    is-suspend-then-hibernate-supported)
        # suspend-then-hibernate only works correctly if $SYSTEMD_SLEEP_ACTION
        # is supported, which was added in systemd 248.
        systemd_version=$(systemctl --version | head -n1 | cut -d' ' -f2)
        if [ "$systemd_version" -gt 247 ]; then
            exit 0
        fi

        echo "systemd version $systemd_version is too old to support suspend-then-hibernate with NVIDIA." 2>&1
        echo "Please upgrade to systemd 248 or newer." 2>&1
        exit 1
        ;;
    suspend|hibernate)
        mkdir -p "${RUN_DIR}"
        fgconsole > "${XORG_VT_FILE}"
        chvt 63
        if [[ $? -ne 0 ]]; then
            exit $?
        fi
        echo "$1" > /proc/driver/nvidia/suspend
        RET_VAL=$?
        #
        # If suspend/hibernate entry fails, switch back to the active VT
        #
        if [[ $RET_VAL -ne 0 ]]; then
            RestoreVT
        fi
        exit $RET_VAL
        ;;
    resume)
        echo "$1" > /proc/driver/nvidia/suspend
        RestoreVT
        exit 0
        ;;
    *)
        exit 1
esac

I'm using Niri so no desktop environment here if that helps. My driver is nvidia580. Also using greetd (w/ tuigreet). So, what can I do here?

Linux void 6.18.38_1 
pkgver: runit-2.3.1_1
Nvidia 580.159.04 

Edit: Tried nouveau and suspend works with it. However because Nvidia didn't provide firmware blobs for my card (GTX 1080) I cannot use the open drivers well.

Edit 2: Tried to give power management from acpid to elogind, thinking it might help to fool this script since it's systemd's standalone part here. Currently elogind both handles my seat and power management. I actually had some hope here, but sadly didn't work. Here are my elogind config files anyway:

/etc/elogind/logind.conf.d/logind.conf
[Login]
KillUserProcesses=no
HandlePowerKey=poweroff
HandlePowerKeyLongPress=poweroff
HandleRebootKey=reboot
HandleRebootKeyLongPress=poweroff
HandleSuspendKey=suspend
RemoveIPC=yes
/etc/elogind/sleep.conf.d/nvidia-sleep.conf                                    
[Sleep]
AllowSuspend=yes
AllowHibernation=no
AllowSuspendThenHibernate=no
AllowHybridSleep=no
#SuspendMode=deep
SuspendState=mem standby freeze
HandleNvidiaSleep=yes

Nvidia, this is for you:

5
submitted 1 week ago* (last edited 1 week ago) by to c/linuxquestions@lemmy.zip
 
 

On Mint. Tried installing Anki from the app store, but the web was unhappy with that version's time zone handling, so I couldn't sync.

I downloaded the tarball from the developer and it installed fun, but when I run it I get:

 Starting Anki 26.05...
Qt warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. 
Qt info: Could not load the Qt platform plugin "xcb" in "" even though it was found. 
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, offscreen, xcb, minimalegl, eglfs, vkkhrdisplay, minimal, vnc, wayland-brcm, wayland-egl, wayland.
 
Aborted (core dumped)

The Qt debug's only issue is this:

Qt debug: Got keys from plugin meta data QList("wayland", "wayland-egl", "wayland-brcm") 
Qt debug: checking directory path "/home/alex/Downloads/anki-linux/platforms" ... 
Qt debug: "/home/alex/Downloads/anki-linux/app_packages/PyQt6/Qt6/plugins/platforms/libqxcb.so" cannot load: Cannot load library /home/alex/Downloads/anki-linux/app_packages/PyQt6/Qt6/plugins/platforms/libqxcb.so: libxcb-cursor.so.0: cannot open shared object file: No such file or directory 
Qt debug: QLibraryPrivate::loadPlugin failed on "/home/alex/Downloads/anki-linux/app_packages/PyQt6/Qt6/plugins/platforms/libqxcb.so" : "Cannot load library /home/alex/Downloads/anki-linux/app_packages/PyQt6/Qt6/plugins/platforms/libqxcb.so: libxcb-cursor.so.0: cannot open shared object file: No such file or directory" 
Qt warning: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin. 
Qt info: Could not load the Qt platform plugin "xcb" in "" even though it was found. 
Qt fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

I've checked that location and libqxcb.so is exactly there where it should be, so I'm not sure why it can't read.

I've uninstalled and reinstalled and still have this problem.

Any ideas?

Edit: Solution:

Try installing the packages mentioned here: https://docs.ankiweb.net/platform/linux/installing.html#requirements

6
submitted 1 week ago* (last edited 4 days ago) by to c/linuxquestions@lemmy.zip
 
 

Hi, I've been having this problem with my system for like a week where it just locks up and has to be hard restarted. The screen freezes, input devices are unresponsive, bluetooth disconnects, sftp server stops etc. This can happen anytime; while I'm moving the mouse, in a game, while idling.. And the worst part is that when I check the journal afterwards there's absolutely nothing there. No errors, no coredumps, no other messages (from the freeze time)

I've run the aur malware checker and it's clean. I've also updated the system a couple times and it feels like the frequency of freezes only increased over time.

That makes me suspicious of a hardware failure, but I've had similarly strange problems before and every time it was a software problem. I've started a memtest (clean so far) but I'm not sure what else to do on that front. What component's failure would result in a freeze, but not a crash or any errors?

System is zen4 with nvidia graphics.

Anyone experiencing something similar? Are there new driver / system incompatibilities that I should know about? How would you debug this? Is there a way to figure out the origin of the freeze despite the empty journal?

Edit: Memtest passed 3 times. Now it's burned into the lcd screen 🥲😭 Edit: burn-in gone after color cycling

Edit 2: I think the problem is the bios settings after all. I had a -6 curve optimizer offset, and the freezing hasn't happened since I removed it. Silicon degrades over time, apparently.

Edit 3: Nope it froze again

7
 
 

I'll admit I have used Artix, Peppermint OS (Devuan), and Void Linux because I thought the idea of a SystemDless distro sounded cool. It wasn't because I had a problem with SystemD. It's more so that I love that numerous options exist for different system components. For me it's sad to see that certain features or applications require SystemD be present. I like SystemD, just to be clear. I also like the freedom to choose. Maybe, i'm missing something. What do y'all think? What do you use and why? If you use OpenRC or something, why? I'm guessing most people use SystemD and don't give it any thought which is fair.

8
 
 

Hey y'all, I lack the vocabulary to search for what I'm looking for. I have a bazzite desktop, and I found an old nvme with Mint on it. I want to wipe the mint ssd and install windows onto it, and then install that into my bazzite PCs second nvme slot. I know there's some stuff I need to do to make sure windows doesn't fuck my bootloader (I think?) but I'm not sure what. And the stuff I've been finding is about setting a partition up on the same drive, usually setting up a Linux partition on a Windows drive. So I'm not sure how much of this applies to my situation. I would really appreciate some help/ being pointed in the right direction haha

9
 
 

I have a rather large library of movies gathered over the years (all entirely legally I assure you officer). I'm in the process of setting up a Jellyfin server so I can stream them on the go.

Currently it's just one folder full of individual files but Jellyfin wants each movie within it's own folder.

Is there a command, or set of commands, that would do this all in one go? ie iterate my way through a folder, create a new folder with the same name as a file, move that file into this new folder and repeat a few hundred times.

I am using Cachy OS (arch) and have Dolphin and yazi as file managers if that helps. I guess a bash script would be the best way to achieve this but my skills are quite rusty.

10
 
 

I installed arch (https://github.com/warpme/miniarch) on one of those small android tv boxes (A53 Cpu and 4gbs ram) that usually come with android+spyware and vague promises of piracy and i want to turn it into a small homeserver. I dont really know anything about servers so I dont know where to go from here. Im planning on connecting a 1TB drive to the box. I want some folders from my PC and phone(specifically documents) to be synced to the server automaticly whenever both are connected to my network, but I also have a ton of audio books, ebooks movies that I obviously only want to be accessible (by my TV, ereader, phone) but not synced accross devices. Ive also been thinking about having shared compute running in the background (seti or folding@home or something else). Obviously everything should need as little maintenance as possible, i want to have it sit in a corner and be able to forget about it. Could you point me in the right direction? Thanks in advance

11
12
 
 

Every now and then an update borks the connection between my phone and computer via USB. Normally when I plug in my phone it appears as a disk in the file explorer. Which package is responsible for this? Gvfsd? Is it something about MTP? I would like to roll back to the previous version of whatever is borking the connection but I have no idea how this connection works.

13
 
 
14
 
 

I don't have any particular problem here. I'm merely curious and can't find simple answers online. I haven't tried asking an AI, but I just feel strangely inclined to not try asking AI...

My screenshot depicts several networks in the Wifi section of gnome settings on Ubuntu 26.04LTS. The networks in question are ones labeled like management, untrusted, trusted. Some having a 1 at the end of their name/SSID (Same thing?). These networks are "hidden", not broadcasting their SSID. To my knowledge, the only networks which I've created on my infrastructure are the ones which do not have a 1 at the end of their name. After I initially connected to these hidden networks, the networks/configurations with a 1 at the end of their name/ssid/whatever just spontaneously appeared in the Wifi settings. This doesn't happen on any other devices or operating systems. So the question is of course, why does this happen?

15
16
 
 

geteilt von: https://feddit.org/post/32133481

For some time now, I've been noticing sporadic disconnections from the Wi-Fi. Sometimes this happens right after startup, sometimes after a few minutes, and sometimes only after an hour. Afterward, the laptop automatically reconnects to the Wi-Fi, only to lose the connection again at some point. Unfortunately, I have no idea what might be causing this or where I could look in the log files to find the cause. I’m using GNOME as my desktop environment. Can someone please help me find the cause and fix it if necessary?

17
 
 

@linuxquestions@lemmy.zip how do you install handbrake 1.11.2 avoiding flatpak ?

18
 
 

I unfortunately need Windows for work reasons, and will be installing Windows 10 on a separate drive. My main drive is Fedora with full disk LUKS2 encryption, and I'll install Win10 on the other drive through live USB while the Linux drive is disconnected. I have some questions related to this setup however:

  1. I do not have Secure Boot enabled, but iirc Windows 10 should have no issues with it?
  2. Will the two operating systems be truly isolated and independent? I.e. if I boot into one, it won't in any way affect the other? I'm particularly nervous about Windows trying something on the Linux drive.
  3. If the Windows drive installs some kernel-level stuff like anti-cheat, would it manage to affect the Linux drive? E.g. alter the boot options?
  4. I'll be installing Win10 using this tool; are there any considerations I should make for such a dual boot setup?

I know this post is a little bit Windows-directed, so let me know if I should make my post elsewhere. Thank you for the help!

19
20
submitted 1 month ago* (last edited 1 month ago) by to c/linuxquestions@lemmy.zip
 
 

I like using my stylus and I want to use a program that translate my handwriting to direct input for text fields. (Like how Apple Pencil uses the pen) here is a wonderful hand drawn example of my idea.

**green box (poorly) drawn to look like a web browser the url in the top box reads "fart.org" (because I am a child)

There is a red box below with cursive writing that says "fart.org" depicting a zone where you can write with a stylus. **

21
 
 

I've spent hours on MX fluxbox, but wasn't able to make the brightness and the time adjustments permanent.

I boot it from my live USB stick by the way.

22
23
 
 

I've been using unattended upgrades without any problems until now. However, for the second time, I'm encountering an issue where I end up with a summary stating that some packages were not installed or updated. Among other things, it tells me:

Package imagemagick is held back because a related package is held back or due to local apt_preferences(5).

However, when I run sudo apt full-upgrade, everything is up to date and the packages are installed. sudo apt-mark showhold also doesn’t list any packages. So why am I getting the message that packages were held back?

24
 
 

for one user, one machine. nothing fancy. just something that I can store passwords in. I've heard freakout problems about a lot of different ones.

EDIT : I'm on debian. 13.

25
 
 

I start a bash shell script via a oneshot unit. I output standard messages currently with

echo $message
echo $message >> $logfile.txt

With this I have output on screen and additionally in a logfile. I don't know if there is a better way to do that.

This works for standard infos fine. Additionally there must be a way to output also error messages and warnings, since when I look into other services, I see red messages for errors and yellow/orange colored messages for warnings.

How can I do such things with my bash script and output other levels like warnings in yellow and errors in red?

view more: next ›