<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - wine 3D game window tearing,flicker using dri_prime=1, thinkpad W500 gpu intel GM45 + radeon firegl v5700"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94212">94212</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>wine 3D game window tearing,flicker using dri_prime=1, thinkpad W500 gpu intel GM45 + radeon firegl v5700
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>11.1
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/r600
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jydcome@21cn.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm using debian jessie+backports with thinkpad W500 (gpu Intel@GB45 + Radeon
firegl v5700), to enable DRI3 i compiled intel+ati driver download from jessie
backports sources, and config /etc/X11/xorg.conf.d/10-gpu.conf is:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen        0  "Screen0" 0 0
    Screen        1  "Screen1" LeftOf "Screen0"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
EndSection

Section "Device"
   Identifier  "intelGPU"
   Driver      "intel"
   BusID      "PCI:0:2:0"
   Screen     0
   Option     "DRI"  "3"
EndSection

Section "Device"
   Identifier  "radeonGPU"
   Driver      "radeon"
   BusID      "PCI:1:0:0"
   Screen     1
   Option     "DRI"  "3"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "intelGPU"
    Monitor        "Monitor0"
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "radeonGPU"
    Monitor        "Monitor0"
EndSection

I can logon trinity tde(kde3) desktop and run other things ok. Just testing any
3D game (such as Titan Quest Immortal Throne) with wine1.9(without nine adapter
patch) + DRI_PRIME=1 i got game window tearing,flicker, fps nearly about 70% of
using single radeon card. 

Test same games with single card (intel or radeon gpu) booting, game window
dont show up tearing,flicker.

Logon desktop with switchable dual card, i got some information with some
check:

#grep EE /var/log/Xorg.0.log
[    13.354] (EE) Screen 1 deleted because of no matching config section.

#more /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0

#xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x78 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs:
3 outputs: 4 associated providers: 0 name:Intel
Provider 1: id: 0x51 cap: 0xf, Source Output, Sink Output, Source Offload, Sink
Offload crtcs: 1 outputs: 1 associated providers: 0 name:radeon


I also tried enalbe intel+radeon TearFree option, radeon glamor option, or
without any self xorg configure just totally automatic config (intel
dri3+radeon dri2), and using wine staging 1.9.3 binary deb, also show up the
same problem that make games unplayable particularly eating video card games.

I'm not sure what cause the problem. Does mesa dri_prime way exists some bugs,
or it's wine bugs, or i miss something? 

Oh, 2D games looks good without the problem.

Thanks.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>