From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 74878] New: DRI_PRIME not working correctly Date: Wed, 12 Feb 2014 08:17:37 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1446366160==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C97FFAD12 for ; Wed, 12 Feb 2014 00:17:37 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1446366160== Content-Type: multipart/alternative; boundary="1392193057.dFc40.22494"; charset="us-ascii" --1392193057.dFc40.22494 Date: Wed, 12 Feb 2014 08:17:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=74878 Priority: medium Bug ID: 74878 Assignee: dri-devel@lists.freedesktop.org Summary: DRI_PRIME not working correctly Severity: normal Classification: Unclassified OS: Linux (All) Reporter: pontostroy@gmail.com Hardware: x86-64 (AMD64) Status: NEW Version: git Component: Drivers/Gallium/radeonsi Product: Mesa Created attachment 93904 --> https://bugs.freedesktop.org/attachment.cgi?id=93904&action=edit dmesg OpenSUSE 13.1 kernels 3.13.2/drm-fixes/http://cgit.freedesktop.org/~deathsimple/linux/log/?h=uvd-3.9 Mesa git dba303d libdrm/video-ati git lspci -nn|grep VGA 00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09) 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XT [Radeon HD 7790/8770] [1002:665c] pont@bb:~> xrandr --listproviders Providers: number : 2 Provider 0: id: 0x92 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 8 associated providers: 0 name:Intel Provider 1: id: 0x59 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 4 associated providers: 0 name:radeon pont@bb:~> xrandr --setprovideroutputsource 0x59 0x92 pont@bb:~> xrandr --listproviders Providers: number : 2 Provider 0: id: 0x92 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 8 associated providers: 1 name:Intel Provider 1: id: 0x59 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 4 associated providers: 1 name:radeon pont@bb:~> LIBGL_DEBUG=verbose DRI_PRIME=1 glxinfo|grep OpenGL libGL: screen 0 does not appear to be DRI3 capable libGL: pci id for fd 4: 8086:0152, driver i965 libGL: OpenDriver: trying /usr/lib64/dri/tls/i965_dri.so libGL: OpenDriver: trying /usr/lib64/dri/i965_dri.so libGL: Can't open configuration file /home/pont/.drirc: No such file or directory. libGL: Can't open configuration file /home/pont/.drirc: No such file or directory. OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Desktop OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.0-devel OpenGL core profile shading language version string: 3.30 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: libGL: Can't open configuration file /home/pont/.drirc: No such file or directory. OpenGL version string: 3.0 Mesa 10.2.0-devel OpenGL shading language version string: 1.30 OpenGL context flags: (none) OpenGL extensions: libGL: Can't open configuration file /home/pont/.drirc: No such file or directory. OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.2.0-devel OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0 OpenGL ES profile extensions: I think libGL load wrong driver with DRI_PRIME, -- You are receiving this mail because: You are the assignee for the bug. --1392193057.dFc40.22494 Date: Wed, 12 Feb 2014 08:17:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 74878
Assignee dri-devel@lists.freedesktop.org
Summary DRI_PRIME not working correctly
Severity normal
Classification Unclassified
OS Linux (All)
Reporter pontostroy@gmail.com
Hardware x86-64 (AMD64)
Status NEW
Version git
Component Drivers/Gallium/radeonsi
Product Mesa

Created attachment 93904 [details]
dmesg

OpenSUSE 13.1
kernels
3.13.2/drm-fixes/http://cgit.freedesktop.org/~deathsimple/linux/log/?h=uvd-3.9

Mesa git dba303d
libdrm/video-ati git

lspci -nn|grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd
Gen Core processor Graphics Controller [8086:0152] (rev 09)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Bonaire XT [Radeon HD 7790/8770] [1002:665c]


pont@bb:~> xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x92 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs:
4 outputs: 8 associated providers: 0 name:Intel
Provider 1: id: 0x59 cap: 0xf, Source Output, Sink Output, Source Offload, Sink
Offload crtcs: 6 outputs: 4 associated providers: 0 name:radeon
pont@bb:~> xrandr --setprovideroutputsource 0x59 0x92
pont@bb:~> xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x92 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs:
4 outputs: 8 associated providers: 1 name:Intel
Provider 1: id: 0x59 cap: 0xf, Source Output, Sink Output, Source Offload, Sink
Offload crtcs: 6 outputs: 4 associated providers: 1 name:radeon

pont@bb:~> LIBGL_DEBUG=verbose DRI_PRIME=1 glxinfo|grep OpenGL
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 4: 8086:0152, driver i965
libGL: OpenDriver: trying /usr/lib64/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/i965_dri.so
libGL: Can't open configuration file /home/pont/.drirc: No such file or
directory.
libGL: Can't open configuration file /home/pont/.drirc: No such file or
directory.
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Desktop 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.2.0-devel
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
libGL: Can't open configuration file /home/pont/.drirc: No such file or
directory.
OpenGL version string: 3.0 Mesa 10.2.0-devel
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
libGL: Can't open configuration file /home/pont/.drirc: No such file or
directory.
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.2.0-devel
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:


I think libGL load wrong driver with DRI_PRIME,


You are receiving this mail because:
  • You are the assignee for the bug.
--1392193057.dFc40.22494-- --===============1446366160== 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 --===============1446366160==--