acer laptop radeon r3 brightnes problem

Help with issues concerning notebooks, laptops and netbooks.
Post Reply
gordon sliman
Posts: 3
Joined: Thu Jul 27, 2017 2:42 pm

acer laptop radeon r3 brightnes problem

Post 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
User avatar
NevilleGoddard
Developer
Posts: 517
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan

Re: acer laptop radeon r3 brightnes problem

Post 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
gordon sliman
Posts: 3
Joined: Thu Jul 27, 2017 2:42 pm

Re: acer laptop radeon r3 brightnes problem

Post by gordon sliman »

ok i have do this method and xorg dont work , i have this message : [KMS] drm report modesetting isn t supported
User avatar
NevilleGoddard
Developer
Posts: 517
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan

Re: acer laptop radeon r3 brightnes problem

Post 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. :)
gordon sliman
Posts: 3
Joined: Thu Jul 27, 2017 2:42 pm

Re: acer laptop radeon r3 brightnes problem

Post by gordon sliman »

I have a usb key with true os instaled and the brightness work . but true os is not a good bsd .
User avatar
NevilleGoddard
Developer
Posts: 517
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan

Re: acer laptop radeon r3 brightnes problem

Post 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.
User avatar
finalcrypt
Posts: 4
Joined: Fri Jul 26, 2019 7:39 pm
Location: Zaandijk
Contact:

Re: acer laptop radeon r3 brightnes problem

Post 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
User avatar
NevilleGoddard
Developer
Posts: 517
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan

Re: acer laptop radeon r3 brightnes problem

Post by NevilleGoddard »

Nice work!
Post Reply