Debian — The Universal Operating System

6 readers
1 users here now

Subreddit to discuss all the Debian things, the Universal Operating System.

founded 1 year ago
MODERATORS
26
 
 
The original post: /r/debian by /u/chennystar on 2024-12-26 14:36:26.

Bookworm 12.8, on a laptop w/ hybrid graphics (Intel i7-12700H integrated GPU and Nvidia RTX 3050Ti). I was pleasantly surprised that, after having applied Debian's wiki config recommendations, Wayland/Gnome/Nvidia/Optimus work just fine.

I use the recommended PRIME offload method (https://wiki.debian.org/NVIDIA%20Optimus#Using_NVIDIA_PRIME_Render_Offload). Now, I'm aware that with the (now outdated) Bumblebee method, one had to explicitly invoke programs that we wanted to run on the Nvidia GPU, automatic detection has never been implemented (unlike under Windows, see https://en.wikipedia.org/wiki/Nvidia_Optimus#Linux_support).

Is it the same with the newer PRIME offloading method ? So far I launched some programs using :

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia command

It works fine, but I wonder if in some cases the system decides by itself to use the Nvidia GPU rather than the Intel one. I couldn't find the answer for the PRIME offload method. My guess would be that, as with Bumblebee, one always has to explicitly specify that we want to use Nvidia for a program. But then, I'm surprised that by default, after booting the laptop, nvidia-smi shows the /usr/bin/gnome-shell process using Nvidia graphics (it's the only process). So it seems that "the system" decided by itself to use Nvidia graphics for Gnome Shell.

So, does Optimus/Prime offload method automatically detect which GPU to use ? Or does one always have to specify __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia to use Nvidia GPU ?

27
 
 
The original post: /r/debian by /u/pawxed on 2024-12-26 13:34:54.

Hello! I'm advanced at these stuff but linux kernel seems to be having issue for me and i needed some help on how i should resolve this issue because i never seen anyone encountering this, I tried using fedora 41 workstation and debian bookworm, even ubuntu! It gave me the same result, I'm currently using debian 12 bookworm

[  127.555158] perf: interrupt took too long (2542 > 2500), lowering kernel.perf_event_max_sample_rate to 78500 
[  142.724751] perf: interrupt took too long (3271 > 3177), lowering kernel.perf_event_max_sample_rate to 61000" 

Yes i know that perf are meant to do that by the linux kernel but it really made my performance 10 times worse, considering my laptop is low end with only 2 core

My solution to this is that i have to reboot every single time i turned on my laptop, when it entered the loading plymouth screen i had to spam CTRL ALT DEL to reboot, after that the perf message no longer appearing in the dmesg

It's getting annoying to me because sometimes it solved it but sometimes it doesn't solve it and i had to reboot multiple times just to get rid of the sluggish performance, I'm pretty sure it's not related to my HDD since it could handle my Windows partition pretty fast (I do not have fast boot enabled) and it loads website pretty fast in firefox

but when i do the same thing loading a site in debian or fedora it'll run so sluggish as if i'm running intel celeron (I even tried using librewolf and it gave me the same lag issue)

Any ideas for the solution? I'm considering to turn off the perf by running

sysctl -w kernel.perf_cpu_time_max_percent=0

But when i think about it, it may be risky.

Specification:

Toshiba satellite C640

6gb RAM

500gb HDD (Partition: Windows 11/Debian bookworm)

Intel core i5 M430 (GPU: intel Integrated graphic)

Linux kernel: 6.1.0-27-amd64

28
 
 
The original post: /r/debian by /u/YOURLOCALPROGRAMMMER on 2024-12-26 13:28:04.

Yep, I accidentally sudo rm - rfed my pc and how do I restore my files. I'm posting this on my mobile because my pc is bricked

29
 
 
The original post: /r/debian by /u/Any-Butterscotch194 on 2024-12-26 13:24:42.

I would like to make a minecraft server with a computer with debian

bootable from ssh and I would like to put a package of custom mods

inside, there are about 100 and I was thinking of using twingate but

I don't know anything about it...I would like to make a minecraft server

with a computer with debian bootable from ssh and

I would like to put a package of custom mods inside, there are about 100 and

I was thinking of using twingate but I don't know anything about it...

30
 
 
The original post: /r/debian by /u/ehraja on 2024-12-26 08:32:58.

How big a task is it to create a debian 12 iso? Starting with debian 12 you get the non free firmware repository on your computer during installation. Only workaround I know about is the firmware=never option. https://www.debian.org/releases/bookworm/amd64/ch02s02.en.html Including non free firmware in the repositories by default had reasons. Better hardware support. However for free software people debian made another step backward. Why didn't debian also create an iso installing no non free firmware repository? It is one iso every 5 years. Because updates of the iso are not required. Am I ignorant about technical difficulties? Would a no non free firmware iso require its own updating system? Apart from the non free firmware matter, a debian iso also comes with other free software issues. I do not know them all. I can mention firefox and thunderbird. On the other hand the free software issues regarding a debian iso do not seem countless. Would it be a big task to make a free software iso version of debian and call it librean?

Thank you.

31
 
 
The original post: /r/debian by /u/Desperate-Dig2806 on 2024-12-26 06:22:05.

Hi there, looking for pointers.

Fresh install of Debian 12 on a Dell XPS 9315. Downloaded today. (Under the assumption "it just works" :))

Wifi working from "raw terminal" and if I reboot into recovery mode.

Installed KDE with:

sudo apt install kde-plasma-desktop

Nothing shows up in the wifi network manager and no connection.

sudo systemctl status NetworkManager says it's enabled but hey there might be something there I'm not getting, can't post screenshot/log since that machine has no internet connection :D

Also checked plasma-nm and that is also installed.

Any tips? Thanks!

32
 
 
The original post: /r/debian by /u/Austinitered on 2024-12-25 23:35:46.

Description:

ifconfig only shows lo, wlan0 interfaces on the rpi. Below is a printout from a diagnostic script I created. I'm pretty stumped on what to do from here? If it was actually PHY, NetworkManager wouldn't identify it right?

Some background:

  • This is on a freshly installed Raspbian instance (latest as of 12/25) with the latest eeprom version.
  • I have 4 other devices that work just fine and they were all initially using the same version. I upgraded just now as an attempt to resolve the issue.
  • I already swapped PoE hats with a working device, it's definitely this device.
  • I tried running rpi-update already and rebooted. Bring up attempt:

~ $ sudo ip link set eth0 up RTNETLINK answers: No such device

Diagnostics:

============================================
System Information
--------------------------------------------
Linux node1 6.6.67-v8-16k+ #1833 SMP PREEMPT Fri Dec 20 14:15:46 GMT 2024 aarch64 GNU/Linux
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:    12
Codename:   bookworm
2. Kernel Version
--------------------------------------------
6.6.67-v8-16k+
3. Ethernet Device Detection
--------------------------------------------
0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
[    2.621874] mdio_bus 1f00100000.ethernet-ffffffff: MDIO device at address 1 is missing.
[    2.630020] macb 1f00100000.ethernet eth0: Cadence GEM rev 0x00070109 at 0x1f00100000 irq 112 (2c:cf:41:1f:39:4c)
[    5.861235] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.300628] macb 1f00100000.ethernet eth0: Could not attach PHY (-19)
4. PHY Attachment Logs
--------------------------------------------
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x414fd0b1]
[    0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    1.626689] vc-mem: phys_addr:0x00000000 mem_base=0x3fc00000 mem_size:0x40000000(1024 MiB)
[    6.300628] macb 1f00100000.ethernet eth0: Could not attach PHY (-19)
5. Device Tree Information
--------------------------------------------
Device tree entry for Ethernet not found.
6. Loaded Kernel Modules
--------------------------------------------
rp1_pio                65536  0
rp1                    49152  1 rp1_pio
rp1_mailbox            49152  1
rp1_adc                49152  0
7. NetworkManager Logs
--------------------------------------------
Nov 19 07:39:38 node1 NetworkManager[618]: <info>  [1732023578.0472] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Nov 19 07:39:38 node1 NetworkManager[618]: <info>  [1732023578.0480] settings: (eth0): created default wired connection 'Wired connection 1'
Nov 19 07:39:38 node1 NetworkManager[618]: <info>  [1732023578.0480] device (eth0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Dec 25 15:20:06 node1 NetworkManager[610]: <info>  [1735161606.1501] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Dec 25 15:20:06 node1 NetworkManager[610]: <info>  [1735161606.1511] settings: (eth0): created default wired connection 'Wired connection 1'
Dec 25 15:20:06 node1 NetworkManager[610]: <info>  [1735161606.1511] device (eth0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Dec 25 15:22:37 node1 NetworkManager[628]: <info>  [1735161757.0760] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
Dec 25 15:22:37 node1 NetworkManager[628]: <info>  [1735161757.0768] settings: (eth0): created default wired connection 'Wired connection 1'
Dec 25 15:22:37 node1 NetworkManager[628]: <info>  [1735161757.0768] device (eth0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
8. Firmware and Bootloader Versions
--------------------------------------------
2024/12/19 11:57:13
version ccf64a4f0756db2e198bb3c32a2c7cde5064a260 (release)
timestamp 1734609433
update-time 1735161714
capabilities 0x0000007f
[all]
BOOT_UART=1
BOOT_ORDER=0xf461
POWER_OFF_ON_HALT=0
9. GPIO Configuration
--------------------------------------------
gpio command not found. Install wiringpi for GPIO information.
10. Summary of Findings
--------------------------------------------
Detected PHY attachment issue. Check firmware and device tree configurations.

33
 
 
The original post: /r/debian by /u/Ok_West_7229 on 2024-12-25 21:56:49.

When 13 will be released, I'm gonna follow this official documentation.

One thing that’s on my mind is whether I’ll get all the new packages bundled with Trixie that aren’t currently installed on my system.

For example, hypothetically speaking, if power-profiles-daemon were to be added ("shipped" by default) to Trixie, and it’s not currently installed on my Bookworm system—would it be pulled (installed) during the upgrade from Debian 12 to 13?

So in a nutshell: would the upgrade process ensure I get all the new default packages, just as if I were doing a clean install of Trixie?

34
 
 
The original post: /r/debian by /u/moz213 on 2024-12-25 20:24:55.

I installed Debian 12.8 xfce. I also installed the Lightdm with Lightdm-slick-greeter. After downloading and installing the Ubuntu Font family I get squares Instead of the Ubuntu Font in the login screen also in the font selector it shows squares when choosing Ubuntu Font. Any suggestions?

35
 
 
The original post: /r/debian by /u/AdLost4647 on 2024-12-25 19:21:14.

I already have 1 debian os installed but I want to install another one to use just for games. I don't want the second installation to overwrite the first one. How to install another debian os alongside it without overwriting the first one?

36
 
 
The original post: /r/debian by /u/mewandwing on 2024-12-25 18:57:09.

https://preview.redd.it/fhu6bhhfk19e1.png?width=1309&format=png&auto=webp&s=86fe23f1a8ba191d5683725ed5dc834589da1b5a

I have just install as an VM in Proxmox, Im trying to apt update and it giving me this message

Can some help me out

PS. Super New to Linus overall

37
 
 
The original post: /r/debian by /u/sinisterpisces on 2024-12-25 17:18:39.

Hello,

I just saw this in my console, using a Thunderbolt 3 (Aquantia-based) NIC. I know these aren't ideal, but this looks like it might be a power setting that I could tweak. The card is rock-solid when it's plugged in, and was only down for ~2 seconds. OTOH, since it came back up, it's not visible in lspci anymore. :P

tl;dr the retimer controlling the bus this device is on resets and takes the device down with it. Is there some flag I can set to keep this from happening?

vectorsigma ~% uname -a [TrueNAS 24.10.1]
Linux vectorsigma 6.6.44-production+truenas #1 SMP PREEMPT_DYNAMIC Mon Dec 16 20:59:32 UTC 2024 x86_64 GNU/Linux

Meanwhile in the log:

Dec 25 08:28:38 vectorsigma kernel: thunderbolt 1-0:1.1: retimer disconnected

Dec 25 08:28:38 vectorsigma kernel: thunderbolt 1-1: device disconnected

Dec 25 08:28:38 vectorsigma kernel: pcieport 0000:00:07.2: pciehp: Slot(5): Link Down

Dec 25 08:28:38 vectorsigma kernel: pcieport 0000:00:07.2: pciehp: Slot(5): Card not present

Dec 25 08:28:38 vectorsigma kernel: atlantic 0000:2e:00.0 enp46s0: failed to kill vid 0081/0

Dec 25 08:28:39 vectorsigma kernel: pci_bus 0000:2e: busn_res: [bus 2e] is released

Dec 25 08:28:39 vectorsigma kernel: pci_bus 0000:2d: busn_res: [bus 2d-2e] is released

Dec 25 08:28:40 vectorsigma kernel: thunderbolt 1-0:1.1: new retimer found, vendor=0x8087 device=0x15ee

Dec 25 08:28:41 vectorsigma kernel: thunderbolt 1-1: new device found, vendor=0x56 device=0x10d2

Dec 25 08:28:41 vectorsigma kernel: thunderbolt 1-1: QNAP Systems, Inc. QNA-T310G1S

Additional diagnostic information:

8087:15ee appears to be an Intel retimer, so I think that's actually part of the motherboard's Thunderbolt implementation. So, it's not clear to me if this is a problem with the settings on the TB3 NIC, or if the motherboard's settings are the issue.

It looks like the retimer is getting disconnected, and then takes the NIC down with it, but I'm just guessing at this point.

TrueNAS has locked their OS down enough that I can't set a UDEV rule to just auto-authorize every device on the bus, so I have to manually re-active at the NIC via the device tree every time this happens:

root@vectorsigma:/sys/devices/pci0000:00/0000:00:0d.3/domain1/1-0/1-1# echo 1 > authorized

Yes, this is ridiculous. Worse, it makes the NIC unusable for a remote system, as I can't exactly SSH in to fix the NIC if need the NIC to be working to SSH in.

38
 
 
The original post: /r/debian by /u/Reasintper on 2024-12-25 14:24:04.

I had an older laptop that I installed Debian 12 bookworm and Gnome from the downloaded iso.

It needs a new battery, and probably new charger as the cord is wearing. So, I was giving it to my daughter, since she needs a usable computer, and this should do quite well once she adds a new battery.

I was taking off my own files and such, and showing her the basics. There was some thing she clicked that suggested that it was going to update a few things and reboot. I had showed her how to use apt and I am not sure where this thing came from, but as soon as she clicked it my heart dropped.

LSS.... It came up to the login screen and no matter the account it kept coming back to it. I did the terminal login shortcut messed around trying all sorts of sketchy stuff until I finally got Xfce (which she calls "X-Face" :) to come up.

Everything I tried to remove/reinstall Gnome was for nought. At some points it would say that it couldn't install this or that because some version was to be installed but colided with some other numerical version.

Anyway I sent her home with X-Face and a generally working system. She lives a few states away, so I won't get to mess with it any time soon. And I do realize I could have re-installed but didn't.

I am assuming it had to do with the nouveau drivers because it has the NVIDIA Optimus and I had other issues in the past.

Anyway, just as a matter of strategy, what would have some better things to try before or after I bricked Gnome? This is more a strategic process question, since I doubt I will ever do much with this specific machine again. But bricking the UI is always a great fear for me. Granted all my other Debian machines run KDE but who knows, someday I may be in Gnome again, or brick KDE :)

39
1
Or... (zerobytes.monster)
submitted 2 days ago by [email protected] to c/[email protected]
40
 
 
The original post: /r/debian by /u/zarevskaya on 2024-12-25 12:23:55.

Hello!

For a few days, after an update of Dolphin, network discovery is no longer offered. My question is how to integrate it again? Thanks!

41
 
 
The original post: /r/debian by /u/dfwtjms on 2024-12-25 12:14:39.
42
 
 
The original post: /r/debian by /u/GentlemenGeek on 2024-12-25 08:37:24.

ISO-CD vs ISO-DVD vs ISO-BD for Minimal Debian Install?

Hi r/debian,

I'm planning a minimal Debian installation but I'm a bit confused about the differences between the ISO-CD, ISO-DVD, and ISO-BD images. Here's what I understand so far:

  • ISO-CD: The smallest, meant for users with good internet connections since most packages are downloaded during installation.
  • ISO-DVD: Larger and includes more packages, suitable for limited or no internet during installation.
  • ISO-BD: The largest, containing the most comprehensive set of packages for a seamless offline install (I think?).

My goal is to perform a minimal install showing only the TUI, and from there, manually install a lightweight WM and only the software I need for a bloat-free setup. I have limited internet access, so downloading too many additional packages later might be challenging.

I also want the latest packages like mpv 0.39.0, so I'm considering Debian Testing. Could someone clarify:

  1. What's included in each of these ISO types (CD/DVD/BD)?
  2. Which one is most suitable for my use case with limited internet?
  3. Is there a better way to ensure the latest packages while keeping the install minimal?

Thanks in advance for your insights!

43
 
 
The original post: /r/debian by /u/Gdiddy18 on 2024-12-24 21:49:40.

So i have been pulling my hair out trying to figure out why my grub theme wasn't changing and i figured out i would leave instructions for future generations

  1. install grub customizer( sudo apt install grub-customizer)
  2. I noticed when i was in Grub customizer i went into File>Change environment i had a warning triangle for this "/boot/grub/device.map" so i did "sudo nano mkdir /boot/grub/device.map" to make the file
  3. Download your theme from your favorite place and put it somewhere you wont delete it
  4. Extract the compressed file
  5. go into the grub theme file you just extracted, now its a folder in a folder what you need to do is copy all the files where the images and theme.text file is and put it in the main directory I.E the first folder you go into and delete the old folder so you are left with everything in the single main file
  6. Close the new folder and compress to a tar.gz file
  7. go into grub customizer and go to appearance settings and click the blue plus to add a theme, find the tar.gz folder (you may need to select the "all files" option in the bottom left to see it
  8. Click save
  9. Go to the terminal and type "sudo update-grub"
  10. Reboot and enjoy!

To mention im on Deb 12.8 with an encrypted drive

44
 
 
The original post: /r/debian by /u/fuckthec1a on 2024-12-24 20:24:00.
45
 
 
The original post: /r/debian by /u/the_mean_person on 2024-12-24 18:45:44.

Is anyone else having the same problem? Fresh netinstall with Gnome.

I'm not even sure how to begin troubleshooting this.

46
 
 
The original post: /r/debian by /u/Firenub13 on 2024-12-24 18:07:27.
47
48
 
 
The original post: /r/debian by /u/aWesterner014 on 2024-12-24 17:15:47.

I have a custom developed jar and a custom shell script that I have written to wrap around the jar.

If I run the script as the "application account" at the command line, it works fine.

That said, I am having issues "plugging" the shell script into systemd.

If I try to reference the script in a systemd service file and then try to start it with the service hooks, the script fires, but it appears the jar file is either starting and getting killed or never starting. I have the java command to run the jar file creating a log file for redirecting standard out. The log file is getting created but the java file is not logging anything to the log file.

Any suggestions on what to look at?

49
 
 
The original post: /r/debian by /u/RACeldrith on 2024-12-24 15:54:48.

Hello everyone,

I have some questions regarding the FDE autodecryption with TPM.

I used systemd-cryptenroll to succesfully enter it into the TPM at slot 2!

However whenever I press enter on the Debian entry in Grub it still asks for my password to decrypt.

Can people point me in a direction in which I can make this working?

50
 
 
The original post: /r/debian by /u/squigglyVector on 2024-12-24 15:52:09.

I know it’s been a while since it was voted but it makes life so much easier at install now. It’s not forced open users but at least it’s available. I run on pretty recents hardware and it saved my bacon a lot.

I was never able to use the usb stick with the proprietary drivers before. It never works for me even with the tutorials. Now it’s just flawless.

view more: ‹ prev next ›