[Intel-gfx] Current drm-intel-next status on broadwell platform

2016-08-15 Thread Lukas Hejtmanek
Hello, I tested drm-intel-next published Aug 9th 2016. I'm facing two major bugs: 1) hard lockups with fbc enabled (neverending story it seems to be) 2) screen tearing in browsers and video players (I do not use any kind of compositor) Should I fire a bug report? both of these two were OK in dr

Re: [Intel-gfx] vsync + vaapi question

2016-01-13 Thread Lukas Hejtmanek
Hi, On Thu, Dec 24, 2015 at 08:42:01PM +0100, Lukas Hejtmanek wrote: > > Hard? The fault isn't in libva this time at least. > > applied patch results in hard lockup when playing a movie (short sound loop > and even sysrq keys are not working). I thought that driver would r

Re: [Intel-gfx] vsync + vaapi question

2015-12-26 Thread Lukas Hejtmanek
On Thu, Dec 24, 2015 at 06:54:44PM -0500, Robert Hooker wrote: > The 3.19 distro kernel in ubuntu is using 4.2-ish drm backported on broadwell, > try http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19.8-ckt12-vivid/ > instead which is stock upstream. tried, lockup as well.. -- Lukáš Hejtmánek _

Re: [Intel-gfx] vsync + vaapi question

2015-12-24 Thread Lukas Hejtmanek
On Thu, Dec 24, 2015 at 10:22:24PM +, Chris Wilson wrote: > > tried 3.19.0-42 from ubuntu. lockup as well it just took more time.. > > Hmm. What hardware? Baytrail? Lenovo X1 Carbon 2015. Intel(R) HD Graphics 5500 (according to log) pci id 8086:1616 (rev 09) -- Lukáš Hejtmánek

Re: [Intel-gfx] vsync + vaapi question

2015-12-24 Thread Lukas Hejtmanek
On Thu, Dec 24, 2015 at 08:05:33PM +, Chris Wilson wrote: > On Thu, Dec 24, 2015 at 08:59:49PM +0100, Lukas Hejtmanek wrote: > > On Thu, Dec 24, 2015 at 07:55:42PM +, Chris Wilson wrote: > > > That's a kernel panic or total machine lockup. Do you have a few > >

Re: [Intel-gfx] vsync + vaapi question

2015-12-24 Thread Lukas Hejtmanek
On Thu, Dec 24, 2015 at 07:55:42PM +, Chris Wilson wrote: > That's a kernel panic or total machine lockup. Do you have a few > different kernels you can try? Hopefully it's a recent regression. the same for ubuntu's kernel 4.2.0 and 4.3.0. -- Lukáš Hejtmánek

Re: [Intel-gfx] vsync + vaapi question

2015-12-24 Thread Lukas Hejtmanek
On Thu, Dec 24, 2015 at 07:37:18PM +, Chris Wilson wrote: > > huh, maybe it is not good idea. Had to revert it because of number of hard > > lockups :( > > > > or are there any patches I can try to fix those lockups? > > Hard? The fault isn't in libva this time at least. applied patch resul

Re: [Intel-gfx] vsync + vaapi question

2015-12-24 Thread Lukas Hejtmanek
On Thu, Dec 24, 2015 at 03:50:17PM +, Chris Wilson wrote: > On Thu, Dec 24, 2015 at 10:44:46AM +0100, Lukas Hejtmanek wrote: > > On Wed, Dec 23, 2015 at 01:38:26PM +, Chris Wilson wrote: > > > Try (libva): > > > > seems to be much better. I got one lockup

Re: [Intel-gfx] vsync + vaapi question

2015-12-24 Thread Lukas Hejtmanek
On Wed, Dec 23, 2015 at 01:38:26PM +, Chris Wilson wrote: > Try (libva): seems to be much better. I got one lockup though but it may be unrelated. Thanks, hope you push it into mainstream. > diff --git a/va/x11/dri2_util.c b/va/x11/dri2_util.c > index d076fb3..9ff5e95 100644 > --- a/va/x11/d

Re: [Intel-gfx] vsync + vaapi question

2015-12-23 Thread Lukas Hejtmanek
On Wed, Dec 23, 2015 at 12:01:44PM +, Chris Wilson wrote: > The clipped extents of the va-api Window is used to determine which CRTC > to use as the vblank source. Hmm, the Primary Output is used as the > preference (i.e. if any part of that Window is on the Primary, it is > used as the CRTC -

Re: [Intel-gfx] vsync + vaapi question

2015-12-22 Thread Lukas Hejtmanek
On Tue, Dec 22, 2015 at 08:54:08PM +, Chris Wilson wrote: > Not really. The Primary output will be used as the vsync so long as a > single pixel of the Window is upon it. Fundamentally, we need to use the > output that the Window is on in order to driver the vblank update. Which window? Any wi

[Intel-gfx] vsync + vaapi question

2015-12-18 Thread Lukas Hejtmanek
Hello, is it possible to switch vsync from internal LCD (laptop) to external monitor when playing movie via VA-API? I can drop vsync with internal LCD and keep vsync only with external monitor. I tried to use --primary for excernal monitor when enabling output but no luck. Is there any way to sy

[Intel-gfx] Render bug

2015-11-24 Thread Lukas Hejtmanek
Hello, is it known problem that running remote java application (over ssh + x11 forwarding) causes text corruption? Images attached. Using latest git X11 driver + 4.2.0 kernel. HW is broadwell Lenovo thinkpad X1 Carbon 3rd gen (2015). -- Lukáš Hejtmánek __

Re: [Intel-gfx] Intel Driver and 4K video output

2015-04-27 Thread Lukas Hejtmanek
On Mon, Apr 27, 2015 at 02:26:36PM +0100, Chris Wilson wrote: > Hmm, you probably could... > > Try > xrandr --newmode v4k 712.34 3840 4152 4576 5312 2160 2161 2164 2235 -HSync > +Vsync > xrandr --addmode VIRTUAL1 v4k > xrandr --output VIRTUAL1 --mode v4k well, this is a half way through ;) xf

Re: [Intel-gfx] Intel Driver and 4K video output

2015-04-27 Thread Lukas Hejtmanek
On Fri, Apr 24, 2015 at 02:15:09PM +0100, Chris Wilson wrote: > Check panning afterwards? What does xrandr --verbose say before/after? even with explicit: xrandr --output eDP1 --off --fb 3840x2160 --panning 3840x2160 no luck. looks like you need at least one outout that keeps fb/panning, disconn

Re: [Intel-gfx] Intel Driver and 4K video output

2015-04-24 Thread Lukas Hejtmanek
On Fri, Apr 24, 2015 at 01:24:56PM +0100, Chris Wilson wrote: > iirc xrandr automatically chooses a fb size for your based on the > remaining outputs. > > If you add --fb 3840x2160 to each of your invocations, it shouldn't > touch the screen size. Hopefully. > -Chris if you meant something like t

Re: [Intel-gfx] Intel Driver and 4K video output

2015-04-24 Thread Lukas Hejtmanek
Chris, On Thu, Apr 23, 2015 at 11:19:50AM +0100, Chris Wilson wrote: > Anything is possible... Considering that the two halves are different > sizes to the eDP, you can either scale the DP or scale the panel. You > can try something like well, if anything is possible, can I keep virtual size 4k w

Re: [Intel-gfx] Intel Driver and 4K video output

2015-04-23 Thread Lukas Hejtmanek
On Thu, Apr 23, 2015 at 11:19:50AM +0100, Chris Wilson wrote: > I probably have the scaling inverted. What should also work, but we may > have to beat the kernel up to fix a few bugs... > > xrandr --addmode eDP1 3840x2160 \ > --output eDP1 --primary --mode 3840x2160 --crtc 0 \ > --outp

Re: [Intel-gfx] Intel Driver and 4K video output

2015-04-23 Thread Lukas Hejtmanek
On Thu, Apr 23, 2015 at 10:22:31AM +0100, Chris Wilson wrote: > $ xrandr --output eDP1 --off --output DP1-8 --off --output DP1-9 --off ; \ > xrandr \ > --output eDP1 --primary --preferred --crtc 0 \ > --output DP1-8 --preferred --right-of eDP1 --crtc 1 \ > --output DP1-9 --prefe

Re: [Intel-gfx] Intel Driver and 4K video output

2015-04-23 Thread Lukas Hejtmanek
Chris, On Wed, Apr 22, 2015 at 03:27:51PM +0100, Chris Wilson wrote: > Try > $ xrandr \ > --output eDP1 --primary --preferred \ > --output DP1-8 --preferred --right-of eDP1 \ > --output DP1-9 --preferred --right-of DP1-8 anubis: ~ $ xrandr \ Continue> --output eDP1 --pri

[Intel-gfx] Intel Driver and 4K video output

2015-04-22 Thread Lukas Hejtmanek
Hello, not sure whether this list is send-patch-only or for support as well. However, I have Lenovo X1 Carbon 3rd gen, with 2560x1440 local panel and 4k (3840x2160) external display connected via display port (directly on X1). It has Intel HD 5500 graphics. using xrandr, I can see: xrandr Scre

Re: [Intel-gfx] Hangcheck does not work on SNB?

2012-04-02 Thread Lukas Hejtmanek
On Mon, Apr 02, 2012 at 08:32:50AM +0100, Chris Wilson wrote: > Even after you stop the video? All it sounds like so far is that it is no > longer rendering video frames. Also check your Xorg.log and video player > for diagnostics. Xorg.log contains (however this may be consequence of SAK (sysrq-k

[Intel-gfx] Hangcheck does not work on SNB?

2012-04-01 Thread Lukas Hejtmanek
Hello, should the hangcheck mechanism work on Sandy Bridge when XVideo causes GPU to hang? I can repeatedly hang GPU playing video for at least 1 hour continuously. Mouse cursor moves but nothing else. However, I got no message from kernel that GPU hung. The notebook is alive except graphics. -

Re: [Intel-gfx] [PATCH 2/2] drm/i915: re-enable rc6 by default

2011-11-14 Thread Lukas Hejtmanek
On Mon, Nov 14, 2011 at 09:17:39PM -0200, Eugeni Dodonov wrote: > Are the issues SNA-specific, or they happen with UXA as well? > > I do use both SNA and UXA actually (thanks to > http://cgit.freedesktop.org/~eugeni/xf86-video-intel/ :)). I believe they happen with both but with SNA I got regular

Re: [Intel-gfx] [PATCH 2/2] drm/i915: re-enable rc6 by default

2011-11-14 Thread Lukas Hejtmanek
On Mon, Nov 14, 2011 at 09:04:37PM -0200, Eugeni Dodonov wrote: > The rc6 issue which are gone are the ones which was causing hard system > hangs and gpu hangs. > > Corruptions are still out there, if they don't go away when using > intel_iommu=off then we'll have to investigate them more in-depth

Re: [Intel-gfx] [PATCH 2/2] drm/i915: re-enable rc6 by default

2011-11-14 Thread Lukas Hejtmanek
Hi, On Mon, Nov 14, 2011 at 06:39:15PM -0200, Eugeni Dodonov wrote: > Most of the rc6-related hangs and major issues were addressed for the past > months. which commits should I try to check whether rc6 issue is gone? As of 3.1 kernel, I'm still getting huge screen corruption. -- Lukáš Hejtmáne

Re: [Intel-gfx] Possible wrong flushes on SNB

2011-10-12 Thread Lukas Hejtmanek
Chris, On Tue, Oct 11, 2011 at 09:01:20PM +0100, Chris Wilson wrote: > If you are using SNA, the likely cause of the flash is the flush, read, > modify, write of a fallback. That is we flush pending operations in the > batchbuffer (likely a fill to the scanout), read back from the scanout > the ju

[Intel-gfx] Possible wrong flushes on SNB

2011-10-11 Thread Lukas Hejtmanek
Hi, I have SNB chip, with git driver 5913c90967091124e7c7b262782f0e99cf400eab, 3.1-rc9 kernel. I noticed that refresh of notification area or e.g., xosview refresh is linked with flashing. Looks like background exposing is synced with vertical refresh so it is visible and disturbing. This behav

Re: [Intel-gfx] gen6 (SNB) garbled window content when scrolling with SNA enabled

2011-08-26 Thread Lukas Hejtmanek
Chris, On Thu, Aug 04, 2011 at 09:12:13PM +0200, Lukas Hejtmanek wrote: > > Oh, I forgot to answer this one. XV is just fine with 2.6.39 and the same > > git > > head driver as tried with 3.0.0. > > well, it is not :( > > this is screenshot of XV corrupt

Re: [Intel-gfx] gen6 (SNB) garbled window content when scrolling with SNA enabled

2011-08-04 Thread Lukas Hejtmanek
On Wed, Aug 03, 2011 at 04:43:33PM +0200, Lukas Hejtmanek wrote: > On Wed, Aug 03, 2011 at 08:44:30AM +0100, Chris Wilson wrote: > > > I gave a try to 3.0 kernel but problems were even worse. Playing video > > > using > > > XV gave me random framents

Re: [Intel-gfx] gen6 (SNB) garbled window content when scrolling with SNA enabled

2011-08-03 Thread Lukas Hejtmanek
On Wed, Aug 03, 2011 at 08:44:30AM +0100, Chris Wilson wrote: > > I got screen corruption accross all the apps (xfce-terminal, im psi, xfce4 > > panel, firefox). Not all are text related, e.g., xfce4 panel gets corrupted > > in > > pager (workspace switcher where no text is). > > I know xfce4 has

Re: [Intel-gfx] gen6 (SNB) garbled window content when scrolling with SNA enabled

2011-08-03 Thread Lukas Hejtmanek
On Wed, Aug 03, 2011 at 08:44:30AM +0100, Chris Wilson wrote: > > I gave a try to 3.0 kernel but problems were even worse. Playing video using > > XV gave me random framents of video accross whole desktop :( > > This is to starting to sound quite serious. Is this just an excerbation > of 2.6.39 be

Re: [Intel-gfx] gen6 (SNB) garbled window content when scrolling with SNA enabled

2011-08-02 Thread Lukas Hejtmanek
On Sat, Jul 09, 2011 at 12:59:50PM +0100, Chris Wilson wrote: > On Sat, 9 Jul 2011 13:19:57 +0200 (CEST), "Nicolas Kalkhof" > wrote: > > Hi Chris, > > > > Applications: > > Oxygen XML Editor 12.2 using latest jdk 1.6.0 (get the trial here: > > http://www.oxygenxml.com/) > > Squirrel SQL Editor

[Intel-gfx] Backlight bug

2010-12-01 Thread Lukas Hejtmanek
Hello, as of 2.6.37-rc kernels, backlight is dimmed to level 2 as soon as I close LID. After opening, backlight level is not restored to my level (4). However, /sys/class/backlight/acpi_video0/brightness still reports level 4 even if real level is 2. I have Lenovo ThinkPad T61 with 965GM. -- L