From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 89241] A8-6410 APU with integrated R5 Mullins + dedicated R5
M240 Hainan graphics switching not working
Date: Fri, 20 Feb 2015 13:43:48 +0000
Message-ID:
Bug ID
89241
Summary
A8-6410 APU with integrated R5 Mullins + dedicated R5 M240 Ha=
inan graphics switching not working
Product
DRI
Version
XOrg git
Hardware
Other
OS
All
Status
NEW
Severity
normal
Priority
medium
Component
DRM/Radeon
Assignee
dri-devel@lists.freedesktop.org
Reporter
linux5@secure-mail.biz
Switching graphics between the A8-6410 APU with integrated R5 =
Mullins +
dedicated R5 M240 Hainan is not working(HP 355 G2 notebook). I think it's
because the dedicated gpu for some reason can just not be activated, because
"/sys/kernel/debug/vgaswitcheroo/switch" and the Radeon Profile t=
ool show two
gpus, but changing the gpu state from "off" to something else wit=
hin Radeon
Profile doesn't work for the dedicated one.
I tried the gearsongallium livecd with very recent drivers/Xorg/etc.
Versions included in the gearsongallium livedvd i tested:
Mesa-git =E2=80=93 10.5_git2015.02.04
Kernel =E2=80=93 3.19-rc6
libdrm =E2=80=93 2.4.99_git2015.01.22
Mesa-demos =E2=80=93 9.1.0_git2014.07.06
xorg-server =E2=80=93 1.16.99.9
xf86-video-ati =E2=80=93 7.99.99_2015.01.15
I also tried in Kubuntu 14.10 to switch with DRI_PRIME=3D1. If i do that i =
get
corrupt window and lower fps than with integrated gpu with es2gears. However
"DRI_PRIME=3D1 glxinfo" says it's using the dedicated gpu.
In gearsongallium i get the same output with or without "DRI_PRIME=3D1=
glxinfo"
so it seems to not switch at all with recent drivers/Xorg/etc.
I can also post Xorg log and dmesg output, but i couldn't spot anything unu=
sual
there looking quickly through it. However "dmesg|grep -i vga" mig=
ht be
important:
$ dmesg |grep -i vga
[ 1.069056] vgaarb: setting as boot device: PCI:0000:00:01.0
[ 1.069061] vgaarb: device added:
PCI:0000:00:01.0,decodes=3Dio+mem,owns=3Dio+mem,locks=3Dnone
[ 1.069077] vgaarb: loaded
[ 1.069080] vgaarb: bridge control possible 0000:00:01.0
[ 1.763179] fb0: EFI VGA frame buffer device
[ 2.029145] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
[ 2.115398] VGA switcheroo: detected switching method \_SB_.PCI0.VGA_.AT=
PX
handle
[ 2.191102] ACPI: Video Device [VGA1] (multi-head: yes rom: no post: n=
o)
[ 2.255714] fb: switching to radeondrmfb from EFI VGA
[ 2.440405] [drm] VGA-1
[ 2.527423] vga_switcheroo: enabled