/r/debian
Subreddit to discuss all the Debian things, the Universal Operating System
News and other stuff about the Universal Operating System..
Debian related links
/r/debian
Hello, I’ve been enjoying Debian 12 KDE and printing from flatpak works fine. The only issue I have is after my laptop resumes from suspend, Firefox can no longer see my printer and only allows printing to PDF.
I’m not sure how to fix this. Has anyone experienced this?
Thanks
This is the only backport I'm currently using. Perhaps I'll consider installing Emacs 29 once its backport becomes available, but that's as far as I intend to go. I'm cautious about overusing backports. Do you think there's a possibility that the LibreOffice from the backport could lead to any dependency issues over time? I'm currently running Debian 12 stable and intend to stick with it until Debian 13 stable is released.
I'm trying to setup gpu passthrough,; again, I used to use vfio....
setting it up I had a udev timeout, of course because vfio isn't in
/lib/modules/6.1.0-10-amd64/modules.builtin
so hopw to work this out?
In Debian 11 my current nvidia repository settings are as follows:
deb [signed-by=/usr/share/keyrings/nvidia-drivers.gpg] https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/ /
I'm going to upgrade the system to bookworm (Debian 12). Do I need to remove the current nvidia drivers before the upgrade and what repository settings should I start using in Debian 12 after the upgrade ?
hi, i tried using xrandr but it doesnt work in wayland. so i searched for a solution and i find that maybe i can set it using grub like editing the /etc/default/grub and i did after find out my display name using this command
for p in /sys/class/drmcard?-}: "; cat $p; done
i found eDP-1 the connected one so what i did next is that i went to my grub file and edit :
GRUB_CMDLINE_LINUX_DEFAULT="quite splash video=eDP-1:1920x1080@60"
than i did sudo update-grub and nth happen so i reboot my system and nth change
help???
So my main computer is on Debian 12 (stable), as I need it to be rock solid for my work, and Debian is my favorite distro. Most stable computer experience ever and I'm not going to change any time soon.
My 2nd PC is used as a multimedia computer (connected to the TV) and runs Pop!_OS, as they have the (almost) latest kernel and NVIDIA drivers, which renders video best on that machine (it has a capricious RTX 3060 Ti that has issues with most distros).
As for my 3rd PC, I am planning on using a rolling distro on it, to keep up with the latest updates and play around. I've already tried openSUSE on it and really like it, and from what I've read it has the reputation of being quite reliable for a rolling distro.
Anyone knows how Debian 12 testing compares to openSUSE regarding stability and reliability? I know openSUSE test each kernel, NVIDIA drivers and DE to make sure they cause no problems with most hardware and play nice together. Does Debian testing does the same?
I would appreciate having some insight from anyone that has experience with both.
Hi, on debian 12 Xfce I started noticing small "GTK missing icon" symbols inside GTK switches, like the one inside XFCE - appearance - themes.
it's not a big deal but it's annoying...
I'm almost sure this issue wasn't there before, and I already tried different icon themes.
I don't remember to have installed or updated something "related" , but it's difficult to be totally sure ...
Since upgrading to Debian 12 I have been getting a periodic error when booting the system:
Loading initial ramdisk... Error: out of memory
This happens about 2/3 of the times I attempt to boot the system, but the remaining 1/3 of times works fine.
The system has 32 GB of memory.
The error happens with the 6.1.0-12 kernel as well as 6.1.0-11. I still have 5.10.0-23 installed and it doesn't seem to happen with that kernel.
/boot/initrd.img is 87 MB for the 6.1.0-12 kernel and 77 MB for 5.10.0-23.
Does anyone have any ideas of how to figure out what's going on? Thanks.
Hi, i'm once again reaching you for some help. Long story short, I installed debian on dual boot with Windows 11 for i was learnig some bioinformatic tools on Linux (I'm a Biologist), forward in time i was using more windows because i'm more familiar with its office suite (and also all my games are in windows) and one day i realized that after some windows updates the system was not loading into GRUB but directly into windows, at that time I decided to check what is going on and when trying to manually boot via BIOS or changing the boot priorty it always display this message:
Well, I need to work with a genome browser called Artemis and since Devian was installed as a bioinformatics OS i want to install it on it, but first i need to regain access to the system. PLEASE HELP ME!!!!!!
https://edafe.de/2023/09/install-and-configure-ssh-on-debian-12-bookworm/
"The following configuration makes root logins on the remote machine impossible. Only users belonging to the group ssh-users may establish a connection. Access to the remote machine is tied to the local user’s private key."
It gets a strange error when booting up the computer:
[ 0.097434] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.097547] ACPI: Added _OSI(Module Device)
[ 0.097547] ACPI: Added _OSI(Processor Device)
[ 0.097547] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 0.097547] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.148943] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14.SADX], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.148949] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.148953] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14.SADS], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.148956] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.148957] ACPI: Skipping parse of AML opcode: OpcodeName unavailable (0x0014)
[ 0.148959] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14.RDLY], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.148961] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.148962] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14._DSM], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.148964] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.148965] ACPI: Skipping parse of AML opcode: OpcodeName unavailable (0x0014)
[ 0.148966] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14.BTRT], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.148968] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.148970] ACPI: Skipping parse of AML opcode: OpcodeName unavailable (0x5B84)
[ 0.148971] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14._PRR], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.148973] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.148974] ACPI: Skipping parse of AML opcode: OpcodeName unavailable (0x0014)
[ 0.148975] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14.BRDY], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.148977] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.148981] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14.BRDS], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.148983] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.148984] ACPI: Skipping parse of AML opcode: OpcodeName unavailable (0x0014)
[ 0.148985] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14.ECKY], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.148987] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.148990] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14.ECKV], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.148992] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.148994] ACPI: Skipping parse of AML opcode: OpcodeName unavailable (0x0014)
[ 0.148994] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14.GPCX], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.148996] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.149001] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14.GPC], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.149004] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.149006] ACPI: Skipping parse of AML opcode: OpcodeName unavailable (0x0014)
[ 0.149006] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14.BTLY], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.149008] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.149012] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.XHCI.RHUB.HS14.BTLC], AE_ALREADY_EXISTS (20230331/dswload2-326)
[ 0.149015] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20230331/psobject-220)
[ 0.149016] ACPI: Skipping parse of AML opcode: OpcodeName unavailable (0x0014)
[ 0.154511] ACPI: 13 ACPI AML tables successfully acquired and loaded
Does anyone know what this is related to?
Hi everyone,
I'm thinking of migrating to Debian Stable this weekend from Kubuntu Standard Release. I know that any distro is good for programmers, but I'm worried that with Debian I may not have the latest software I may need.
For context, I'm a web developer using Golang, JavaScript/TypeScript, Python, Java, and Kotlin.
Would Debian cripple my development in any way? Will the outdated packages cause problems for me?
I've heard there are backports, but I'm not entirely sure how those work.
I don't really care to have the absolute latest versions of software except on about 10-12 that I use, and most of them are available through Flatpak or direct repo provided by the software.
I've used Arch & openSUSE Tumbleweed in the past and they both caused headaches with updates breaking certain things, hence why I want to go to something more stable.
EDIT: I'm mainly looking for technical knowledge around backports, insight from other programmers that use this distro, etc.
Hey, I'm not sure if this is quite the right subreddit to post this in, but let me know if there's a better option. My project requires Rust 1.70, but the version in the Ubuntu repositories is older than that so the deb fails to build. Is there any way that I can get around this issue? For now I've installed Rust through rustup, but I don't think I can do that with PPAs. What is the correct way to go about this? Let me know if you need any of my debian/
files
so whats the best way to copy files(a lot and sometimes big) from my one storage space to another. I tried to copy with normal copy paste but sometimes it fails to copy some of the files and later on i just found out ut didnt copy that file
Hey guys it's my first time installing any distro and I'm pretty stumped on this.
There's a big download button on the homepage but that doesn't have any signature for me to verify.
The Sweden Index here has a lot of different options and I'm not entirely sure which one I'm supposed to go with
Also how do I verify the ISO on windows? Most of the guides I've found are revolved around machines that already have Linux installed. I've been able to match the serial number of the ISO I did download to the website's through the download window on Windows but I'm not sure if that's enough.
When I open Synaptic manager and search for Opera or VS Code or Pycharm nothing shows up
0- How to find those packages and other famous ones that can’t be found?
1- Is there a way to search with terminal?
2- Are there other graphical packages manager?
3- What are Snap, AppImage, Flatpak? Are they like app stores if yes are theyr safe to install from? do they come with debian or can they be installed?
4- Any informations or guide about the subject in general
Thank you so much every one !!
Hey there,
My desktop runs debian 12 with a ryzen 7700x. I use KDE plasma and I do not use any backport repositories. Every time there happens to be a kernel update, wake from sleep fails and I get a black screen. Everything works fine on 6.1-9 but past that I get this black screen issue (I think we’re at 6.1-12 at the moment).
How do I fix this? Should I just stick with the kernel version that works? Is it worth checking out backports or debian testing?
Here’s the log message I get from journalctl:
kwin_wayland_drm: Atomic commit failed! Invalid argument kwin_wayland_drm: Presentation failed! Invalid argument
Additional details, I have an nvidia card passed through to a VM. I access this VM through looking glass which uses a kernel module to relay the gpu frame buffer to an application running on debian. I also installed debian with btrfs to use with timeshift.
I just built a gaming PC and installed windows on the main drive(Gen 5 Nvme). I also wanted to install debian 12 on a separate SSD(Gen 4) so I created a bootable USB with Rufus using the DVD image.
Booted into the installation media, chose graphical install, set up the network and everything went smoothly. Finished the install and when my PC rebooted, it booted into GRUB loader and I chose to boot into Debian. However, it didn't boot successfully. All I got was this: https://i.imgur.com/sjR0xYj.jpg .
I looked up the error codes the best I could and a user on stack exchange said that the Nvidia drivers need to be installed in recovery mode(on someone else's post with a similar error code). So I tried booting into recovery mode through the GRUB loader.
But my PC wouldn't allow this either.
So I'm left wondering if either (1) Some of my PC parts are not compatible with debian or (2) Some of my PC parts are not compatible with my installation configuration(the choices I made during the graphical install).
My PC specs(brief):
i9 13900K
4080 (Running in 8 Pcie lanes)
Gen 5 Nvme (This has windows on it)
Gen 4 Nvme Samsung 990Pro (where I installed Debian)
another unallocated Gen 4 Nvme
Gigabyte Aero G Motherboard (UEFI)
6000 MHz ddr5 ram 32 x2
Debian installation config(brief):
After the host name part,
-> Left domain name empty
-> No root password
-> Account and User set up done
-> Disk partition choice: Guided - User entire disk and set up LVM
-> Chose the 990Pro9
-> Partitioning scheme: Separate /home, /var, /tmp partitions
-> Partition done
-> Chose the closest mirror for downloading packages
-> No proxy set
-> GNOME, standard system utilities installed
-> Installation complete.
I am still able to boot into windows from the GRUB menu. I am really hoping my PC can run debian/linux. If I need to re-install debian with a different config, what do I do about the GRUB bootloader? If more information is needed please ask, I'll update the post with images. I'm ready to go to hell and back to get debian up and running on my PC.
Hi! During a session I randomly get a black screen. If on a call, I can talk/hear for a little longer, then it all stops. GPU fans stop spinning but the PC still lights up.
I'm worried that it might be my AMD R9 390X GPU? It has instabilities with radeon drivers to the point that it'd give blackscreens at the first 10 seconds of a session, so I had to resort to AMDGPU, but it still may be problematic or sumt?
Any ideas as to why this may be? Sorry if it doesn't have much info, I can supply anything if there need be. Thank you in advance :)
Hello!
I'm new to Debian and Linux and need a clue stick. In an attempt to get better battery life from my machine, I chose to install Debian Testing (with KDE, which is amazing BTW).
In investigating, it appears, to get the best control of the CPU, the kernel needs to be booted with amd_pstate=active per https://www.kernel.org/doc/html/v6.3/admin-guide/pm/amd-pstate.html. I've done this, but it appears to have, actually, made things worse.
Some detail:
$ uname -a
Linux P14s 6.4.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.4.13-1 (2023-08-31) x86_64 GNU/Linux
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
amd-pstate-epp
$ cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences
default performance balance_performance balance_power power
Debian Testing appears to be missing power-profiles-daemon, which KDE needs for Power management, so I installed it:
$ powerprofilesctl version
0.13
$ powerprofilesctl list
performance:
Driver: platform_profile
Degraded: no
balanced:
Driver: platform_profile
* power-saver:
Driver: platform_profile
If I'm in power-saver mode, why does PowerTOP give me the following when my system is mostly idle?
The battery reports a discharge rate of 15.0 W
Also, KDE is configured for Performance for the Power management profile when On AC Power, but powerprofilesctl list always returns power-saver as noted above. https://gitlab.freedesktop.org/hadess/power-profiles-daemon#operations-on-amd-based-machines appears to say this is the expected behavior, but it's not clear to me why as the amd-pstate CPU Performance Scaling Driver documentation clearly states Performance being one of the options when amd-pstate-epp is in use. I also found https://www.reddit.com/r/linux/comments/15p4bfs/amd_pstate_and_amd_pstate_epp_scaling_driver/ to be an excellent resource.
I'd love for someone to explain this better, and help me get my power usage down.
Cheers, and thank you.
Unable to complete install: 'XML error: Invalid value for attribute 'protocol' in element 'source': 'file'.'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/createvm.py", line 2008, in _do_async_install
installer.start_install(guest, meter=meter)
File "/usr/share/virt-manager/virtinst/install/installer.py", line 695, in start_install
domain = self._create_guest(
^^^^^^^^^^^^^^^^^^^
File "/usr/share/virt-manager/virtinst/install/installer.py", line 637, in _create_guest
domain = self.conn.createXML(initial_xml or final_xml, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/libvirt.py", line 4481, in createXML
raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: XML error: Invalid value for attribute 'protocol' in element 'source': 'file'.
Would be great to hear about everyone's experiences.
What are the Pro's/Cons of running Debian on a laptop?
Which hardware vendor is best supported?
Why NVIDIA or AMD?
Did you encounter any driver related issues?
EDIT: Thanks for everyone's insights.
To summarise: Lenovo 'T' or 'X' series laptops are most preferable in the comment section (without any dedicated graphics) or if required, go for AMD graphics since the drivers are usually in the Debian kernel. Second was Dell's XPS series.
Hi, so I am kinda a new one into Linux so I may not be assure of everything.
I need to install debian as second OS (first one is windows 10) on my dell laptop (G5-15 5587) and after installation it's just won't boot.
I tried it already several times, here's what I do step-by-step:
"
Failed to open \EFI\BOOT\[] - Invalid Parameter
Failed to load Image [][]: Invalid Parameter
start_image() returned Invalid Parameter, falling back to default loader
"
5) However after that debian installer launches fine, I go through all steps. When it comes to disk space, I choose "select largest free space available", then I tried both all in one dir and separate \home;
6) debian without a problem selects right free space, it installs fine, however there is no section about choosing GRUB, but download bar says at one time that it is downloading GRUB;
7) After that installation process completes, I press continue and remove flash drive, and after that windows boots.
8) However there is a debian option in BIOS, but when I select it dell shell run some checks and than says: "no bootable device were found" and debian won't boot.
Here is the disks partitions tables after installation:
BIOS setting:
So I can't really understand what the problem and how to fix this, I will be really glad if you help me, thanks!
what does "mitigations = off" does actually in grub.conf, What are its performance benefits and Security downsides and when should one tamper this config.
An explanation with a use case would be great
Hello,
A bit of an amateur here. I'm used to installing debian server on XCP-NG and have done this dozens of times. Now trying to install on an older server on a RAID0 array without virtualization. Install goes great, install bootloader, finalize, reboot, and time after time get the GRUB prompt. Was very used it just booting to login prompt. What's different when doing it without virtualization that doesn't properly load the OS?
Do you run a non-main kernel on Debian Stable?
I run Xanmod, because I need drivers for my mainboard sensors that are only available in Linux 6.3 and up. However, in Linux 6.3 / 6.4, some network functionality has been changed and / or rewritten, and the (temporary) WIFI card of my mainboard seems to have problems with that: on kernel 6.3 and 6.4, I have massive amounts of packet loss. This seems to be fixed in kernel 6.5.x. Thus I now run Xanmod 6.5.3.
After 6.5.x hits backports I might switch to that; or after this year's LTS has been determined (6.6 or 6.7 it seems) I might switch to Xanmod's LTS branch for the duration of bookworm. I haven't decided yet.
At least I knew I'd probably be running a non-main kernel for the duration of Bookworm on this hardware. (AMD 7950X on an Asus ProArt X670E, 64GB, and an MSI 6750 XT GamingX Trio 12GB.)
When upgrading to Trixie, I'll switch back to the mainline LTS Debian kernel.