From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Richter Subject: Re: drm/i915 X crashes on 835GM (IBM R31) Date: Tue, 22 Oct 2013 15:24:18 +0200 Message-ID: <52667C82.1050505@math.tu-berlin.de> References: <4451_1382337893_5264CD65_4451_6071_1_20131021064125.GA32001@phenom.ffwll.local> <5264E1D7.3010003@math.tu-berlin.de> <4451_1382360513_526525BD_4451_11749_1_20131021130140.GC21728@nuc-i3427.alporthouse.com> <5266510E.4000502@math.tu-berlin.de> <28789_1382443421_5266699D_28789_168_1_20131022120332.GE6083@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030108090007040400000302" Return-path: Received: from charon.rus.uni-stuttgart.de (charon.rus.uni-stuttgart.de [129.69.192.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9F85BE6C31 for ; Tue, 22 Oct 2013 06:24:31 -0700 (PDT) In-Reply-To: <28789_1382443421_5266699D_28789_168_1_20131022120332.GE6083@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Chris Wilson , intel-gfx@lists.freedesktop.org, daniel.vetter@ffwll.ch List-Id: intel-gfx@lists.freedesktop.org This is a multi-part message in MIME format. --------------030108090007040400000302 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Am 22.10.2013 14:03, schrieb Chris Wilson: > Ah, /var/log/Xorg.0.log has greater verbosity than stdout/stderr. I am > just curious where we reject the -intel driver and hence fail to init > the screen. /var/logXorg.0.log is zero bytes long at this point. I wouldn't call this "greater". (-; Let it be as it is, I wouldn't consider this an acceptable reaction. >> later when X is running, I do get a working X, but no picture on the >> external monitor. The xrandr output is also attached. > > From the xrandr, I can see the problem. LVDS1 can be on either CRTC, but > VGA can only be on CRTC-0. At initialisation, LVDS1 is on CRTC-0 and so > prevents the VGA from finding a CRTC. > > If you do: > xrandr --output LVDS1 --off > xrandr --output VGA1 --preferred > xrandr --output LVDS1 --preferred > > it should work, or more compactly: > > xrandr \ > --output VGA1 --preferred --crtc 0 \ > --output LVDS1 --preferred --crtc 1 --primary --left-of VGA1 > > (adjust primary and position to taste) Sorry, not really. After a "xrandr --output LVDS1 --panning 2048x1536" on the internal screen, I did a $ xrandr --output LVDS1 --off && xrandr --output VGA1 --preferred && xrandr --output LVDS1 --preferred and the result was only: X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 149 (RANDR) Minor opcode of failed request: 29 (RRSetPanning) Serial number of failed request: 26 Current serial number in output stream: 26 So apparently, xrandr had problems carrying the panning parameters over. Then, following that, I did a $ xrandr --output LVDS1 --preferred $ xrandr --output VGA1 --preferred The result is a working LVDS display, but a nonworking external display (non-stable, as if the sync is incorrect, but a signal). I'm attaching the output of xrandr --verbose in this specific state. Then I did a $ xrandr --output VGA1 --off $ xrandr --output VGA1 --auto and then I got a stable and working external display. Anyhow, something's screwed in the display setup. a) xrandr should carry over the panning parameters just correctly instead of failing and, b) it should better get the sync timing right the first time, and not the second. (Or actually third). The "flicker on panning" remains here, but only on the external but not on the internal. > > Flickering is another problem altogether (who votes for DSPARB?). > -Chris > Likely so... But there is at least still a problem with getting the timing right on the external display. So long, Thomas --------------030108090007040400000302 Content-Type: text/plain; name="xrandr.out" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xrandr.out" Screen 0: minimum 320 x 200, current 2048 x 1536, maximum 2048 x 2048 LVDS1 connected 2048x1536+0+0 (0x43) normal (normal left inverted right x axis y axis) 0mm x 0mm panning 2048x1536+0+0 Identifier: 0x41 Timestamp: 183861 Subpixel: horizontal rgb Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: VGA1 CRTC: 1 CRTCs: 0 1 Panning: 2048x1536+0+0 Tracking: 0x0+0+0 Border: 0/0/0/0 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: BACKLIGHT: 7 (0x00000007) range: (0,7) Backlight: 7 (0x00000007) range: (0,7) 1024x768 (0x43) 65.0MHz +HSync +VSync *current +preferred h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz v: height 768 start 771 end 777 total 806 clock 60.0Hz 1024x768 (0x44) 65.0MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz v: height 768 start 771 end 777 total 806 clock 60.0Hz 800x600 (0x45) 40.0MHz +HSync +VSync h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz v: height 600 start 601 end 605 total 628 clock 60.3Hz 800x600 (0x46) 36.0MHz +HSync +VSync h: width 800 start 824 end 896 total 1024 skew 0 clock 35.2KHz v: height 600 start 601 end 603 total 625 clock 56.2Hz 640x480 (0x47) 25.2MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz v: height 480 start 490 end 492 total 525 clock 59.9Hz VGA1 connected 2048x1536+0+0 (0xa8) normal (normal left inverted right x axis y axis) 338mm x 270mm panning 2048x1536+0+0 Identifier: 0x42 Timestamp: 183861 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: LVDS1 CRTC: 0 CRTCs: 0 Panning: 2048x1536+0+0 Tracking: 0x0+0+0 Border: 0/0/0/0 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: EDID: 00ffffffffffff0026cd58464e030000 110c01036c221b78eaae669e544c9926 194f54bdef8081400101010101010101 010101010101302a009851002a403070 1300520e1100001e000000fc00415334 3331365554430a202020000000ff0000 00000000000000000a202020000000fd 00384b1f510d000a202020202020005d 1280x1024 (0xa8) 108.0MHz +HSync +VSync *current +preferred h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz 1280x1024 (0xa9) 135.0MHz +HSync +VSync h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 80.0KHz v: height 1024 start 1025 end 1028 total 1066 clock 75.0Hz 1280x960 (0xaa) 108.0MHz +HSync +VSync h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.0KHz v: height 960 start 961 end 964 total 1000 clock 60.0Hz 1152x864 (0xab) 108.0MHz +HSync +VSync h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.5KHz v: height 864 start 865 end 868 total 900 clock 75.0Hz 1024x768 (0xac) 78.8MHz +HSync +VSync h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.1KHz v: height 768 start 769 end 772 total 800 clock 75.1Hz 1024x768 (0xad) 75.0MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.5KHz v: height 768 start 771 end 777 total 806 clock 70.1Hz 1024x768 (0x44) 65.0MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz v: height 768 start 771 end 777 total 806 clock 60.0Hz 832x624 (0xae) 57.3MHz -HSync -VSync h: width 832 start 864 end 928 total 1152 skew 0 clock 49.7KHz v: height 624 start 625 end 628 total 667 clock 74.6Hz 800x600 (0xaf) 50.0MHz +HSync +VSync h: width 800 start 856 end 976 total 1040 skew 0 clock 48.1KHz v: height 600 start 637 end 643 total 666 clock 72.2Hz 800x600 (0xb0) 49.5MHz +HSync +VSync h: width 800 start 816 end 896 total 1056 skew 0 clock 46.9KHz v: height 600 start 601 end 604 total 625 clock 75.0Hz 800x600 (0x45) 40.0MHz +HSync +VSync h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz v: height 600 start 601 end 605 total 628 clock 60.3Hz 640x480 (0xb1) 31.5MHz -HSync -VSync h: width 640 start 656 end 720 total 840 skew 0 clock 37.5KHz v: height 480 start 481 end 484 total 500 clock 75.0Hz 640x480 (0xb2) 31.5MHz -HSync -VSync h: width 640 start 664 end 704 total 832 skew 0 clock 37.9KHz v: height 480 start 489 end 491 total 520 clock 72.8Hz 640x480 (0xb3) 30.2MHz -HSync -VSync h: width 640 start 704 end 768 total 864 skew 0 clock 35.0KHz v: height 480 start 483 end 486 total 525 clock 66.7Hz 640x480 (0xb4) 25.2MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz v: height 480 start 490 end 492 total 525 clock 60.0Hz 720x400 (0xb5) 28.3MHz -HSync +VSync h: width 720 start 738 end 846 total 900 skew 0 clock 31.5KHz v: height 400 start 412 end 414 total 449 clock 70.1Hz --------------030108090007040400000302 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --------------030108090007040400000302--