<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 - After activating the second GPU (setprovideroutputsource) changing any XRandr setting leads to inavlid dpi and wrong framebuffer size"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92571">92571</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>After activating the second GPU (setprovideroutputsource) changing any XRandr setting leads to inavlid dpi and wrong framebuffer size
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>Driver/Radeon
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>jan.burgmeier@unicon-software.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=119034" name="attach_119034" title="Xrandr output before setting the dpi manually">attachment 119034</a> <a href="attachment.cgi?id=119034&action=edit" title="Xrandr output before setting the dpi manually">[details]</a></span>
Xrandr output before setting the dpi manually

Hi,

My setup is the following:

PC: HP T620 Plus with two AMD graphics card
Monitors: 3 Dell 4k Monitos running at 1920x1080. Two are attached to the
primary card and one to the secondary card.

After activating the secondary GPU with "xrandr --setprovideroutputsource"
changing any XRandr setting (resolution, rotation, ...) leads in a too small
framebuffer. It seems that the dpi is wrongly set. It is also not possible to
change the framebuffer with "xrandr --fb". The following commands will fix the
problem:

-----------------------------------------------------------------------

user> xrandr --dryrun --verbose --fb 4080x1920
screen 0: 4080x1920 0x0 mm    infdpi

user> xrandr --verbose --fb 4080x1920
screen 0: 4080x1920 0x0 mm    infdpi
X Error of failed request:  BadValue (integer parameter out of range for
operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  7 (RRSetScreenSize)
  Value in failed request:  0x0
  Serial number of failed request:  52
  Current serial number in output stream:  54

user> xrandr --verbose --dpi 96
screen 0: 4080x1920 1079x507 mm  96.00dpi

---------------------------------------------------------------------           

The following versions were used:
Xorg-1.17.2
xf86-video-ati latest git version (ce9914a)
mesa-11.0.0
libdrm-2.4.64
libLLVM-3.7

It does not matter if using DRI2 or DRI3.
It does not matter if ColorTiling2D is on or off.</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>