Re: [Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-07 Thread Brian J. Murrell
On Fri, 2015-03-06 at 12:23 +, Chris Wilson wrote:
 On Thu, Mar 05, 2015 at 12:05:38PM -0500, Brian J. Murrell wrote:
  
  http://brian.interlinx.bc.ca/intel.debug.gz
  
  as it is currently.  Or is it more useful if it's collected right after
  the Chrome UI hang?
 
 It's only interesting after the hang :)

OK.  Find the above URL refreshed with both dmesg (drm.debug=6)
and /sys/class/drm/card0/error included.

Cheers,
b.




signature.asc
Description: This is a digitally signed message part
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-07 Thread Chris Wilson
On Sat, Mar 07, 2015 at 12:00:22PM -0500, Brian J. Murrell wrote:
 On Fri, 2015-03-06 at 12:23 +, Chris Wilson wrote:
  On Thu, Mar 05, 2015 at 12:05:38PM -0500, Brian J. Murrell wrote:
   
   http://brian.interlinx.bc.ca/intel.debug.gz
   
   as it is currently.  Or is it more useful if it's collected right after
   the Chrome UI hang?
  
  It's only interesting after the hang :)
 
 OK.  Find the above URL refreshed with both dmesg (drm.debug=6)
 and /sys/class/drm/card0/error included.

It's the Haswell GT1 context restore bug. It should be fixed in a stable
kernel near you (or 3.19 to be sure).
https://bugs.freedesktop.org/show_bug.cgi?id=83677
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-06 Thread Chris Wilson
On Thu, Mar 05, 2015 at 12:05:38PM -0500, Brian J. Murrell wrote:
 On Thu, 2015-03-05 at 14:06 +, Chris Wilson wrote:
  
  Probably unrelated. Look in dmesg
 
 dmesg is pretty muddy right now as I still have drm.debug=6 set.
 
  and /sys/class/drm/card0/error
 
 http://brian.interlinx.bc.ca/intel.debug.gz
 
 as it is currently.  Or is it more useful if it's collected right after
 the Chrome UI hang?

It's only interesting after the hang :)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-05 Thread Brian J. Murrell
On Thu, 2015-03-05 at 14:06 +, Chris Wilson wrote:
 
 Probably unrelated. Look in dmesg

dmesg is pretty muddy right now as I still have drm.debug=6 set.

 and /sys/class/drm/card0/error

http://brian.interlinx.bc.ca/intel.debug.gz

as it is currently.  Or is it more useful if it's collected right after
the Chrome UI hang?

Cheers,
b.



signature.asc
Description: This is a digitally signed message part
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-05 Thread Brian J. Murrell
On Tue, 2015-03-03 at 13:49 +, Chris Wilson wrote:
 
 It's an OR. The bug I am thinking about has a w/a in the ddx and a real
 fix in the kernel. Either one should do, and I think will resolve your
 issue.

Yeah, upgrading to that newer Intel driver did seem to do the trick.  I
wonder if it's making
https://code.google.com/p/chromium/issues/detail?id=463243 worse though
since that problem seems to have gotten worse with the new driver.

It didn't even really occur to me that that problem was related to my
GPU driver but I've since put the same version of Chrome on my laptop
with an nVidia Quadro and I have not see the same problem there (yet).

Cheers,
b.



signature.asc
Description: This is a digitally signed message part
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-05 Thread Chris Wilson
On Thu, Mar 05, 2015 at 09:04:54AM -0500, Brian J. Murrell wrote:
 On Tue, 2015-03-03 at 13:49 +, Chris Wilson wrote:
  
  It's an OR. The bug I am thinking about has a w/a in the ddx and a real
  fix in the kernel. Either one should do, and I think will resolve your
  issue.
 
 Yeah, upgrading to that newer Intel driver did seem to do the trick.  I
 wonder if it's making
 https://code.google.com/p/chromium/issues/detail?id=463243 worse though
 since that problem seems to have gotten worse with the new driver.

Probably unrelated. Look in dmesg and /sys/class/drm/card0/error for
information we need to begin diagnosing the problem.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-03 Thread Brian J. Murrell
On Mon, 2015-03-02 at 14:27 +, Chris Wilson wrote:
 
 Mixing ZaphodHeads and DRI,
 
Oh wait!  You said mixing not missing.  But yeah, I'm an old-timer
trying to maintain his 20+ year old preference for truly separate
screens -- like from way back when even Xinerama didn't even exist.  :-)

 you probably want to grab -intel-2.99.917 or
 linux-4.0.
 
Is that really an either/or?  If I were to just update
xorg-x11-drv-intel-2.99.916-3.20141117.fc21.x86_64 to 2.99.917 would
that solve the problem or do I also need the 4.0 kernel?

Cheers,
b.



signature.asc
Description: This is a digitally signed message part
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-03 Thread Chris Wilson
On Tue, Mar 03, 2015 at 08:23:04AM -0500, Brian J. Murrell wrote:
 On Mon, 2015-03-02 at 14:27 +, Chris Wilson wrote:
  
  Mixing ZaphodHeads and DRI,
  
 Oh wait!  You said mixing not missing.  But yeah, I'm an old-timer
 trying to maintain his 20+ year old preference for truly separate
 screens -- like from way back when even Xinerama didn't even exist.  :-)
 
  you probably want to grab -intel-2.99.917 or
  linux-4.0.
  
 Is that really an either/or?  If I were to just update
 xorg-x11-drv-intel-2.99.916-3.20141117.fc21.x86_64 to 2.99.917 would
 that solve the problem or do I also need the 4.0 kernel?

It's an OR. The bug I am thinking about has a w/a in the ddx and a real
fix in the kernel. Either one should do, and I think will resolve your
issue.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-02 Thread Brian J. Murrell
On Mon, 2015-03-02 at 13:37 +, Chris Wilson wrote:
 
 Definitely, currently we have no idea even what hardware you are
 using... Could you please attach Xorg.0.log

Please find it attached.

 or whatever incompleteness
 passes for that after journald?

Hrm.  Not sure what this means.  Hopefully the attachment suffices.  If
you want any more info, happy to provide it.

Thanks much!

b.


[ 42118.357] 
X.Org X Server 1.16.3
Release Date: 2014-12-20
[ 42118.357] X Protocol Version 11, Revision 0
[ 42118.357] Build Operating System:  3.17.8-300.bz1178975.fc21.x86_64 
[ 42118.357] Current Operating System: Linux pc.interlinx.bc.ca 3.18.7-200.fc21.x86_64 #1 SMP Wed Feb 11 21:53:17 UTC 2015 x86_64
[ 42118.357] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.18.7-200.fc21.x86_64 root=/dev/mapper/rootvol-fedora_root ro rd.md=0 rd.dm=0 rd.lvm.lv=rootvol/swap vconsole.keymap=us rd.lvm.lv=rootvol/fedora_root rd.lvm.lv=rootvol/fedora_usr rd.lvm.lv=rootvol/fedora_var rd.luks=0 vconsole.font=latarcyrheb-sun16 rhgb quiet console=tty0 console=ttyS0,115200 nord.nodriver.noblacklist=nonouveau nouveau.modeset=0 rd.driver.blacklist=nouveau gfxpayload=vga=normal LANG=en_US.UTF-8
[ 42118.357] Build Date: 31 January 2015  11:23:27PM
[ 42118.357] Build ID: xorg-x11-server 1.16.3-2.fc21 
[ 42118.357] Current version of pixman: 0.32.6
[ 42118.357] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 42118.357] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 42118.358] (==) Log file: /var/log/Xorg.0.log, Time: Sun Mar  1 14:07:50 2015
[ 42118.358] (==) Using config file: /etc/X11/xorg.conf
[ 42118.358] (==) Using config directory: /etc/X11/xorg.conf.d
[ 42118.358] (==) Using system config directory /usr/share/X11/xorg.conf.d
[ 42118.358] (==) ServerLayout Layout0
[ 42118.358] (**) |--Screen Screen0 (0)
[ 42118.358] (**) |   |--Monitor Monitor0
[ 42118.358] (**) |   |--Device Device0
[ 42118.358] (**) |--Screen Screen1 (1)
[ 42118.358] (**) |   |--Monitor Monitor1
[ 42118.358] (**) |   |--Device Device1
[ 42118.358] (==) Automatically adding devices
[ 42118.358] (==) Automatically enabling devices
[ 42118.358] (==) Automatically adding GPU devices
[ 42118.358] (==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
[ 42118.358] (**) ModulePath set to /usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules
[ 42118.358] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 42118.358] (II) Loader magic: 0x81de40
[ 42118.358] (II) Module ABI versions:
[ 42118.358] 	X.Org ANSI C Emulation: 0.4
[ 42118.358] 	X.Org Video Driver: 18.0
[ 42118.358] 	X.Org XInput driver : 21.0
[ 42118.358] 	X.Org Server Extension : 8.0
[ 42118.362] (EE) systemd-logind: failed to get session: PID 7573 does not belong to any known session
[ 42118.363] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 42118.363] (--) PCI:*(0:0:2:0) 8086:0402:1458:d000 rev 6, Mem @ 0xf780/4194304, 0xe000/268435456, I/O @ 0xf000/64, BIOS @ 0x/131072
[ 42118.363] (WW) glamoregl will not be loaded unless you've specified it to be loaded elsewhere.
[ 42118.363] (II) glx will be loaded by default.
[ 42118.363] (II) LoadModule: glx
[ 42118.364] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 42118.365] (II) Module glx: vendor=X.Org Foundation
[ 42118.365] 	compiled for 1.16.3, module version = 1.0.0
[ 42118.365] 	ABI class: X.Org Server Extension, version 8.0
[ 42118.365] (==) AIGLX enabled
[ 42118.365] (II) LoadModule: intel
[ 42118.365] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 42118.365] (II) Module intel: vendor=X.Org Foundation
[ 42118.365] 	compiled for 1.16.1, module version = 2.99.916
[ 42118.365] 	Module class: X.Org Video Driver
[ 42118.365] 	ABI class: X.Org Video Driver, version 18.0
[ 42118.365] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 42118.365] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 42118.365] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 42118.365] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 42118.365] (++) using VT number 1

[ 42118.366] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20140905
[ 42118.366] (II) intel(1): Using Kernel Mode Setting driver: i915, version 1.6.0 20140905
[ 42118.366] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[ 42118.366] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2
[ 42118.366] (II) intel(0): Creating default Display 

Re: [Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-02 Thread Chris Wilson
On Mon, Mar 02, 2015 at 09:07:10AM -0500, Brian J. Murrell wrote:
 On Mon, 2015-03-02 at 13:37 +, Chris Wilson wrote:
  
  Definitely, currently we have no idea even what hardware you are
  using... Could you please attach Xorg.0.log
 
 Please find it attached.
 
  or whatever incompleteness
  passes for that after journald?
 
 Hrm.  Not sure what this means.  Hopefully the attachment suffices.  If
 you want any more info, happy to provide it.

Mixing ZaphodHeads and DRI, you probably want to grab -intel-2.99.917 or
linux-4.0.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-02 Thread Brian J. Murrell
I have noticed something strange on my Fedora 21 with i915.  If I am
using something that utilizes vaapi, like VLC for instance, the screen
only refreshes on mouse movements.

This becomes abundantly clear when I watch the clock on my panel for
example, which displays seconds on it.  It will sit at the same time and
not tick the seconds if I leave the mouse perfectly still.  As soon as I
move the mouse the clock updates and will continue to update as long as
I keep the mouse moving.

I am sure you will want more information but I am not sure what to
gather.  I am using the 3.18.7-200.fc21.x86_64 kernel.  Just let me know
what other information you need and I will be happy to provide it.

Cheers,
b.



signature.asc
Description: This is a digitally signed message part
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-02 Thread Chris Wilson
On Mon, Mar 02, 2015 at 07:44:22AM -0500, Brian J. Murrell wrote:
 I have noticed something strange on my Fedora 21 with i915.  If I am
 using something that utilizes vaapi, like VLC for instance, the screen
 only refreshes on mouse movements.
 
 This becomes abundantly clear when I watch the clock on my panel for
 example, which displays seconds on it.  It will sit at the same time and
 not tick the seconds if I leave the mouse perfectly still.  As soon as I
 move the mouse the clock updates and will continue to update as long as
 I keep the mouse moving.
 
 I am sure you will want more information but I am not sure what to
 gather.  I am using the 3.18.7-200.fc21.x86_64 kernel.  Just let me know
 what other information you need and I will be happy to provide it.

Definitely, currently we have no idea even what hardware you are
using... Could you please attach Xorg.0.log or whatever incompleteness
passes for that after journald?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] i915 when using vaapi, screen only refreshes on mouse movement

2015-03-02 Thread Brian J. Murrell
On Mon, 2015-03-02 at 14:27 +, Chris Wilson wrote:
 On Mon, Mar 02, 2015 at 09:07:10AM -0500, Brian J. Murrell wrote:
  On Mon, 2015-03-02 at 13:37 +, Chris Wilson wrote:
   
   Definitely, currently we have no idea even what hardware you are
   using... Could you please attach Xorg.0.log
  
  Please find it attached.
  
   or whatever incompleteness
   passes for that after journald?
  
  Hrm.  Not sure what this means.  Hopefully the attachment suffices.  If
  you want any more info, happy to provide it.
 
 Mixing ZaphodHeads and DRI, you probably want to grab -intel-2.99.917 or
 linux-4.0.

Meaning those features are missing in the 2.99.916 driver that I am
using?  And those missing features would cause this screen refresh stall
that I am seeing?

Hopefully RedHat will push an update to Fedora 21 for either of those
real soon.

Cheers,
b.



signature.asc
Description: This is a digitally signed message part
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx