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:
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.