<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Xorg segfaults when using --setprovideroutputsource"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73403">73403</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xorg-driver-ati@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Xorg segfaults when using --setprovideroutputsource
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>tom@recursivedream.com
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/Radeon
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=91690" name="attach_91690" title="Xorg log">attachment 91690</a> <a href="attachment.cgi?id=91690&action=edit" title="Xorg log">[details]</a></span>
Xorg log

I have a laptop with hybrid graphics. When attempting to get xrandr to
identify/use an output attached to the discrete card, Xorg segfaults. Here are
my steps:

    startx
    xrandr --setprovideroutputsource 1 0
    xrandr --auto

After the first `xrandr` call, the external monitor shows up in the output
list. So far so good. As soon as I try to activate it with `xrandr --auto`,
Xorg segfaults. Here's the output of `--listproviders`:

    Providers: number : 2
    Provider 0: id: 0x8a cap: 0xb, Source Output, Sink Output, Sink Offload
crtcs: 3 outputs: 5 associated providers: 0 name:Intel
    Provider 1: id: 0x41 cap: 0xf, Source Output, Sink Output, Source Offload,
Sink Offload crtcs: 1 outputs: 1 associated providers: 0 name:radeon

I will also be attaching my xorg.conf.

I should note that when using "glamor" acceleration for the Radeon device, Xorg
does *not* segfault. However, the resulting output is unusable; I don't know
quite how to describe it beyond saying that the picture on the screen is
jumbled/torn up and illegible. This segfault happens when using "exa" (really
any non-glamor) mode; I have no idea what significance (if any) that might
have.

Please let me know what other information will help.</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>