You are not logged in.

#1 2014-12-31 12:18:54

seidler2547
Member
Registered: 2014-12-31
Posts: 6

X hangs for 3 seconds when specific applications start

Hi,

I have this weird problem: I have an i7-4770T, using the integrated graphics with i915/intel drivers and KMS (obviously). Things are working fine, but whenever I start gthumb, xrandr or some other progam which (presumably) queries some X properties, the X server hangs for 3 seconds. This does NOT happen with firefox, leafpad or google-chrome, to name some. I think, for example, gthumb queries the screen size because it has a "Resize to screen" function. It is really quite annoying.

Steps I've taken, none of which have solved the problem:
- append "video=DP2:2560x1440" (with various additions of refresh rate, bpp etc.) to the kernel command line
- disabled all additional outputs with "Section Monitor / ... Option Ignore True" in a xorg.conf.d file
- specified the Modeline directly
- disabled DDC/EDID (didn't seem to work, though)
- disabled Hotplug in xorg.conf
- tried different AccelMethod(s) in xorg.conf

My setup is the intel IGP, with a active DP-to-DL-DVI converter (manufactured by Dr. Bott) connected to a Yamakasi Catleap Q270 2560x1440 screen.

This is lspci of the IGP:

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
	DeviceName:  Onboard IGD
	Subsystem: ZOTAC International (MCO) Ltd. Device b220
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 26
	Region 0: Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
	Region 2: Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Region 4: I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

and here are some dmesg from boot:

[    0.540388] [drm] Memory usable by graphics device = 2048M
[    0.540396] checking generic (e0000000 300000) vs hw (e0000000 10000000)
[    0.540399] fb: switching to inteldrmfb from EFI VGA
[    0.540427] Console: switching to colour dummy device 80x25
[    0.540540] [drm] Replacing VGA console driver
[    0.559958] i915 0000:00:02.0: irq 26 for MSI/MSI-X
[    0.559966] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.559967] [drm] Driver supports precise vblank timestamp query.
[    0.559983] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    1.231606] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 128
[    1.231611] Raw EDID:
[    1.231613]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.231616]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.231618]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.231620]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.231622]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.231625]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.231627]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.231629]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.494270] tsc: Refined TSC clocksource calibration: 2494.224 MHz
[    1.530075] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 128
[    1.530077] Raw EDID:
[    1.530079]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.530081]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.530084]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.530086]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.530088]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.530090]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.530092]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.530095]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.828758] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 128
[    1.828761] Raw EDID:
[    1.828762]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.828765]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.828767]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.828770]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.828772]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.828774]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.828777]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    1.828779]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    2.127210] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 128
[    2.127213] Raw EDID:
[    2.127215]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    2.127217]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    2.127219]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    2.127222]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    2.127224]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    2.127226]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    2.127229]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    2.127231]  	ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
[    2.127234] i915 0000:00:02.0: DP-2: Ignoring invalid EDID block 1.
[    2.495440] Switched to clocksource tsc
[    3.598517] fbcon: inteldrmfb (fb0) is primary device
[    3.640206] Console: switching to colour frame buffer device 320x90
[    3.650427] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    3.650428] i915 0000:00:02.0: registered panic notifier
[    3.700947] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    3.701281] acpi device:62: registered as cooling_device0
[    3.701355] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input2
[    3.701378] [drm] Initialized i915 1.6.0 20140725 for 0000:00:02.0 on minor 0

And some sections from Xorg.0.log (loglevel 127):

[    23.064] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    23.064] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    23.064] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[    23.064] (++) using VT number 1

[    23.064] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20140725
[    23.065] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4600
[    23.065] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
[    23.065] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    23.065] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    23.065] (==) intel(0): RGB weight 888
[    23.065] (==) intel(0): Default visual is TrueColor
[    23.065] (**) intel(0): Option "AccelMethod" "sna"
[    23.065] (**) intel(0): Option "HotPlug" "false"
[    23.065] (**) intel(0): Option "ReprobeOutputs" "false"
[    23.065] (**) intel(0): Option "TearFree" "true"
[    23.066] (II) intel(0): Output DP2 using monitor section DP2
[    23.066] (**) intel(0): Option "PreferredMode" "2560x1440"
[    23.066] (**) intel(0): Option "MaxClock" "550MHz"
[    23.066] (II) intel(0): Enabled output DP2
[    23.066] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    23.066] (II) intel(0): Output VIRTUAL1 has no monitor section
[    23.066] (II) intel(0): Enabled output VIRTUAL1
[    23.066] (--) intel(0): Output DP2 using initial mode 2560x1440 on pipe 0
[    23.066] (**) intel(0): TearFree enabled
[    23.066] (==) intel(0): DPI set to (96, 96)
[    23.066] (II) Loading sub module "dri2"
[    23.066] (II) LoadModule: "dri2"
[    23.066] (II) Module "dri2" already built-in
[    23.066] (II) Loading sub module "present"
[    23.066] (II) LoadModule: "present"
[    23.066] (II) Module "present" already built-in
[    23.066] (==) Depth 24 pixmap format is 32 bpp
[    23.069] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
[    23.069] (==) intel(0): Backing store enabled
[    23.069] (==) intel(0): Silken mouse enabled
[    23.069] (II) intel(0): HW Cursor enabled
[    23.069] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    23.070] (==) intel(0): DPMS enabled
[    23.070] (**) intel(0): display hotplug detection disabled
[    23.070] (II) intel(0): [DRI2] Setup complete
[    23.070] (II) intel(0): [DRI2]   DRI driver: i965
[    23.070] (II) intel(0): [DRI2]   VDPAU driver: i965
[    23.070] (II) intel(0): direct rendering: DRI2 enabled
[    23.070] (II) intel(0): hardware support for Present enabled
[    23.070] (WW) intel(0): Option "DDC" is not used
[    23.070] (WW) intel(0): Option "IgnoreEDID" is not used
...
[    30.869] (II) intel(0): EDID vendor "HYO", prod id 1179
[    30.869] (II) intel(0): Printing DDC gathered Modelines:
[    30.869] (II) intel(0): Modeline "2560x1440"x0.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync (88.8 kHz eP)

No additional info is logged in either Xorg.0.log or .xsession-errors when I run xrandr and the hang occurs.

Thanks for any hints.

Stefan

Offline

Board footer

Powered by FluxBB