<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 - X Server Segfault after resizing framebuffer"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106524">106524</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>X Server Segfault after resizing framebuffer
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (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/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>xplodgui@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=139575" name="attach_139575" title="Xorg crash log">attachment 139575</a> <a href="attachment.cgi?id=139575&action=edit" title="Xorg crash log">[details]</a></span>
Xorg crash log

Hello there,

I have a Razer Blade 14" (2016), which has an integrated Intel graphics and a
dedicated NVIDIA GTX 1060M GPU to which the HDMI port is physically routed.

I am using the Intel and Nouveau driver to drive 3 screens: the integrated
3200x1800 panel on eDP1, an AOC 25" 2560x1600 screen through a USB-C to HDMI
adapter on DP1, and another AOC 25" 2560x1600 screen through the dedicated HDMI
port on HDMI-1-2.

I manage to randomly get them to work: most of the time, as soon as I plug in
the HDMI cable, the X server crashes in loop. I attached the log, I suspect the
total resolution is bigger than what is accepted by the Intel GPU or something,
even though in Ubuntu I forced the integrated panel resolution to 2560x1600 to
get below 8192x8192, it tries to assign a total surface of 8320x1800.

Is there some way to force the integrated panel to a lower resolution? I am
using my laptop primarily at work, and attached to external screens, so I
couldn't care less if it was running at 3200x1800 or 2560x1600.

Regardless, there's a crash that needs to be fixed I guess :)

Here's my Xorg.conf (required so that xrandr lists the Nvidia adapter and
detects the HDMI screen):


Section "ServerFlags"
    Option "IgnoreABI" "1"
EndSection

Section "Device"
    Identifier "Nvidia card"
    Driver "nouveau"
EndSection


I attached the Xorg.0.log of the crash.
Running Ubuntu 18.04 LTS. Here are the packages versions:

ii  xserver-xorg                                                    
1:7.7+19ubuntu7                                          amd64        X.Org X
server
ii  xserver-xorg-core                                               
2:1.19.6-1ubuntu4                                        amd64        Xorg X
server - core server
ii  xserver-xorg-input-all                                          
1:7.7+19ubuntu7                                          amd64        X.Org X
server -- input driver metapackage
ii  xserver-xorg-input-evdev                                        
1:2.10.5-1ubuntu1                                        amd64        X.Org X
server -- evdev input driver
ii  xserver-xorg-input-libinput                                      0.27.1-1  
                                              amd64        X.Org X server --
libinput input driver
ii  xserver-xorg-input-synaptics                                    
1.9.0-1ubuntu1                                           amd64        Synaptics
TouchPad driver for X.Org server
ii  xserver-xorg-input-void                                         
1:1.4.1-1build3                                          amd64        X.Org X
server -- void input driver
ii  xserver-xorg-input-wacom                                        
1:0.36.1-0ubuntu1                                        amd64        X.Org X
server -- Wacom input driver
ii  xserver-xorg-legacy                                             
2:1.19.6-1ubuntu4                                        amd64        setuid
root Xorg server wrapper
ii  xserver-xorg-video-all                                          
1:7.7+19ubuntu7                                          amd64        X.Org X
server -- output driver metapackage
ii  xserver-xorg-video-amdgpu                                        18.0.1-1  
                                              amd64        X.Org X server --
AMDGPU display driver
ii  xserver-xorg-video-ati                                           1:18.0.1-1
                                              amd64        X.Org X server --
AMD/ATI display driver wrapper
ii  xserver-xorg-video-dummy                                        
1:0.3.8-1build1                                          amd64        X.Org X
server -- dummy display driver
ii  xserver-xorg-video-fbdev                                        
1:0.4.4-1build6                                          amd64        X.Org X
server -- fbdev display driver
ii  xserver-xorg-video-intel                                        
2:2.99.917+git20171229-1                                 amd64        X.Org X
server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-nouveau                                       1:1.0.15-2
                                              amd64        X.Org X server --
Nouveau display driver
ii  xserver-xorg-video-qxl                                          
0.1.5-2build1                                            amd64        X.Org X
server -- QXL display driver
ii  xserver-xorg-video-radeon                                        1:18.0.1-1
                                              amd64        X.Org X server --
AMD/ATI Radeon display driver
ii  xserver-xorg-video-vesa                                         
1:2.3.4-1build3                                          amd64        X.Org X
server -- VESA display driver
ii  xserver-xorg-video-vmware                                       
1:13.2.1-1build1                                         amd64        X.Org X
server -- VMware display driver</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>