The officially official Devuan Forum!

You are not logged in.

#376 Re: Desktop and Multimedia » cant extract ccd and nrg images » 2022-11-30 17:38:14

No idea. Let's try a search...

https://www.dell.com/community/Linux-De … -p/5087362

^ That suggests Dell machines have their own charging threshold GUI for Windows, along with firmware ("BIOS") options that could presumably be accessed from Linux via sysfs.

#377 Re: Hardware & System Configuration » [SOLVED] Devuan and Realtek RTL8821CE » 2022-11-30 17:35:37

Which kernel are you running? I've had good experiences with Larry's drivers but I don't have an 8821CE.

EDIT: please add "RTL8821CE" to the thread title (edit the first post), it will aid SEO and may attract the attention of others who use the device under Devuan.

#378 Re: Hardware & System Configuration » [SOLVED] Devuan and Realtek RTL8821CE » 2022-11-30 16:58:35

Entering the card name into a search engine and adding "Linux" gives some useful results, for example:

https://linux-hardware.org/index.php?id … -17aa-c024

Devuan's stable release is currently on kernel 5.10 so you should be fine as long as you install the firmware for the card.

#379 Re: Hardware & System Configuration » [SOLVED] Devuan and Realtek RTL8821CE » 2022-11-30 16:23:25

It is! Larry Finger will have you covered if it isn't in the kernel.

My crystal ball says the OP has an RTL8852 of some description. Let's see if I'm correct...

#380 Re: Hardware & System Configuration » [SOLVED] Daedalus and access to efivars » 2022-11-30 16:16:52

I can't reproduce this in a fresh system (QEMU/KVM, chimaera netinstall upgraded to daedalus):

empty@devuan:~ $ grep efivars /etc/fstab /proc/self/mounts
/etc/fstab:efivarfs /sys/firmware/efi/efivars efivarfs ro 0 0
/proc/self/mounts:none /sys/firmware/efi/efivars efivarfs ro,relatime 0 0
empty@devuan:~ $ doas efibootmgr --create --label 'testing...' --loader 'test.efi' --disk /dev/vda
Could not prepare Boot variable: Read-only file system
5|empty@devuan:~ $ doas mount -o remount,rw /sys/firmware/efi/efivars                                     
empty@devuan:~ $ grep efivars /proc/self/mounts                                                           
none /sys/firmware/efi/efivars efivarfs rw,relatime 0 0
empty@devuan:~ $ doas efibootmgr --create --label 'testing...' --loader 'test.efi' --disk /dev/vda        
BootCurrent: 0006                             
Timeout: 0 seconds
BootOrder: 0007,0006,0000,0001,0005,0002,0003,0004
Boot0000* UiApp
Boot0001* UEFI QEMU DVD-ROM QM00003 
Boot0002* UEFI Misc Device
Boot0003* UEFI PXEv4 (MAC:525400123456)
Boot0004* UEFI PXEv6 (MAC:525400123456)
Boot0005* EFI Internal Shell
Boot0006* debian
Boot0007* testing...
empty@devuan:~ $ doas efibootmgr -b 7 -B
BootCurrent: 0006
Timeout: 0 seconds
BootOrder: 0006,0000,0001,0005,0002,0003,0004
Boot0000* UiApp
Boot0001* UEFI QEMU DVD-ROM QM00003 
Boot0002* UEFI Misc Device
Boot0003* UEFI PXEv4 (MAC:525400123456)
Boot0004* UEFI PXEv6 (MAC:525400123456)
Boot0005* EFI Internal Shell
Boot0006* debian
empty@devuan:~ $ doas mount -o remount,ro /sys/firmware/efi/efivars
empty@devuan:~ $ doas efibootmgr --create --label 'testing...' --loader 'test.efi' --disk /dev/vda        
Could not prepare Boot variable: Read-only file system
5|empty@devuan:~ $ grep efivars /proc/self/mounts                                                         
none /sys/firmware/efi/efivars efivarfs ro,relatime 0 0
empty@devuan:~ $ grep efivars /etc/fstab
efivarfs /sys/firmware/efi/efivars efivarfs ro 0 0
empty@devuan:~ $

I do see an error message about /sys/firmware/efi/efivars being already mounted so I presume that comes from mountkernfs.sh because the  NVRAM variables are inaccessible but also re-mountable using the efivarfs identifier.

Can anybody else reproduce this?

EDIT: @rolfie: are you using the stock daedalus kernel? Which init system is this?

#381 Re: Off-topic » Show your desktop (rebooted) » 2022-11-30 06:57:12

Thanks Andy, much appreciated. Also: trolling and helping in the same post? Very nice big_smile

#382 Re: Off-topic » Show your desktop (rebooted) » 2022-11-29 20:19:07

andyprough wrote:

sunrat is openly hostile to me

lol

andyprough wrote:

I'm willing to do you this one favor in the spirit of Saint Nicholas

Cheers.

andyprough wrote:

What should I tell sunrat?

Just a simple "HoaS thinks this bug might be relevant — can you get to the desktop with `startx` from a console login?" will suffice. @sunrat is a smart cookie so I'm sure they can take it from there.

EDIT: does your Pale Moon version carry the original branding? tongue

#383 Re: Off-topic » Show your desktop (rebooted) » 2022-11-29 18:43:30

^ Nice!

Rare tiled shot of my sway desktop:

20221129-17h33m12s-grim.png

Firefox on the left with three foot panes on the right running oksh (showing pfetch), htop and vim (showing oksh's startup file).

And if anybody here is also a member over at forums.debian.net please point sunrat to https://bugs.debian.org/cgi-bin/bugrepo … bug=996503 in respect of the pictured thread. TIA.

#384 Re: Off-topic » Lennart Poettering (Systemd) Lands at Microsoft After Leaving Red Hat » 2022-11-29 14:48:56

Kelsoo wrote:

https://www.gnu.org/distros/common-distros.html

In addition, their kernels include nonfree firmware blobs

That is categorically not true for OpenBSD. As blackhole has already mentioned the only non-free component of any OpenBSD system is the firmware, which is downloaded from http://firmware.openbsd.org/firmware/ by fw_update(8). The firmware is *not* part of the kernel and can only be downloaded after installation.

#385 Re: Hardware & System Configuration » [SOLVED] Daedalus and access to efivars » 2022-11-29 07:01:40

I am similarly confused. Does the noefi kernel parameter do what you want?

#386 Re: Desktop and Multimedia » cant extract ccd and nrg images » 2022-11-29 06:56:55

I only had to write the values once, for example:

# tee /sys/class/power_supply/BAT0/charge_control_start_threshold <<<"49"
# tee /sys/class/power_supply/BAT0/charge_control_end_threshold <<<"51"

^ That pins the battery between 49-51%, which results in it being bypassed once the battery is half full (or half empty, if you prefer).

Those values only change when I boot Windows. Otherwise the charge control ECU maintains the values set from Linux.

EDIT: as the OP is a Windows refugee they might appreciate this GUI that allows D-Bus control of charging thresholds by non-root users:

https://gitlab.com/wincak/threshy-gui

Backend here: https://gitlab.com/wincak/threshy

Might only work on ThinkPads though.

#387 Re: Installation » Installing from USB thumb drive » 2022-11-28 17:49:30

Well you should have been more specific then tongue

Did you try the fix given at the end of the thread? Doesn't seem very "elaborate" to me... EDIT: drama queen.

#388 Re: Installation » Installing from USB thumb drive » 2022-11-28 16:45:35

Micronaut wrote:

Has the odd problem of permanently incomplete install of proprietary video drivers been solved in chimaera?

Debian is over 20 years old now and has never, in all that time, included any proprietary video drivers in an official release. What makes you think that will change any time soon? And why do you describe it as "odd"? Supplying proprietary drivers is expressly forbidden by Debian's Social Contract.

#389 Re: Hardware & System Configuration » [SOLVED] Daedalus and access to efivars » 2022-11-28 08:44:33

For the record here is my working fstab line (Alpine Linux):

efivarfs /sys/firmware/efi/efivars efivarfs ro,nosuid,nodev,noexec 0 0

Note that fs_spec is given as efivarfs but none can also be used (or indeed any identifier).

#390 Re: Desktop and Multimedia » What games do you play on Devuan?? » 2022-11-28 08:40:01

Don't use deb.multimedia.org, that place is poison for a clean De{bi,vu}an system.

Just download the cdemu tarball from upstream, unpack it, then run debuild -us -uc in that directory to build the .deb. The tarball contains a functional debian directory.

#391 Re: Hardware & System Configuration » [SOLVED] Daedalus and access to efivars » 2022-11-27 14:11:42

Perhaps try

# mount -t efivarfs -o remount,ro efivarfs /sys/firmware/efi/efivars

#392 Re: Hardware & System Configuration » [SOLVED] Daedalus and access to efivars » 2022-11-27 11:18:55

rolfie wrote:

I have used:

"quiet,noefi"

Is that syntax correct?

No. The options should be separated with a space, like this: quiet noefi.

rolfie wrote:

I have no idea where to look for an init script that mounts the efivarfs.

Let's try

ls /etc/init.d/
rolfie wrote:

I just want to revert the automatic mount into a read-only via fstab. And that does not work.

That is confusing. I also mount efivarfs read-only with an fstab line in my Alpine Linux system and it works just fine there. I don't suppose that helps you though.

rolfie wrote:

Strangely enough, when I try:

# mount -o remount,ro /sys/firmware/efi/efivars
mount: /sys/firmware/efi/efivars: mount point not mounted or bad option.
       dmesg(1) may have more information after failed mount system call.

While the efibootmgr is working and displays my settings, so the efivarfs must have been mounted.

Where is my mistake?

I think you might need to specify the filesystem type:

# mount -t efivarfs -o remount,ro /sys/firmware/efi/efivars

If that doesn't work then check dmesg, as suggested in the error.

#393 Re: Off-topic » Music » 2022-11-26 10:56:09

Stormzy's new album This is What I Mean. Taken a turn into Soul for this release. Very nice.

#394 Re: Desktop and Multimedia » lximage-qt: missing a library though it's already installed. » 2022-11-26 10:54:03

AhmadRaniri wrote:

Linking libfm-qt.so.12 & libfm-qt.so.12.0.0 to libfm-qt.so.11 & libfm-qt.so.11.0.0 make lximage-qt run.

Don't do that.

Soname bumps are a "feature" of the development branches. If you don't know how to handle them correctly then you probably shouldn't be using those branches.

Relevant bug report: https://bugs.debian.org/cgi-bin/bugrepo … ug=1024687

Should be fixed soon so revert that "fix", downgrade the relevant packages and wait.

#395 Re: Desktop and Multimedia » cant extract ccd and nrg images » 2022-11-26 10:47:47

If the laptop is kept plugged in with the battery at 100% that will degrade it over time Check energy_full_design (the maximum battery level when new) and compare it to energy_full (the current maximum battery level) to see how bad it is. Also check status — if that shows Not charging then the battery is being bypassed, otherwise the battery is being degraded by usage.

Interestingly if I set the charge behaviour in Linux by simply writing to the files it persists between boots and even if I boot OpenBSD, Haiku or 9front. Unfortunately Windows will "fix" things and start to break my battery again, which is very annoying.

#396 Re: Desktop and Multimedia » cant extract ccd and nrg images » 2022-11-25 18:02:00

deepforest wrote:

You mean SuperComuters? But SuperComuters using Linux not for Desktop but computing only?

Quite a few of them run Ubuntu, actually tongue

There are other reasons: Windows doesn't allow edge scrolling with the touchpad; it doesn't have a PRIMARY clipboard (select the text to copy then middle-click to paste); amdgpu doesn't work so AMDGPU-PRO has worse framerates, runs hotter & drains more power; I can't see any of the source code. Under Linux I can see

archie:~$ ls /sys/class/power_supply/BAT0/charge_*
/sys/class/power_supply/BAT0/charge_behaviour
/sys/class/power_supply/BAT0/charge_control_end_threshold
/sys/class/power_supply/BAT0/charge_control_start_threshold
/sys/class/power_supply/BAT0/charge_start_threshold
/sys/class/power_supply/BAT0/charge_stop_threshold
archie:~$ cat /sys/class/power_supply/BAT0/status
Not charging
archie:~$

^ Setting those values allows me to fix the charge rate to 50% battery so I can leave the laptop plugged in (for best games performance) without wrecking the battery with continuous charge/discharge cycles.

This laptop is a few years old now:

archie:~$ cat /sys/class/power_supply/BAT0/cycle_count
59
archie:~$ cat /sys/class/power_supply/BAT0/energy_full_design
50450000
archie:~$ cat /sys/class/power_supply/BAT0/energy_full
50070000
archie:~$

Most of that damage was done by bloody Windows mad

deepforest wrote:

You talking about 10 and 11?

I haven't tried 11 but I've had a few Windows 10 systems running for quite a while in that state, both bare metal & virtualised.

#397 Re: Desktop and Multimedia » cant extract ccd and nrg images » 2022-11-24 17:54:07

deepforest wrote:

gog and steam versions have only windows setup versions how i get resources?

Hmm, looks like the music is missing from the Steam & GOG versions. Shame.

deepforest wrote:

this old classics, more than 20 years have passed, it's already in the public domain

The source code for the game engine is open source but the game assets (maps, textures, music, etc) are under copyright.

deepforest wrote:

piracy - its also freedom like linux!

I respectfully disagree. One of the reasons why Linux is so successful is because of the copyleft licence (GPL), which relies on copyright law. Respecting copyright law is fundamental to Linux.

deepforest wrote:

here in Ukraine now we have not Europeans income, so we cant buy proprietary software and we use pirated warez

I am very sorry to hear of your misfortune, I hope things get better for you soon.

deepforest wrote:

if you so rich why you using amator linux and do not buy licenced Windows?

Because I prefer to use the same operating system as all of the world's top 500 most powerful computers.

And anyway you don't have to buy Windows at all — just download one of the official ISO images and install using that without adding a key when prompted (just select "add later"). All Windows will do is display an "Activate Windows" watermark on the desktop, remove the ability to change wallpapers after the first few days, and keep nagging you to add an activation key. The operating system will continue to update itself and stay functional in all other respects indefinitely even if you don't pay. It's just nagware these days.

#398 Re: Desktop and Multimedia » cant extract ccd and nrg images » 2022-11-23 06:18:08

Why are you trying to steal this? Just buy the game on Steam or GOG. I won't help you pirate stuff.

#399 Re: Installation » [SOLVED] linux-image-6.* / Chimaera » 2022-11-22 20:01:41

Did you add the backports repositories yourself? They seem to be correctly configured at any rate.

The Ryzen 5700G was released 2021-04-13 & Debian bullseye was released 2021-08-14 so the CPU itself might be fine with kernel 5.10. I have a laptop running a 5850U and I don't recall having any CPU problems with the stable kernel. The amd64-microcode package in stable is too old though and you will probably get better support with a newer kernel.

#400 Re: Hardware & System Configuration » [SOLVED] How is a 6700XT graphics card supposed to perform? » 2022-11-22 19:20:16

Nice card :-)

I should have asked for vulkaninfo --summary but nevermind. Looks like VA-API, VDPAU-API, Vulkan & OpenGL are all supported.

rolfie wrote:

How do I disable the compositor?

Looks like Cinnamon might not have such an option. How silly. Do you see the artefacts with, for example, plain openbox?

rolfie wrote:

is there a howto how to post an image?

Upload the image to https://postimages.org/ and paste the "thumbnail for forums" URL here.

Board footer

Forum Software