From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 70409] New: Radeon 7730M discrete GPU use crashes DRI PRIME, appears to be using r600 driver Date: Sat, 12 Oct 2013 19:36:52 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2058527456==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 70EEFE6002 for ; Sat, 12 Oct 2013 12:36:52 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2058527456== Content-Type: multipart/alternative; boundary="1381606612.AF362FA0.15706"; charset="us-ascii" --1381606612.AF362FA0.15706 Date: Sat, 12 Oct 2013 19:36:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=70409 Priority: medium Bug ID: 70409 Assignee: dri-devel@lists.freedesktop.org Summary: Radeon 7730M discrete GPU use crashes DRI PRIME, appears to be using r600 driver Severity: normal Classification: Unclassified OS: Linux (All) Reporter: calcprogrammer1@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: XOrg CVS Component: DRM/Radeon Product: DRI I am trying to get DRI PRIME working on my AMD dual-GPU laptop. hp dv6z-7000 AMD A10-4600 APU with Radeon HD 7660G (ARUBA) AMD Radeon HD 7730M (VERDE) discrete GPU, 2GB VRAM Ubuntu GNOME 13.10 Custom-built kernel 3.11-rc7 from drm-next-3.13-wip branch (for DPM) I'm using the Ubuntu-provided xorg, mesa, glamor, and libdrm packages. I had to compile my own xserver-xorg-video-ati/radeon packages with glamor acceleration support enabled. With this I can confirm glamor acceleration is being used with the 7660G on r600 and it works well. Now, I want to enable DRI PRIME to use the 7730M with games. adam@Adam-dv6z-7000:~$ xrandr --listproviders Providers: number : 3 Provider 0: id: 0x6c cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 2 name:radeon Provider 1: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 0 associated providers: 2 name:radeon Provider 2: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 0 associated providers: 2 name:radeon adam@Adam-dv6z-7000:~$ xrandr --setprovideroffloadsink 0x45 0x6C adam@Adam-dv6z-7000:~$ DRI_PRIME=1 glxinfo | grep renderer When I run that third line, X crashes immediately with a segfault and automatically restarts GDM to the login screen. I will attach a Xorg log to this bug report after I post it and run the commands. -- You are receiving this mail because: You are the assignee for the bug. --1381606612.AF362FA0.15706 Date: Sat, 12 Oct 2013 19:36:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 70409
Assignee dri-devel@lists.freedesktop.org
Summary Radeon 7730M discrete GPU use crashes DRI PRIME, appears to be using r600 driver
Severity normal
Classification Unclassified
OS Linux (All)
Reporter calcprogrammer1@gmail.com
Hardware x86-64 (AMD64)
Status NEW
Version XOrg CVS
Component DRM/Radeon
Product DRI

I am trying to get DRI PRIME working on my AMD dual-GPU laptop.

hp dv6z-7000
AMD A10-4600 APU with Radeon HD 7660G (ARUBA)
AMD Radeon HD 7730M (VERDE) discrete GPU, 2GB VRAM
Ubuntu GNOME 13.10
Custom-built kernel 3.11-rc7 from drm-next-3.13-wip branch (for DPM)

I'm using the Ubuntu-provided xorg, mesa, glamor, and libdrm packages.  I had
to compile my own xserver-xorg-video-ati/radeon packages with glamor
acceleration support enabled.  With this I can confirm glamor acceleration is
being used with the 7660G on r600 and it works well.

Now, I want to enable DRI PRIME to use the 7730M with games.

adam@Adam-dv6z-7000:~$ xrandr --listproviders
Providers: number : 3
Provider 0: id: 0x6c cap: 0xf, Source Output, Sink Output, Source Offload, Sink
Offload crtcs: 4 outputs: 3 associated providers: 2 name:radeon
Provider 1: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink
Offload crtcs: 6 outputs: 0 associated providers: 2 name:radeon
Provider 2: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink
Offload crtcs: 6 outputs: 0 associated providers: 2 name:radeon

adam@Adam-dv6z-7000:~$ xrandr --setprovideroffloadsink 0x45 0x6C

adam@Adam-dv6z-7000:~$ DRI_PRIME=1 glxinfo | grep renderer

When I run that third line, X crashes immediately with a segfault and
automatically restarts GDM to the login screen.  I will attach a Xorg log to
this bug report after I post it and run the commands.


You are receiving this mail because:
  • You are the assignee for the bug.
--1381606612.AF362FA0.15706-- --===============2058527456== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2058527456==--