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: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1102265657==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id A8961897D0 for ; Fri, 20 Feb 2015 05:43:48 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1102265657== Content-Type: multipart/alternative; boundary="1424439828.aD6100.6622"; charset="UTF-8" --1424439828.aD6100.6622 Date: Fri, 20 Feb 2015 13:43:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D89241 Bug ID: 89241 Summary: A8-6410 APU with integrated R5 Mullins + dedicated R5 M240 Hainan 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 tool show t= wo gpus, but changing the gpu state from "off" to something else within 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 glxi= nfo" 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" might 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 --=20 You are receiving this mail because: You are the assignee for the bug. --1424439828.aD6100.6622 Date: Fri, 20 Feb 2015 13:43:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1424439828.aD6100.6622-- --===============1102265657== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============1102265657==--