Page 1 of 1

acer laptop radeon r3 brightnes problem

Posted: Sun Jan 21, 2018 6:45 am
by gordon sliman
hello!! i have a laptop acer es1 with radeon R3 and i can t set the brightness . i tried xrandr i have this :

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1366 x 768, current 1368 x 768, maximum 1368 x 768
default connected 1368x768+0+0 0mm x 0mm
1366x768 0.00
1368x768 0.00*

the problem is the vesa mode . how to activate ati or radeon driver ? thanks

Re: acer laptop radeon r3 brightnes problem

Posted: Mon Jan 22, 2018 8:07 am
by NevilleGoddard
Install the xf86-video-ati package and then create a file called driver-radeon.conf in

/usr/local/etc/X11/xorg.conf.d

and put these lines in it

Section "Device"
Identifier "Card0"
Driver "radeon"
EndSection

then put this line in /etc/rc.conf

kld_list="radeonkms"

Then the radeon driver should be used

Re: acer laptop radeon r3 brightnes problem

Posted: Mon Jan 22, 2018 12:20 pm
by gordon sliman
ok i have do this method and xorg dont work , i have this message : [KMS] drm report modesetting isn t supported

Re: acer laptop radeon r3 brightnes problem

Posted: Tue Jan 23, 2018 12:18 am
by NevilleGoddard
It looks like your card is unsupported on FreeBSD11 which GhostBSD is based on.

Try using it on TrueOS which is based on FreeBSD12. Apparantly it's quite stable. Or if you know your way around FreeBSD you can try it on FreeBSD12.

You also probably also need the graphics/drm-next-kmod port and the xf86-video-amdgpu driver (also port only) which are both only available on FreeBSD12 with src installed.


Have a look at this:

https://forums.freebsd.org/threads/63275/

For what it's worth I'm using an R9 270 with radeon drivers and it works quite well. :)

Re: acer laptop radeon r3 brightnes problem

Posted: Fri Jan 26, 2018 7:14 am
by gordon sliman
I have a usb key with true os instaled and the brightness work . but true os is not a good bsd .

Re: acer laptop radeon r3 brightnes problem

Posted: Fri Jan 26, 2018 8:26 am
by NevilleGoddard
No, it isn't yet. But it's improving every day. GhostBSD 18 will be based on it.

I have a machine with FreeBSD 12 and it has run fine so far. Very stable.

Hopefully soon the amdgpu driver and drm-next-kmod will be available in FreeBSD/GhostBSD 11 soon.

Re: acer laptop radeon r3 brightnes problem

Posted: Mon Aug 12, 2019 7:21 pm
by finalcrypt
I created two brightness scripts for the hotkeys

/bin/bsd_brighter.bash

Code: Select all

#!/bin/bash
export value=`sysctl hw.acpi.video.lcd0.brightness | awk '{ print $2 }'`; if [[ ${value} -le 90 ]]; then sudo sysctl hw.acpi.video.lcd0.brightness=$((${value}+10)); echo "${value}"; fi
/bin/scripts bsd_darker.bash

Code: Select all

#!/bin/bash
export value=`sysctl hw.acpi.video.lcd0.brightness | awk '{ print $2 }'`; if [[ ${value} -ge 10 ]]; then sudo sysctl hw.acpi.video.lcd0.brightness=$((${value}-10)); echo "${value}"; fi
# Add your user to the wheel group in /etc/group like this

Code: Select all

wheel:*:0:root,ron
# Allow sudo use without password for wheel users

Code: Select all

sudo visudo
# Uncomment

Code: Select all

%wheel ALL=(ALL) NOPASSWD: ALL
# Open settings -> hotkeys and add two hotkeys
Name:

Code: Select all

Brighter
- Cmd:

Code: Select all

bsd_brighter.bash
Name:

Code: Select all

Darker
- Cmd:

Code: Select all

bsd_darker.bash
# Enjoy

Re: acer laptop radeon r3 brightnes problem

Posted: Tue Aug 13, 2019 12:24 am
by NevilleGoddard
Nice work!