Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to change brightness or display in Plasma
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
TheDegenerate
n00b
n00b


Joined: 19 Jan 2021
Posts: 4

PostPosted: Tue Jan 19, 2021 5:24 pm    Post subject: Unable to change brightness or display in Plasma Reply with quote

This is my first time asking for help in a forum, so pls no bully. I hope someone can help me.

I'm on an IdeaPad Flex 5 14ARE05 using the latest KDE Plasma. I haven't tried using any other DE. When I try to change my brightness in KDE, the display dialog comes up and the brightness doesn't change.
When I try to connect another monitor via the HDMI port nothing happens. When I plug or unplug my power plug the display dialog comes up. This doen't happen with any other port (USB, sdCard)
This problem is nonexistent on any other distro I've used on this laptop, like Void or Manjaro.

xrandr output:

Code:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
   1920x1080     77.00*

Xorg.0.log:

https://pastebin.com/JHcnACf3

lspci:

Code:
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c2)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
04:00.7 Signal processing controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/Renoir Sensor Fusion Hub
05:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
05:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8938

PostPosted: Tue Jan 19, 2021 6:12 pm    Post subject: Reply with quote

How did you install Plasma?
Back to top
View user's profile Send private message
TheDegenerate
n00b
n00b


Joined: 19 Jan 2021
Posts: 4

PostPosted: Tue Jan 19, 2021 7:19 pm    Post subject: Reply with quote

asturm wrote:
How did you install Plasma?


By following wiki.gentoo.org/wiki/KDE
I chose the default/linux/amd64/17.1/desktop/plasma (stable) profile.
And installed elogind, udev, dbus, polkit, and udisks.
Then I followed the X Server article and installed kde-plasma/plasma-meta.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4243
Location: Bavaria

PostPosted: Tue Jan 19, 2021 10:14 pm    Post subject: Reply with quote

In your xorg log you will see:
Code:
[    10.079] (EE) open /dev/dri/card0: No such file or directory
[    10.079] (WW) Falling back to old probe method for modesetting

You will also see here the manufactor ID from your display:
Code:
[  2419.442] (EE) event8  - MSFT0001:00 06CB:CE2D Touchpad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.16.4/touchpad-jumping-cursors.html for details

If you google for "06CB:CE2D" you will find many problems with this device. As not beeing an expert with AMD I would like to ask if you have read this:
https://wiki.gentoo.org/wiki/AMDGPU
(You will find your chipset in the output of lspci: "renoir")

Just a guess: Maybe an old kernel or missing some kernel settings or the firmware for your graphics card.
Back to top
View user's profile Send private message
TheDegenerate
n00b
n00b


Joined: 19 Jan 2021
Posts: 4

PostPosted: Wed Jan 20, 2021 3:34 am    Post subject: Reply with quote

pietinger wrote:
In your xorg log you will see:
Code:
[    10.079] (EE) open /dev/dri/card0: No such file or directory
[    10.079] (WW) Falling back to old probe method for modesetting

You will also see here the manufactor ID from your display:
Code:
[  2419.442] (EE) event8  - MSFT0001:00 06CB:CE2D Touchpad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.16.4/touchpad-jumping-cursors.html for details

If you google for "06CB:CE2D" you will find many problems with this device. As not beeing an expert with AMD I would like to ask if you have read this:
https://wiki.gentoo.org/wiki/AMDGPU
(You will find your chipset in the output of lspci: "renoir")

Just a guess: Maybe an old kernel or missing some kernel settings or the firmware for your graphics card.


Thanks. I took what you said in mind and reviewed the wiki page. I ended up adding 'VIDEO_CARDS="amdgpu radeonsi"' to my make.conf.
And ran:
Code:
emerge --ask --changed-use @world

It pulled in some software. I rebooted and no changes came about.

I also looked at my specific Kernel options and didn't find any options that should've been different.
Here's my config: https://pastebin.com/3NRePaMd
It was compiled with GenKernel. (Don't bully me. I didn't have the time to configure my own. I will once I have this figured out.)
I also compiled the kernel last weekend, so I don't think it'd be too old.

I also use an APU with no graphics card so that might be why Xorg couldn't find card0.

Thanks again.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4243
Location: Bavaria

PostPosted: Wed Jan 20, 2021 7:25 am    Post subject: Reply with quote

TheDegenerate wrote:
It pulled in some software. I rebooted and no changes came about.

Sad. Your kernel is gentoo standard. Do you have sys-kernel/linux-firmware installed ?

If no: Please emerge it and boot again. If this doesnt help ->

If yes: You said you had no problems with other distros. Do you know if they use the closed source drivers ? (look here: https://wiki.gentoo.org/wiki/AMDGPU-PRO). Maybe this is the reason for some differences.

As I said before I am no AMD expert. Maybe someone else can help. (We dont bully people needing help).
Back to top
View user's profile Send private message
TheDegenerate
n00b
n00b


Joined: 19 Jan 2021
Posts: 4

PostPosted: Wed Jan 20, 2021 6:37 pm    Post subject: Reply with quote

pietinger wrote:
TheDegenerate wrote:
It pulled in some software. I rebooted and no changes came about.

Sad. Your kernel is gentoo standard. Do you have sys-kernel/linux-firmware installed ?

If no: Please emerge it and boot again. If this doesnt help ->

If yes: You said you had no problems with other distros. Do you know if they use the closed source drivers ? (look here: https://wiki.gentoo.org/wiki/AMDGPU-PRO). Maybe this is the reason for some differences.

As I said before I am no AMD expert. Maybe someone else can help. (We dont bully people needing help).


Yes, I did have linux-firmware installed.
I've used Manjaro and Void on this laptop and I'm quite sure they didn't use any propriety drivers.
Void uses linux-firmware-amd and xf86-video-amdgpu. And I booted Manjaro with Open Source drivers.
I did look at https://wiki.gentoo.org/wiki/AMDGPU-PRO, I might try to do something with it later.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum