Announcement

Collapse
No announcement yet.

Problem with hybrid graphics.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with hybrid graphics.

    Hi,

    a have a Lenovo Notebook which contains a FX-7500.
    There are 2 graphics devices in:

    Code:
    root@lenovo-nb:/home/towo# lspci | egrep -i "displ|vga"
    00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R6/R7 Graphics]
    01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Jet PRO [Radeon R5 M230] (rev ff)
    The system is using the Kaveri graphics.

    Code:
    towo:lenovo-nb> glxinfo | grep "OpenGL renderer string"
    OpenGL renderer string: Gallium 0.4 on AMD KAVERI
    Code:
    towo:lenovo-nb> xrandr --listproviders
    Providers: number : 2
    Provider 0: id: 0x86 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 1 name:radeon
    Provider 1: id: 0x4f cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 0 outputs: 0 associated providers: 1 name:radeon
    both devices are listed.

    now i can do:
    Code:
    xrandr --setprovideroffloadsink 0x4f 0x86
    towo:lenovo-nb> DRI_PRIME=1 glxinfo | grep "renderer string"
    OpenGL renderer string: Gallium 0.4 on AMD HAINAN
    It sees the 2nd device.

    but
    Code:
    DRI_PRIME=1 glxgears
    shows only a black window, but the fps are shown in the terminal, i start from.
    I use xfce 4.12 and have tryed 3 different compositors, with all i get the same black window.
    xserver is 1.16.4, mesa is 10.6-git and radeon driver is 7.5.0
    There are zero errors in the terminal or logfiles.

    Any hint to the issue?

  • #2
    I have a similar problem with Intel/AMD graphics and DRI_PRIME.
    But the window is not black, it is a frozen version of the background.

    https://bugs.launchpad.net/ubuntu/+s...g/+bug/1430888

    Comment


    • #3
      I have fond my soulutin now.
      I have builded the radeon DDX from git with DRI3, now it works as it schould and i don't need the xrandr switch anymore.

      Comment

      Working...
      X