I just had a many issues with screen brightness on my Nitro 5 (an515-43), and wanted to shared the solution (as I was almost sending the computer back for repair). Screen was not very bright, and I saw some reports pointing to screen hardware issues on Nitro 5. Luckly, I tried to dig deeper, and discovered that, somehow system brightness is not going to max (even when putting bar at 100%). My system is Ubuntu DDE (Deepin). To get max brightness, follow these steps:
### get screen id
$ xrandr | grep " connected" | cut -f1 -d " "
### in my case is eDP-1-0
### sets brightness to max
$ xrandr --output eDP-1-0 --brightness 1.0
### it doesn't change anything here
### gets brightness from amd drivers
cat /sys/class/backlight/amdgpu_bl0/brightness
### in my case is '20' (too low!)
### sets brightness to maximum
$ cat /sys/class/backlight/amdgpu_bl0/max_brightness | sudo tee /sys/class/backlight/amdgpu_bl0/brightness
### in my case is '255' (a good amount)
So, I just wanted to share this solution, for linux users that may have a similar problem in the future.
Regards!