Hallo,
ich habe mich schon dumm und dämlich gesucht. In den üblichen Ordnern aus dem Wiki finde ich nichts.
Nur /var/lib/systemd/backlight/
pci-0000:01:00.0:backlight:acpi_video0 -> steht auf 20
pci-0000:01:00.0:backlight:nv_backlight1 -> habe ich von 100 auf 50 gesetzt
pci-0000:01:00.0:backlight:nv_backlight -> habe ich von 100 auf 50 gesetzt
hatte aber nicht die erwünschte Wirkung.
Der Schieberegler der Energieverwaltung funktioniert zwar, aber ich hätte gerne, dass die Helligkeit beim Start geringer ist.
Es gibt wohl eine Software redshift. Ob das das Richtige ist?
Aber auch so interessiert mich, wo ich die Helligkeit einstellen kann.
System:
Kernel: 5.4.64-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 info: xfce4-panel wm: xfwm4
dm: LightDM 1.30.0 Distro: Manjaro Linux
Machine:
Type: Laptop System: Hewlett-Packard product: HP EliteBook 8770w
v: A1009D11 serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: Hewlett-Packard model: 176C v: KBC Version 50.1F serial: <filter>
BIOS: Hewlett-Packard v: 68IAV Ver. F.66 date: 07/13/2017
CPU:
Topology: Quad Core model: Intel Core i7-3610QM bits: 64 type: MT MCP
arch: Ivy Bridge rev: 9 L2 cache: 6144 KiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 36731
Speed: 3227 MHz min/max: 1200/3300 MHz Core speeds (MHz): 1: 3198 2: 3283
3: 3193 4: 3194 5: 3192 6: 3199 7: 3195 8: 3198
Graphics:
Device-1: NVIDIA GK104GLM [Quadro K4000M] vendor: Hewlett-Packard
driver: nvidia v: 418.113 bus ID: 01:00.0 chip ID: 10de:11bd
Device-2: Chicony type: USB driver: uvcvideo bus ID: 1-1.3:3
chip ID: 04f2:b270
Display: x11 server: X.Org 1.20.8 driver: nvidia
resolution: 1920x1080~60Hz s-dpi: 96
OpenGL: renderer: Quadro K4000M/PCIe/SSE2 v: 4.6.0 NVIDIA 418.113
direct render: Yes
Info:
Processes: 235 Uptime: 8h 21m Memory: 23.43 GiB used: 2.97 GiB (12.7%)
Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: pacman: 1307
Shell: Bash v: 5.0.18 running in: xfce4-terminal inxi: 3.1.05
Danke vorab TM
EDIT: Braucht ihr noch das?
me@8770 ~]$ systemctl status acpid
● acpid.service - ACPI event daemon
Loaded: loaded (/usr/lib/systemd/system/acpid.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Hallo
Es gibt hier einen Kernel Befehl, den du in /etc/default/grub einfügen kannst:
systemd.restore_state=1
https://www.freedesktop.org/software/systemd/man/systemd-backlight@.service.html
Dieser soll dann deine eingestellte Helligkeit speichern und beim nächsten Start wiederherstellen.
Naja was ich da von redshift lese ist ja nur dass sich die Farbtemperatur ändert. Das heißt sowas wie Filter.
Das könnte auch eventuell hilfreich sein:
acpi_backlight= [HW,ACPI]
{ vendor | video | native | none }
If set to vendor, prefer vendor-specific driver
(e.g. thinkpad_acpi, sony_acpi, etc.) instead
of the ACPI video.ko driver.
If set to video, use the ACPI video.ko driver.
If set to native, use the device's native backlight mode.
If set to none, disable the ACPI backlight interface.
https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html
1 Like
Super, danke.
Soll ich das am Ende von grub einfügen, oder ist die Stelle wo das steht egal?
Das mit dem Kernel ist mir zu heikel, da traue ich mich nicht dran.
Die udev property ID_BACKLIGHT_CLAMP
in /var/lib/systemd/backlight/
finde ich allerdings nicht.
Update Edit:
[me@8770 ~]$ sudo update-grub
/etc/default/grub: Zeile 49: systemd.restore_state=1: Kommando nicht gefunden.
/usr/lib/systemd/system/systemd-backlight@.service
# SPDX-License-Identifier: LGPL-2.1+
> #
> # This file is part of systemd.
> #
> # systemd is free software; you can redistribute it and/or modify it
> # under the terms of the GNU Lesser General Public License as published by
> # the Free Software Foundation; either version 2.1 of the License, or
> # (at your option) any later version.
[Unit]
Description=Load/Save Screen Backlight Brightness of %i
Documentation=man:systemd-backlight@.service(8)
DefaultDependencies=no
Conflicts=shutdown.target
Before=sysinit.target shutdown.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/systemd/systemd-backlight load %i
ExecStop=/usr/lib/systemd/systemd-backlight save %i
TimeoutSec=90s
StateDirectory=systemd/backlight
Ich hatte mal diesen Eintrag in grub
GUB_CMDLINE_LINUX_DEFAULT=“quiet acpi osi=Linux acpi_backlight=vendor (bzw. video)”
Allerdings erschien dann nicht der Schieberegler der energieverwaltung und ich musste mir ein Skript schreiben, um die Helligkeit zu ändern.
Im Netz finde ich einige aktuelle Beiträge zu dem Problem, dass die Helligkeit nicht gespeichert wird.
Die Bugreports und verschiedenen Lösungen überfordern mich.
Hat denn niemand eine Idee?
https://bbs.archlinux.org/viewtopic.php?id=257810
https://lore.kernel.org/lkml/CADnq5_OaTdfVGCvENTr3tDrU+9jR0VYo-49sjByOQR4EwDWwPA@mail.gmail.com/
Wenn ich /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/nvidia_0/
anklicke erscheint:
mmap() ist gescheitert, kein passendes Gerät gefunden
Im Bootlog erscheint z. B. dies hier. Ich soll einen ACPI Treiber nutzen. Aber wie mache ich das?
Sep 15 07:54:44 8770 kernel: pci 0000:00:00.0: [8086:0154] type 00 class 0x060000
Sep 15 07:54:44 8770 kernel: pci 0000:00:01.0: [8086:0151] type 01 class 0x060400
Sep 15 07:54:45 8770 systemd[1]: Created slice system-systemd\x2dbacklight.slice.
Sep 15 07:54:45 8770 systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:acpi_video0…
Sep 15 07:54:45 8770 kernel: ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20200326/utaddre>
Sep 15 07:54:45 8770 kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
Sep 15 07:54:45 8770 kernel: ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200326/utaddre>
Sep 15 07:54:45 8770 kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
Sep 15 07:54:45 8770 kernel: ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200326/utaddre>
Sep 15 07:54:45 8770 kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
Sep 15 07:54:45 8770 kernel: ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200326/utaddre>
Sep 15 07:54:45 8770 kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
Sep 15 07:54:45 8770 kernel: lpc_ich: Resource conflict(s) found affecting gpio_ich
Sep 15 07:54:45 8770 kernel: i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
Sep 15 07:54:45 8770 systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:acpi_video0.
Sep 15 07:54:46 8770 systemd[1]: shadow.service: Main process exited, code=exited, status=1/FAILURE
Sep 15 07:54:46 8770 systemd[1]: shadow.service: Failed with result ‘exit-code’.
Da ich hier keine Antwort mehr erwarte wird es sicherlich ok sein, wenn ich die nächsten Tage mein Glück in einem anderen Forum versuche.
Greets TM