You are not logged in.

#1 2014-07-16 07:33:45

TiZ
Member
Registered: 2009-02-27
Posts: 58

Intel Ivy Bridge: lower performance SNA, res change crash w/ UXA

Hi there. When I play games, I like to use a second X server to protect my first one in case anything goes foul. And it seems that it's a good thing I do so.

I prefer to use UXA acceleration, because it's faster than SNA for some reason. Playing Guacamelee, I experience lag spikes that I don't experience on UXA, and playing Towerfall, there is a consistent reduction in frame rate that goes away if I switch to my regular x server's vt, and then back to the game x server's vt. So I usually just use UXA. But sometimes I need to run games in a different resolution, like if a game becomes troublesome if it's run at a 16:9 resolution. With UXA, if I use xrandr to change the resolution, X dies, and it dies HARD:

(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x58f186]
(EE) 1: /usr/bin/X (0x400000+0x192fc9) [0x592fc9]
(EE) 2: /usr/lib/libpthread.so.0 (0x7f2184770000+0xf4b0) [0x7f218477f4b0]
(EE) 3: /usr/lib/xorg/modules/libfb.so (fbFill+0x49) [0x7f217db8ccd9]
(EE) 4: /usr/lib/xorg/modules/libfb.so (fbPolyFillRect+0x1a0) [0x7f217db8d7c0]
(EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f217dfbf000+0x146ff1) [0x7f217e105ff1]
(EE) 6: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f217dfbf000+0x140857) [0x7f217e0ff857]
(EE) 7: /usr/bin/X (0x400000+0x1178e5) [0x5178e5]
(EE) 8: /usr/bin/X (miPaintWindow+0x1f6) [0x5711b6]
(EE) 9: /usr/bin/X (miWindowExposures+0x197) [0x571a97]
(EE) 10: /usr/bin/X (0x400000+0x8f426) [0x48f426]
(EE) 11: /usr/bin/X (miHandleValidateExposures+0x68) [0x5876c8]
(EE) 12: /usr/bin/X (SetRootClip+0x2e5) [0x466e85]
(EE) 13: /usr/bin/X (0x400000+0xba5c2) [0x4ba5c2]
(EE) 14: /usr/bin/X (0x400000+0xb6e16) [0x4b6e16]
(EE) 15: /usr/bin/X (ProcRRSetScreenSize+0x1a4) [0x4fe794]
(EE) 16: /usr/bin/X (0x400000+0x36b2f) [0x436b2f]
(EE) 17: /usr/bin/X (0x400000+0x3ad16) [0x43ad16]
(EE) 18: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7f21833db000]
(EE) 19: /usr/bin/X (0x400000+0x250fe) [0x4250fe]
(EE) 
(EE) Segmentation fault at address 0x3d8
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.5.log" for additional information.
(EE) 
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.

I'd like to fix one or both of these issues somehow. It may be unviable to fix a segfault, but maybe there's something I can do about SNA's strange performance behavior? Thank you in advance.

Offline

#2 2014-07-17 16:03:43

ShroudedNight
Member
Registered: 2014-07-17
Posts: 2

Re: Intel Ivy Bridge: lower performance SNA, res change crash w/ UXA

I appear to be getting the same when attempting to rotate my external display:

Jul 17 15:23:23 statik gdm-Xorg-:0[391]: (II) intel(0): resizing framebuffer to 3840x1080
Jul 17 15:23:23 statik gdm-Xorg-:0[391]: (II) intel(0): switch to mode 1920x1080@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: need to create shared pixmap 1(EE)
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) Backtrace:
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x56) [0x58f186]
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) 1: /usr/bin/Xorg (0x400000+0x192fc9) [0x592fc9]
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) 2: /usr/lib/libpthread.so.0 (0x7fefe0046000+0xf4b0) [0x7fefe00554b0]
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) 3: /usr/bin/Xorg (DamageRegister+0x11) [0x514f71]
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) 4: /usr/bin/Xorg (0x400000+0xb8c61) [0x4b8c61]
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) 5: /usr/bin/Xorg (BlockHandler+0x8a) [0x43b6ea]
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) 6: /usr/bin/Xorg (WaitForSomething+0x13c) [0x58c52c]
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) 7: /usr/bin/Xorg (0x400000+0x36951) [0x436951]
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) 8: /usr/bin/Xorg (0x400000+0x3ad16) [0x43ad16]
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) 9: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7fefdecb1000]
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) 10: /usr/bin/Xorg (0x400000+0x250fe) [0x4250fe]
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE)
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) Segmentation fault at address 0x10
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE)
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: Fatal server error:
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) Caught signal 11 (Segmentation fault). Server aborting
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE)
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE)
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: Please consult the The X.Org Foundation support
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: at http://wiki.x.org
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: for help.
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE) Please also check the log file at "/dev/null" for additional information.
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (EE)
Jul 17 15:23:29 statik gdm-Xorg-:0[391]: (II) AIGLX: Suspending AIGLX clients for VT switch
Jul 17 15:23:30 statik gdm-Xorg-:0[391]: (EE) Server terminated with error (1). Closing log file.

This is on a Lenovo W530 using Intel + nouveau and a 'Reverse PRIME' software mux for the external display

Edit: Grammar

Last edited by ShroudedNight (2014-07-17 16:04:46)

Offline

#3 2014-07-21 19:20:12

lkraav
Member
Registered: 2011-04-08
Posts: 39

Re: Intel Ivy Bridge: lower performance SNA, res change crash w/ UXA

Confirmed, I'm getting the same on Gentoo using UXA and GLAMOR backend. xorg-server-1.16.0 and 1.15.0..1, xf86-video-intel-2.99.912

Mostly latest versions of everything graphics stack related.

Offline

#4 2014-07-29 17:12:57

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: Intel Ivy Bridge: lower performance SNA, res change crash w/ UXA

This does not occur whatsoever on Xubuntu 14.04 with the same hardware. With stock xorg, xorg-edgers, oibaf, and the unholy combination of xorg-edgers + oibaf, it doesn't matter. It does not happen at all. UXA is still faster than SNA by a lot for some reason (I have to use reduced shader quality in Rogue Legacy on SNA, but it goes full blast on UXA), but resolution changes don't crash the X server.

Between that and the thing where sometimes the computer hangs when I try to shut down, I'll probably just stick with Xubuntu as my daily driver, but keep Arch around on a secondary partition. Arch is just not stable enough.

Last edited by TiZ (2014-07-29 17:14:06)

Offline

#5 2014-07-29 17:14:43

lkraav
Member
Registered: 2011-04-08
Posts: 39

Re: Intel Ivy Bridge: lower performance SNA, res change crash w/ UXA

Chris Wilson xf86-video-intel developer pointed out my crash was already fixed in git. I'm now running .914 snapshot with at least that one fixed.

https://bugs.freedesktop.org/show_bug.cgi?id=81618

Offline

Board footer

Powered by FluxBB