Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

. #69

Closed
ghost opened this issue Feb 18, 2023 · 7 comments
Closed

. #69

ghost opened this issue Feb 18, 2023 · 7 comments

Comments

@ghost
Copy link

ghost commented Feb 18, 2023

No description provided.

@vrolife
Copy link
Owner

vrolife commented Feb 18, 2023

亮度問題,從我的實踐來看,亮度變爲最大,且不可調節,這個現象可能是由於GPU 驅動程式沒能正常運作所致。可檢查GPU 驅動程式是否正確加載,可嘗試dmesg|grep amdgpu查看有無錯誤。ACPI Patch理論上和Bootloader和內核有關,目前主流的GRUB和rEFInd均有裝載ACPI override的能力。所以理論上安裝這類Bootloader即可使用其他發行版。

@vrolife
Copy link
Owner

vrolife commented Feb 18, 2023

https://bbs.archlinux.org/viewtopic.php?id=282925
https://patchwork.kernel.org/project/dri-devel/patch/20220712193910.439171-4-hdegoede@redhat.com/
這似乎是受6.1.4引入的一個補丁的影響,有人通過移除acpi_backlight=video來規避這個問題。如果沒有這個選項,經查閱內核文檔,可嘗試添加acpi_backlight=vendor, 這也許能修復此問題。

@vrolife
Copy link
Owner

vrolife commented Feb 20, 2023

我安裝了6.1.12複現了這個問題,在我的本子上同樣無法調節熒幕亮度。稍後我會把這個問題的修復方案添加到倉庫裏。

@ghost ghost closed this as completed Feb 23, 2023
@deltazefiro
Copy link

deltazefiro commented Feb 28, 2023

您好。我在6.2.1也遇到了相同的问题,且安装 acpi_backlight_native 后问题仍然存在。尝试 acpi_backlight=vendor 也无效。

$ dmesg | grep amdgpu
...
[    4.422554] snd_hda_intel 0000:04:00.1: bound 0000:04:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    4.517242] amdgpu 0000:04:00.0: amdgpu: [drm] Skipping amdgpu DM backlight registration
[    4.526139] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
...
$ cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_SAVEDEFAULT=true
GRUB_DEFAULT=saved
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX acpi_backlight=native"

其他相关信息:

  • Linux kernel 6.2.1
  • Redmi Book Pro 15 2022
  • BIOS RMARB5B0P0C0C

@vrolife
Copy link
Owner

vrolife commented Feb 28, 2023

您好。我在6.2.1也遇到了相同的问题,且安装 acpi_backlight_native 后问题仍然存在。尝试 acpi_backlight=vendor 也无效。

$ dmesg | grep amdgpu
...
[    4.422554] snd_hda_intel 0000:04:00.1: bound 0000:04:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    4.517242] amdgpu 0000:04:00.0: amdgpu: [drm] Skipping amdgpu DM backlight registration
[    4.526139] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
...
$ cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_SAVEDEFAULT=true
GRUB_DEFAULT=saved
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX acpi_backlight=native"

其他相关信息:

* Linux kernel 6.2.1

* Redmi Book Pro 15 2022

* BIOS RMARB5B0P0C0C

实际上是有效的,只是acpi_backlight_native没有自动更新grub导致没有生效。在这个0466912 commit之后acpi_backlight_native会更新grub. 请拉取后重新尝试一下。

@deltazefiro
Copy link

实际上是有效的,只是acpi_backlight_native没有自动更新grub导致没有生效。在这个0466912 commit之后acpi_backlight_native会更新grub. 请拉取后重新尝试一下。

可以了。再次感谢。

@ave404
Copy link

ave404 commented May 31, 2023

After updating to Ubuntu 23.04 there was also a problem with brightness adjustment

Adding acpi_backlight=native helped. Thank you

@ghost ghost changed the title 裝載ACPI後重啟熒幕亮度變為最大,且無法調節,卸載驅動亦無法恢復 . Mar 29, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants