I have managed to get a solution for this issue by following the below
steps
Scenario 1:
1. Set intel to UXA mode and activate radeon DRI3 using the below xorg.conf
settings
2. Restart mdm by login out and loggin in again (I have experience very slow
rendering login page - Linux mint)
3. Issue command: DRI_PRIME=1 glxinfo|grep "OpenGL"( you will see the Radeon
renderer active)
4. Issue command: DRI_PRIME=1 cairo_dock& (cairo starts without problems)
PS: grub kernel were left its distro's default settings.
Section "Device"
Identifier "Radeon"
Driver "intel"
Option "AccelMethod" "UXA"
Option "SwapbuffersWait" "false"
Option "VSync" "false"
Option "DRI" "3"
EndSection
Section "Device"
Identifier "Radeon"
Driver "radeon"
Option "SwapbuffersWait" "false"
Option "TearFree" "false"
Option "DRI" "3"
EndSection
Scenario 2:
=======================
1. Set intel to SNA mode and activate radeon DRI3
2. Restart mdm by login out and loggin in again (screen rendering is fast)
3. Issue command: DRI_PRIME=1 glxinfo|grep "OpenGL"( I can only see the Intel
tenderer)
4. Issue command: DRI_PRIME=1 cairo_dock& (cairo starts without problems)
I hope this helps
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1581270
Title:
Hybrid Graphics: [drm:si_resume [radeon]] *ERROR* si startup failed on
resume
Status in xorg package in Ubuntu:
Confirmed
Bug description:
dmesg shows issues with being able to use the discrete graphics card
(relevant dmesg lines attached).
Grub does pass "radeon.modeset=1" but it doesn't seem to make a
difference. If I pass both "radeon.modeset=1" and "radeon.startpm=1"to
the kernel, then it does not error (except for the VCE error -110,
which is probably harmless).
Running `DRI_PRIME=1 glxgears`:
- with "radeon.modeset=1" and "radeon.startpm=1", no error but only a black
window with a visible top bar.
- with just "radeon.modeset=1", error (attached as 'glxgears').
Results are similar on Ubuntu GNOME 16.04, except with
"radeon.modeset=1" and "radeon.startpm=1" set. It works, but lots of
screen tearing.
Attached are relevant dmesg lines, grep'd with 'drm'. I'll also be
attaching entire contents of dmesg, /var/log/syslog, etc., but TLDR:
[ 22.916285] [drm] ring test on 0 succeeded in 2 usecs
[ 22.916289] [drm] ring test on 1 succeeded in 1 usecs
[ 22.916292] [drm] ring test on 2 succeeded in 1 usecs
[ 22.916299] [drm] ring test on 3 succeeded in 3 usecs
[ 22.916304] [drm] ring test on 4 succeeded in 3 usecs
[ 23.092271] [drm] ring test on 5 succeeded in 2 usecs
[ 23.092276] [drm] UVD initialized successfully.
[ 23.092311] [drm] ib test on ring 0 succeeded in 0 usecs
[ 23.092349] [drm] ib test on ring 1 succeeded in 0 usecs
[ 23.092375] [drm] ib test on ring 2 succeeded in 0 usecs
[ 23.092392] [drm] ib test on ring 3 succeeded in 0 usecs
[ 23.092407] [drm] ib test on ring 4 succeeded in 0 usecs
[ 33.241928] [drm:uvd_v1_0_ib_test [radeon]] *ERROR* radeon: fence wait
failed (-35).
[ 33.241948] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed
testing IB on ring 5 (-35).
lsb_release -rd:
Description: Ubuntu 16.04 LTS
Release: 16.04
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
.tmp.unity_support_test.0:
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Thu May 12 20:43:03 2016
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166]
(rev 09) (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd 3rd Gen Core processor Graphics
Controller [144d:c0e6]
Subsystem: Samsung Electronics Co Ltd Mars [Radeon HD 8670A/8670M/8750M]
[144d:c0e6]
InstallationDate: Installed on 2016-05-13 (0 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64
(20160420.1)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 870Z5E/880Z5E/680Z5E
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic.efi.signed
root=UUID=644ba363-51c7-419c-8544-2ff7be960f21 ro quiet splash radeon.modeset=1
vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/21/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P05ADH.017.140421.SH
dmi.board.asset.tag: No Asset Tag
dmi.board.name: NP680Z5E-X01US
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: SEC_SW_REVISION_1234567890ABCD
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias:
dmi:bvnAmericanMegatrendsInc.:bvrP05ADH.017.140421.SH:bd04/21/2014:svnSAMSUNGELECTRONICSCO.,LTD.:pn870Z5E/880Z5E/680Z5E:pvrP05ADH:rvnSAMSUNGELECTRONICSCO.,LTD.:rnNP680Z5E-X01US:rvrSEC_SW_REVISION_1234567890ABCD:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvrN/A:
dmi.product.name: 870Z5E/880Z5E/680Z5E
dmi.product.version: P05ADH
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
version.compiz: compiz 1:0.9.12.2+16.04.20160415-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.18.3-1ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel
2:2.99.917+git20160325-1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau
1:1.0.12-1build2
xserver.bootTime: Thu May 12 20:35:57 2016
xserver.configfile: default
xserver.errors: RADEON(G0): [XvMC] Failed to initialize extension.
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
product id 4845
vendor AUO
xserver.version: 2:1.18.3-1ubuntu2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1581270/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp