Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-25 Thread Daniel Vetter
On Mon, Jan 25, 2016 at 10:42 PM, Mario Kleiner wrote: >> >>> Now the patch i want to try next to fix the drm_vblank_pre/post_modeset >>> regression in Linux 4.4/4.5 is to add a ... >>> >>> if ((diff > 1) && vblank->inmodeset) diff = 1; >>> >>> ... to the bottom of drm_update_vblank_count(). That

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-25 Thread Mario Kleiner
On 01/25/2016 09:32 PM, Daniel Vetter wrote: On Mon, Jan 25, 2016 at 08:30:14PM +0100, Mario Kleiner wrote: On 01/25/2016 07:51 PM, Daniel Vetter wrote: On Mon, Jan 25, 2016 at 05:38:30PM +0100, Mario Kleiner wrote: Readding Daniel, which somehow got dropped from the cc. On 01/25/2016 03:

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-25 Thread Daniel Vetter
On Mon, Jan 25, 2016 at 08:30:14PM +0100, Mario Kleiner wrote: > > > On 01/25/2016 07:51 PM, Daniel Vetter wrote: > >On Mon, Jan 25, 2016 at 05:38:30PM +0100, Mario Kleiner wrote: > >>Readding Daniel, which somehow got dropped from the cc. > >> > >>On 01/25/2016 03:53 PM, Ville Syrjälä wrote: > >

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-25 Thread Mario Kleiner
On 01/25/2016 07:51 PM, Daniel Vetter wrote: On Mon, Jan 25, 2016 at 05:38:30PM +0100, Mario Kleiner wrote: Readding Daniel, which somehow got dropped from the cc. On 01/25/2016 03:53 PM, Ville Syrjälä wrote: On Mon, Jan 25, 2016 at 02:44:53PM +0100, Mario Kleiner wrote: On 01/25/2016 02:

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-25 Thread Daniel Vetter
On Mon, Jan 25, 2016 at 05:38:30PM +0100, Mario Kleiner wrote: > Readding Daniel, which somehow got dropped from the cc. > > On 01/25/2016 03:53 PM, Ville Syrjälä wrote: > >On Mon, Jan 25, 2016 at 02:44:53PM +0100, Mario Kleiner wrote: > >> > >> > >>On 01/25/2016 02:23 PM, Ville Syrjälä wrote: > >

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-25 Thread Mario Kleiner
Readding Daniel, which somehow got dropped from the cc. On 01/25/2016 03:53 PM, Ville Syrjälä wrote: On Mon, Jan 25, 2016 at 02:44:53PM +0100, Mario Kleiner wrote: On 01/25/2016 02:23 PM, Ville Syrjälä wrote: On Mon, Jan 25, 2016 at 02:16:45PM +0100, Mario Kleiner wrote: On 01/25/2016 05:

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-25 Thread Ville Syrjälä
On Mon, Jan 25, 2016 at 02:44:53PM +0100, Mario Kleiner wrote: > > > On 01/25/2016 02:23 PM, Ville Syrjälä wrote: > > On Mon, Jan 25, 2016 at 02:16:45PM +0100, Mario Kleiner wrote: > >> > >> > >> On 01/25/2016 05:15 AM, Michel Dänzer wrote: > >>> On 23.01.2016 00:18, Ville Syrjälä wrote: > O

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-25 Thread Mario Kleiner
On 01/25/2016 02:23 PM, Ville Syrjälä wrote: On Mon, Jan 25, 2016 at 02:16:45PM +0100, Mario Kleiner wrote: On 01/25/2016 05:15 AM, Michel Dänzer wrote: On 23.01.2016 00:18, Ville Syrjälä wrote: On Fri, Jan 22, 2016 at 12:06:00PM +0900, Michel Dänzer wrote: [ Trimming KDE folks from Cc ]

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-25 Thread Ville Syrjälä
On Mon, Jan 25, 2016 at 02:16:45PM +0100, Mario Kleiner wrote: > > > On 01/25/2016 05:15 AM, Michel Dänzer wrote: > > On 23.01.2016 00:18, Ville Syrjälä wrote: > >> On Fri, Jan 22, 2016 at 12:06:00PM +0900, Michel Dänzer wrote: > >>> > >>> [ Trimming KDE folks from Cc ] > >>> > >>> On 21.01.2016

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-25 Thread Mario Kleiner
On 01/25/2016 05:15 AM, Michel Dänzer wrote: On 23.01.2016 00:18, Ville Syrjälä wrote: On Fri, Jan 22, 2016 at 12:06:00PM +0900, Michel Dänzer wrote: [ Trimming KDE folks from Cc ] On 21.01.2016 19:09, Daniel Vetter wrote: On Thu, Jan 21, 2016 at 05:36:46PM +0900, Michel Dänzer wrote: On

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-24 Thread Michel Dänzer
On 23.01.2016 00:18, Ville Syrjälä wrote: > On Fri, Jan 22, 2016 at 12:06:00PM +0900, Michel Dänzer wrote: >> >> [ Trimming KDE folks from Cc ] >> >> On 21.01.2016 19:09, Daniel Vetter wrote: >>> On Thu, Jan 21, 2016 at 05:36:46PM +0900, Michel Dänzer wrote: On 21.01.2016 16:58, Daniel Vetter

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-23 Thread Mario Kleiner
On 01/22/2016 07:29 PM, Mario Kleiner wrote: On 01/22/2016 04:18 PM, Ville Syrjälä wrote: On Fri, Jan 22, 2016 at 12:06:00PM +0900, Michel Dänzer wrote: [ Trimming KDE folks from Cc ] On 21.01.2016 19:09, Daniel Vetter wrote: On Thu, Jan 21, 2016 at 05:36:46PM +0900, Michel Dänzer wrote:

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-22 Thread Mario Kleiner
On 01/22/2016 04:18 PM, Ville Syrjälä wrote: On Fri, Jan 22, 2016 at 12:06:00PM +0900, Michel Dänzer wrote: [ Trimming KDE folks from Cc ] On 21.01.2016 19:09, Daniel Vetter wrote: On Thu, Jan 21, 2016 at 05:36:46PM +0900, Michel Dänzer wrote: On 21.01.2016 16:58, Daniel Vetter wrote: Ca

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-22 Thread Ville Syrjälä
On Fri, Jan 22, 2016 at 12:06:00PM +0900, Michel Dänzer wrote: > > [ Trimming KDE folks from Cc ] > > On 21.01.2016 19:09, Daniel Vetter wrote: > > On Thu, Jan 21, 2016 at 05:36:46PM +0900, Michel Dänzer wrote: > >> On 21.01.2016 16:58, Daniel Vetter wrote: > >>> > >>> Can you please point me at

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-21 Thread Michel Dänzer
[ Trimming KDE folks from Cc ] On 21.01.2016 19:09, Daniel Vetter wrote: > On Thu, Jan 21, 2016 at 05:36:46PM +0900, Michel Dänzer wrote: >> On 21.01.2016 16:58, Daniel Vetter wrote: >>> >>> Can you please point me at the vblank on/off jump bug please? >> >> AFAIR I originally reported it in res

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-21 Thread Daniel Vetter
On Thu, Jan 21, 2016 at 05:36:46PM +0900, Michel Dänzer wrote: > On 21.01.2016 16:58, Daniel Vetter wrote: > > On Thu, Jan 21, 2016 at 03:41:27PM +0900, Michel Dänzer wrote: > >> On 21.01.2016 15:38, Michel Dänzer wrote: > >>> On 21.01.2016 14:31, Mario Kleiner wrote: > On 01/21/2016 04:43 AM,

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-21 Thread Vlastimil Babka
On 01/21/2016 09:28 AM, Mario Kleiner wrote: ... just like drm_vblank_pre/post_modeset. That those were broken is a regression which needs to be fixed anyway. I don't think switching to drm_vblank_on/off is suitable for stable trees. Looking at Vlastimil's original post again, I'd say the most l

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-21 Thread Michel Dänzer
On 21.01.2016 16:58, Daniel Vetter wrote: > On Thu, Jan 21, 2016 at 03:41:27PM +0900, Michel Dänzer wrote: >> On 21.01.2016 15:38, Michel Dänzer wrote: >>> On 21.01.2016 14:31, Mario Kleiner wrote: On 01/21/2016 04:43 AM, Michel Dänzer wrote: > On 21.01.2016 05:32, Mario Kleiner wrote: >>>

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-21 Thread Mario Kleiner
On 01/21/2016 07:38 AM, Michel Dänzer wrote: On 21.01.2016 14:31, Mario Kleiner wrote: On 01/21/2016 04:43 AM, Michel Dänzer wrote: On 21.01.2016 05:32, Mario Kleiner wrote: So the problem is that AMDs hardware frame counters reset to zero during a modeset. The old DRM code dealt with drivers

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-20 Thread Daniel Vetter
On Thu, Jan 21, 2016 at 03:41:27PM +0900, Michel Dänzer wrote: > On 21.01.2016 15:38, Michel Dänzer wrote: > > On 21.01.2016 14:31, Mario Kleiner wrote: > >> On 01/21/2016 04:43 AM, Michel Dänzer wrote: > >>> On 21.01.2016 05:32, Mario Kleiner wrote: > > So the problem is that AMDs hardwa

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-20 Thread Michel Dänzer
On 21.01.2016 15:38, Michel Dänzer wrote: > On 21.01.2016 14:31, Mario Kleiner wrote: >> On 01/21/2016 04:43 AM, Michel Dänzer wrote: >>> On 21.01.2016 05:32, Mario Kleiner wrote: So the problem is that AMDs hardware frame counters reset to zero during a modeset. The old DRM code dea

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-20 Thread Michel Dänzer
On 21.01.2016 14:31, Mario Kleiner wrote: > On 01/21/2016 04:43 AM, Michel Dänzer wrote: >> On 21.01.2016 05:32, Mario Kleiner wrote: >>> >>> So the problem is that AMDs hardware frame counters reset to >>> zero during a modeset. The old DRM code dealt with drivers doing that by >>> keeping vblank

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-20 Thread Mario Kleiner
On 01/21/2016 04:43 AM, Michel Dänzer wrote: On 21.01.2016 05:32, Mario Kleiner wrote: So the problem is that AMDs hardware frame counters reset to zero during a modeset. The old DRM code dealt with drivers doing that by keeping vblank irqs enabled during modesets and incrementing vblank count

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-20 Thread Michel Dänzer
On 21.01.2016 05:32, Mario Kleiner wrote: > > So the problem is that AMDs hardware frame counters reset to > zero during a modeset. The old DRM code dealt with drivers doing that by > keeping vblank irqs enabled during modesets and incrementing vblank > count by one during each vblank irq, i think

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-20 Thread Mario Kleiner
On 01/18/2016 11:49 AM, Vlastimil Babka wrote: On 01/16/2016 05:24 AM, Mario Kleiner wrote: On 01/15/2016 01:26 PM, Ville Syrjälä wrote: On Fri, Jan 15, 2016 at 11:34:08AM +0100, Vlastimil Babka wrote: I'm currently running... while xinit /usr/bin/ksplashqml --test -- :1 ; do echo yay; don

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-20 Thread Vlastimil Babka
On 01/18/2016 11:49 AM, Vlastimil Babka wrote: > On 01/16/2016 05:24 AM, Mario Kleiner wrote: >> >> >> On 01/15/2016 01:26 PM, Ville Syrjälä wrote: >>> On Fri, Jan 15, 2016 at 11:34:08AM +0100, Vlastimil Babka wrote: >> >> I'm currently running... >> >> while xinit /usr/bin/ksplashqml --test -- :1