[kwin] [Bug 464423] Discrete GPU is not detected by plasma in multi-GPU laptop

2023-06-03 Thread Artsiom Krasilnikau
https://bugs.kde.org/show_bug.cgi?id=464423

--- Comment #3 from Artsiom Krasilnikau  ---
I think I was able to find what the issue. org.kde.Solid.PowerManagement checks
for /sys/kernel/debug/vgaswitcheroo/switch which is not present on my system
because discrete gpu is not vga controller but display controller. DRI_PRIME
variable still works so gpu is working correctly. swithcerooctl is working for
me and from what I understand it's checks for udev devices to find available
gpus, maybe something similar could be done there.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Breeze] [Bug 464634] New: Button hover style looks odd and inconsistent

2023-01-22 Thread Artsiom Krasilnikau
https://bugs.kde.org/show_bug.cgi?id=464634

Bug ID: 464634
   Summary: Button hover style looks odd and inconsistent
Classification: Plasma
   Product: Breeze
   Version: 5.26.5
  Platform: Fedora RPMs
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: QStyle
  Assignee: plasma-b...@kde.org
  Reporter: deadlion@gmail.com
CC: noaha...@gmail.com, uhh...@gmail.com
  Target Milestone: ---

SUMMARY
Breeze button style for hover state currently only highlight border of the
button. This looks a bit strange with flat toolbar buttons and plasmashell ui
elements. I suggest to add background highlight to them also similarly how it
looks when button is clicked. This will make button hover selection prettier
and more consistent with other ui elements like application launcher app hover
style.


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 464423] Discrete GPU is not detected by plasma in multi-GPU laptop

2023-01-17 Thread Artsiom Krasilnikau
https://bugs.kde.org/show_bug.cgi?id=464423

--- Comment #1 from Artsiom Krasilnikau  ---
>> lspci | grep AMD
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root
Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host
Bridge
00:01.1 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.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP
Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP
Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne 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: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] Cezanne Data Fabric;
Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric;
Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric;
Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric;
Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric;
Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric;
Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric;
Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric;
Function 7
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream
Port of PCI Express Switch (rev c3)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL
Downstream Port of PCI Express Switch
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22
[Radeon RX 6700/6700 XT/6750 XT / 6800M] (rev c3)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP
Audio Controller
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c4)
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High
Definition Audio Controller
07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h
(Models 10h-1fh) Platform Security Processor
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB
3.1
07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB
3.1
07:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD]
ACP/ACP3X/ACP6x Audio Coprocessor (rev 01)
07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD
Audio Controller

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 464423] New: Discrete GPU is not detected by plasma in multi-GPU laptop

2023-01-17 Thread Artsiom Krasilnikau
https://bugs.kde.org/show_bug.cgi?id=464423

Bug ID: 464423
   Summary: Discrete GPU is not detected by plasma in multi-GPU
laptop
Classification: Plasma
   Product: plasmashell
   Version: 5.26.5
  Platform: Fedora RPMs
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: Task Manager and Icons-Only Task Manager
  Assignee: plasma-b...@kde.org
  Reporter: deadlion@gmail.com
  Target Milestone: 1.0

Created attachment 155389
  --> https://bugs.kde.org/attachment.cgi?id=155389=edit
Graphics - Info Center Data (OpenGl and Vulkan)

SUMMARY
On latest Fedora Kinoite Plasma does not use descrete GPU to run programs that
have PrefersNonDefaultGPU key in desktop entry. Also there is no option in
desktop entry editor to run on discrete GPU. This works fine on Silverblue


STEPS TO REPRODUCE
1. Open edit menu of desktop entry
2. Go Application -> Advanced option

OR
1. Run application with PrefersNonDefaultGPU (like Steam)
2. In Steam go to hardware details
3. Integrated GPU listed instead of discrete one

OBSERVED RESULT
Option to run app with discrete GPU is not present

EXPECTED RESULT
Option to run app with discrete GPU should be present

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37 (Kinoite)
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.8
Kernel Version: 6.1.5-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 5900HX with Radeon Graphics
Memory: 15,0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Strix G513QY_G513QY
System Version: 1.0

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.