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

AMDのPC, ubuntu20.04だと blightnessが変更できない問題 #71

Open
HiroIshida opened this issue Oct 27, 2024 · 5 comments
Open

Comments

@HiroIshida
Copy link
Owner

HiroIshida commented Oct 27, 2024

=> 結論: radeon pro driverをいれる.

眼が痛い。
check graphic card

h-ishida@umejuice:~$ sudo dmesg | grep -i radeon
[sudo] password for h-ishida: 
[    0.228977] smpboot: CPU0: AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (family: 0x19, model: 0x74, stepping: 0x1)

やったけど意味ない
https://www.reddit.com/r/linuxquestions/comments/1cf7vu1/the_solution_to_brightness_issue_for_amd_apu/

2つ候補でないacpi_video0だけ. biosでの設定が必要か?
https://gist.github.com/x1unix/67c154d42aa5c8333f43a69acceff635

この変のparameterをいじる. acpi_backlight?
https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt
before

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=""

after うーん何もかわらん. acpi_backlightの値も変えたし, cmdline_linuxの値も追加した. けど意味ない

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 acpi_backlight=video"
GRUB_CMDLINE_LINUX="acpi_osi=Linux"
@HiroIshida
Copy link
Owner Author

HiroIshida commented Oct 27, 2024

kernelのバージョンを上げる
https://github.com/bkw777/mainline
を使う.
boxを押してもinstallがonにならないが, 選択解除するとinstlalationがclickableになって押したら前に選択したカーネルがインストールされはじめた

6.1, 6.6を試したが意味なし. 6.8~はそもそも起動しない

@HiroIshida
Copy link
Owner Author

HiroIshida commented Oct 27, 2024

https://askubuntu.com/a/189308/917108
これを試す
意味ない. intelしかつかえない.
もう一つのbrightnessctlもハードウェアレベルでの操作じゃないから意味ない

@HiroIshida
Copy link
Owner Author

HiroIshida commented Oct 27, 2024

https://unix.stackexchange.com/a/725454
流石にカーネルにもとから入っているか

@HiroIshida
Copy link
Owner Author

@HiroIshida
Copy link
Owner Author

HiroIshida commented Oct 27, 2024

amd のpro driverをいれると治るという報告. いれてみる. Yをおす
https://www.amd.com/en/support/download/linux-drivers.html
https://repo.radeon.com/amdgpu-install/6.1.3/ubuntu/focal/amdgpu-install_6.1.60103-1_all.deb

h-ishida@umejuice:~/Downloads$ sudo dpkg -i amdgpu-install_6.1.60103-1_all.deb
(Reading database ... 569147 files and directories currently installed.)
Preparing to unpack amdgpu-install_6.1.60103-1_all.deb ...
Unpacking amdgpu-install (6.1.60103-1787201.20.04) over (6.1.60103-1787201.20.04) ...
Setting up amdgpu-install (6.1.60103-1787201.20.04) ...

Configuration file '/etc/apt/sources.list.d/amdgpu.list'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** amdgpu.list (Y/I/N/O/D/Z) [default=N] ? D
--- /etc/apt/sources.list.d/amdgpu.list 2024-10-28 07:20:43.014833823 +0900
+++ /etc/apt/sources.list.d/amdgpu.list.dpkg-new        2024-06-07 22:19:25.000000000 +0900
@@ -1,2 +1,2 @@
-deb https://repo.radeon.com/amdgpu/6.2.3/ubuntu jammy main
-# deb-src https://repo.radeon.com/amdgpu/6.2.3/ubuntu jammy main
+deb https://repo.radeon.com/amdgpu/6.1.3/ubuntu focal main
+#deb-src https://repo.radeon.com/amdgpu/6.1.3/ubuntu focal main

Configuration file '/etc/apt/sources.list.d/amdgpu.list'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** amdgpu.list (Y/I/N/O/D/Z) [default=N] ? 

apt update して

amdgpu-install --usecase=graphics

する
なおった

@HiroIshida HiroIshida changed the title p16s amd blightnessが変更できない問題 AMDのPC, ubuntu20.04だと blightnessが変更できない問題 Oct 27, 2024
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

1 participant