Ryzen 7 4800h Brightness & FN Keys

Hi,

I'm trying to adjust the laptop Brightness Should I update the kernel or is this a Ryzen + Nvidia issue ?
Also some FN Keys work while others don't work.
The laptop is a Asus FA506IV, any help is appreciated.

System:    Host: ahmad-tufgamingfa506iv Kernel: 5.6.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
           Desktop: KDE Plasma 5.18.5 Distro: Manjaro Linux 
Machine:   Type: Laptop System: ASUSTeK product: TUF Gaming FA506IV_FA506IV v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: FA506IV v: 1.0 serial: <filter> UEFI: American Megatrends v: FA506IV.304 date: 03/24/2020 
Battery:   ID-1: BAT1 charge: 16.3 Wh condition: 46.1/48.1 Wh (96%) model: ASUS A32-K55 status: Discharging 
CPU:       Topology: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP arch: Zen rev: 1 
           L2 cache: 4096 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 92664 
           Speed: 2393 MHz min/max: 1400/2900 MHz Core speeds (MHz): 1: 2016 2: 1706 3: 1397 4: 1396 5: 1373 6: 1397 7: 1397 
           8: 1396 9: 1402 10: 1752 11: 1322 12: 1345 13: 1290 14: 1327 15: 1397 16: 1397 
Graphics:  Device-1: NVIDIA vendor: ASUSTeK driver: nvidia v: 440.82 bus ID: 01:00.0 
           Device-2: Advanced Micro Devices [AMD/ATI] Renoir vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 06:00.0 
           Display: x11 server: X.Org 1.20.8 driver: amdgpu,nvidia resolution: 1920x1080~144Hz 
           OpenGL: renderer: AMD RENOIR (DRM 3.36.0 5.6.16-1-MANJARO LLVM 10.0.0) v: 4.6 Mesa 20.0.7 direct render: Yes 
Audio:     Device-1: NVIDIA TU106 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           Device-2: Advanced Micro Devices [AMD/ATI] vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 06:00.1 
           Device-3: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A bus ID: 06:00.5 
           Device-4: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 06:00.6 
           Sound Server: ALSA v: k5.6.16-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: e000 
           bus ID: 02:00.0 
           IF: enp2s0 state: down mac: <filter> 
           Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: AzureWave driver: rtw_pci v: N/A 
           port: d000 bus ID: 03:00.0 
           IF: wlp3s0 state: down mac: <filter> 
Drives:    Local Storage: total: 2.75 TiB used: 977.28 GiB (34.7%) 
           ID-1: /dev/nvme0n1 vendor: Kingston model: SA2000M81000G size: 931.51 GiB 
           ID-2: /dev/nvme1n1 vendor: Intel model: SSDPEKNW010T8 size: 953.87 GiB 
           ID-3: /dev/sda vendor: Crucial model: CT2000MX500SSD1 size: 1.82 TiB 
Partition: ID-1: / size: 915.60 GiB used: 19.50 GiB (2.1%) fs: ext4 dev: /dev/nvme0n1p2 
Sensors:   System Temperatures: cpu: 37.0 C mobo: N/A gpu: amdgpu temp: 36 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 324 Uptime: N/A Memory: 30.79 GiB used: 779.0 MiB (2.5%) Init: systemd Compilers: gcc: 10.1.0 
           Shell: bash v: 5.0.17 inxi: 3.0.37

Hi!
I had the same problem with an asus tuff fx505, I was able to change the screen brightness with this
xrandr --output "scrren name" --brightness 0.75
With xrandr you can know the name of your screen, mine is something like eDP.
I added to a script because I have dual graphics and the name of the screen change as the gpu in use.
I hope that with the new kernel verion 5.8 those problems will fixed, it'll have a serious improvements for ryzen/+/2/3

Thanks for the reply, also I'd like to know about the FN keys as well will they hopefully be resolved by 5.8 as well or can I set them up manually some way ?

Edit:
Forgot to mention is there a way to fix the suspend also cause when I close the lid and open agin I just get a black-screen.

Hi!
The problem with Fn keys, I think it'll be fix with kernel 5.8 for ryzen 4000.
I don't know use hibernation or suspend, you can search about it on the forum

Thanks I'll Probably wait to see if the 5.8 Kernel fixes the issue even the suspend one as of now the laptop is fully usable minus the brightness & some of the FN Keys not working.

Also do you have any Idea how compile this software in arch by any chance TUF-Control GUI ?

Hi!
It doesn't work on arch or manjaro only Red Hat.
The keyboard light and fan control work for me, I'm using kernel 5.7.3

Thanks , the Stable build I'm on is 5.7.0-3

Is there a way to get 5.7.8 kernel header & Nvidia Drivers ?

Edit :
Do you have any Idea why this tool gives error ROG Core using the AUR Repo ?

Building rog-core...
==> Making package: rog-core 0.15.0-2 (Tue 14 Jul 2020 07:16:07 AM +04)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found v0.15.0.tar.gz
-> Found install-dir.patch
==> Validating source files with sha256sums...
v0.15.0.tar.gz ... Passed
install-dir.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting v0.15.0.tar.gz with bsdtar
==> Starting prepare()...
patching file Makefile
==> Removing existing $pkgdir/ directory...
==> Starting build()...
cargo build "--release"
==> Entering fakeroot environment...
==> Starting package()...
cargo build "--release"
install -D -m 0755 "target/release/rog-core" "/var/tmp/pamac-build-ahmad/rog-core/pkg/rog-core//usr/bin/rog-core"
install: cannot stat 'target/release/rog-core': No such file or directory
make: *** [Makefile:36: install] Error 1
==> ERROR: A failure occurred in package().
Aborting...

Hi!
If you want to use 5.8 and new nvidia drivers, you need to change to testing branch
sudo pacman-mirrors --api --set-branch testing
sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu
My advice, don't change branch, the next stable update shouldn't take long.
About the rog-core packet, Im afraid you model isn't supported, you can check it in the git repo

Thanks but how do I add gin repo ?

Hi!
You can clone the repository with

git clone url-repo

if you don't have install git, install it with sudo pacman -S git

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by