Skip to contentSkip to conversation

New: DRI_PRIME not working correctly

Bug 74878 [email protected] 1 participant 5 messages Feb 12, 2014 – Apr 22, 2014

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=74878

Priority: medium
Bug ID: 74878
Assignee: [email protected]
Summary: DRI_PRIME not working correctly
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
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,

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 74878] DRI_PRIME not working correctly

https://bugs.freedesktop.org/show_bug.cgi?id=74878

--- Comment #1 from Iaroslav <[email protected]> --- Created attachment 93925
--> https://bugs.freedesktop.org/attachment.cgi?id=93925&action=edit
Xorg.0.log

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 74878] DRI_PRIME not working correctly

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=74878

--- Comment #2 from Nikita Mikhailov <[email protected]> --- Hello
You are using wrong xrandr command, try this:
"xrandr --setprovideroffloadsink 1 0"

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 74878] DRI_PRIME not working correctly

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=74878

--- Comment #3 from txbarth <[email protected]> ---
Simalar errors on Ubuntu 14 as guest on Win7/VirtualBox 4.3.10 host. In Ubuntu 12 there are no problems with the exact same guest settings.

tbarth@ubuntu-14:~$ LIBGL_DEBUG=verbose DRI_PRIME=1 glxinfo|grep OpenGL
libGL: screen 0 does not appear to be DRI3 capable
libGL error: pci id for fd 4: 80ee:beef, driver (null)
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/vboxvideo_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/vboxvideo_dri.so
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
libGL: driver does not expose __driDriverGetExtensions_vboxvideo():
/usr/lib/i386-linux-gnu/dri/vboxvideo_dri.so: undefined symbol:
__driDriverGetExtensions_vboxvideo
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL: driver does not expose __driDriverGetExtensions_swrast():
/usr/lib/i386-linux-gnu/dri/swrast_dri.so: undefined symbol:
__driDriverGetExtensions_swrast
libGL: Can't open configuration file /home/tbarth/.drirc: No such file or
directory.
libGL: Can't open configuration file /home/tbarth/.drirc: No such file or
directory.
OpenGL vendor string: Humper
OpenGL renderer string: Chromium
OpenGL version string: 2.1 Chromium 1.9
OpenGL shading language version string: 4.30
OpenGL extensions:
tbarth@ubuntu-14:~$ /usr/lib/nux/unity_support_test -p
libGL error: pci id for fd 4: 80ee:beef, driver (null)
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
OpenGL vendor string:   Humper
OpenGL renderer string: Chromium
OpenGL version string:  2.1 Chromium 1.9
Not software rendered:    yes
Not blacklisted:          yes
GLX fbconfig:             yes
GLX texture from pixmap:  yes
GL npot or rect textures: yes
GL vertex program:        yes
GL fragment program:      yes
GL vertex buffer object:  yes
GL framebuffer object:    yes

GL version is 1.4+: yes

Unity 3D supported: yes

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 74878] DRI_PRIME not working correctly

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=74878

Iaroslav <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Iaroslav <[email protected]> --- fixed after update

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel