All of lore.kernel.org
 help / color / mirror / Atom feed
* Mouse cursor disappearing with SNA rendering
@ 2016-06-17  9:08 Daniel J Blueman
  2016-06-17  9:18 ` Chris Wilson
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel J Blueman @ 2016-06-17  9:08 UTC (permalink / raw)
  To: intel-gfx

Hi all!

When unlocking from lightdm, the mouse cursor isn't visible until
switching VTs. This doesn't occur when using UXA rendering mode
though, and affects a *lot* of people [1]. It occurs with a range of
kernels including 4.6.2.

I'm using xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
(current in Ubuntu 16.04 LTS).

How can I approach debugging it?

Thanks!
  Daniel

[1] https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1568604
-- 
Daniel J Blueman
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mouse cursor disappearing with SNA rendering
  2016-06-17  9:08 Mouse cursor disappearing with SNA rendering Daniel J Blueman
@ 2016-06-17  9:18 ` Chris Wilson
  2016-06-17 10:12   ` Daniel J Blueman
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Wilson @ 2016-06-17  9:18 UTC (permalink / raw)
  To: Daniel J Blueman; +Cc: intel-gfx

On Fri, Jun 17, 2016 at 05:08:55PM +0800, Daniel J Blueman wrote:
> Hi all!
> 
> When unlocking from lightdm, the mouse cursor isn't visible until
> switching VTs. This doesn't occur when using UXA rendering mode
> though, and affects a *lot* of people [1]. It occurs with a range of
> kernels including 4.6.2.
> 
> I'm using xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
> (current in Ubuntu 16.04 LTS).
> 
> How can I approach debugging it?

Start with a kernel from about 3.19. The trigger was introduced by
xorg-server-1.18.3 which double applied a SETCURSOR ioctl. That should
have been a noop...
-Chris

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mouse cursor disappearing with SNA rendering
  2016-06-17  9:18 ` Chris Wilson
@ 2016-06-17 10:12   ` Daniel J Blueman
  2016-06-17 10:23     ` Chris Wilson
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel J Blueman @ 2016-06-17 10:12 UTC (permalink / raw)
  To: Chris Wilson, Daniel J Blueman, intel-gfx

On 17 June 2016 at 17:18, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> On Fri, Jun 17, 2016 at 05:08:55PM +0800, Daniel J Blueman wrote:
>> Hi all!
>>
>> When unlocking from lightdm, the mouse cursor isn't visible until
>> switching VTs. This doesn't occur when using UXA rendering mode
>> though, and affects a *lot* of people [1]. It occurs with a range of
>> kernels including 4.6.2.
>>
>> I'm using xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
>> (current in Ubuntu 16.04 LTS).
>>
>> How can I approach debugging it?
>
> Start with a kernel from about 3.19. The trigger was introduced by
> xorg-server-1.18.3 which double applied a SETCURSOR ioctl. That should
> have been a noop...

Thanks for replying Chris!

I find the issue occurs in kernels 4.6.2, 4.4.13 and 4.3.6, but does
not in 4.2.8 or 4.1.26, however I also see that locking the screen
doesn't blank it, so there is behavioural difference also.

This may result in a kernel bisect tripping on a large merge; I can
take a look if you think the odds are ok?

Dan
-- 
Daniel J Blueman
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mouse cursor disappearing with SNA rendering
  2016-06-17 10:12   ` Daniel J Blueman
@ 2016-06-17 10:23     ` Chris Wilson
  2016-06-22 15:20       ` Daniel J Blueman
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Wilson @ 2016-06-17 10:23 UTC (permalink / raw)
  To: Daniel J Blueman; +Cc: intel-gfx

On Fri, Jun 17, 2016 at 06:12:16PM +0800, Daniel J Blueman wrote:
> On 17 June 2016 at 17:18, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> > On Fri, Jun 17, 2016 at 05:08:55PM +0800, Daniel J Blueman wrote:
> >> Hi all!
> >>
> >> When unlocking from lightdm, the mouse cursor isn't visible until
> >> switching VTs. This doesn't occur when using UXA rendering mode
> >> though, and affects a *lot* of people [1]. It occurs with a range of
> >> kernels including 4.6.2.
> >>
> >> I'm using xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
> >> (current in Ubuntu 16.04 LTS).
> >>
> >> How can I approach debugging it?
> >
> > Start with a kernel from about 3.19. The trigger was introduced by
> > xorg-server-1.18.3 which double applied a SETCURSOR ioctl. That should
> > have been a noop...
> 
> Thanks for replying Chris!
> 
> I find the issue occurs in kernels 4.6.2, 4.4.13 and 4.3.6, but does
> not in 4.2.8 or 4.1.26, however I also see that locking the screen
> doesn't blank it, so there is behavioural difference also.
> 
> This may result in a kernel bisect tripping on a large merge; I can
> take a look if you think the odds are ok?

I would look at -nightly first and hope that is has been fixed (and that
the fix is trivial).
-Chris

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mouse cursor disappearing with SNA rendering
  2016-06-17 10:23     ` Chris Wilson
@ 2016-06-22 15:20       ` Daniel J Blueman
  2016-07-21  7:33         ` Daniel J Blueman
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel J Blueman @ 2016-06-22 15:20 UTC (permalink / raw)
  To: intel-gfx, Chris Wilson


[-- Attachment #1.1: Type: text/plain, Size: 1499 bytes --]

On 17 Jun 2016 6:23 p.m., "Chris Wilson" <chris@chris-wilson.co.uk> wrote:
>
> On Fri, Jun 17, 2016 at 06:12:16PM +0800, Daniel J Blueman wrote:
> > On 17 June 2016 at 17:18, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> > > On Fri, Jun 17, 2016 at 05:08:55PM +0800, Daniel J Blueman wrote:
> > >> Hi all!
> > >>
> > >> When unlocking from lightdm, the mouse cursor isn't visible until
> > >> switching VTs. This doesn't occur when using UXA rendering mode
> > >> though, and affects a *lot* of people [1]. It occurs with a range of
> > >> kernels including 4.6.2.
> > >>
> > >> I'm using xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
> > >> (current in Ubuntu 16.04 LTS).
> > >>
> > >> How can I approach debugging it?
> > >
> > > Start with a kernel from about 3.19. The trigger was introduced by
> > > xorg-server-1.18.3 which double applied a SETCURSOR ioctl. That should
> > > have been a noop...
> >
> > Thanks for replying Chris!
> >
> > I find the issue occurs in kernels 4.6.2, 4.4.13 and 4.3.6, but does
> > not in 4.2.8 or 4.1.26, however I also see that locking the screen
> > doesn't blank it, so there is behavioural difference also.
> >
> > This may result in a kernel bisect tripping on a large merge; I can
> > take a look if you think the odds are ok?
>
> I would look at -nightly first and hope that is has been fixed (and that
> the fix is trivial).

No cigar with -nightly, so I'll follow up in a few days after I get through
the 4.2-4.3 kernel bisection.

Daniel

[-- Attachment #1.2: Type: text/html, Size: 2058 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Mouse cursor disappearing with SNA rendering
  2016-06-22 15:20       ` Daniel J Blueman
@ 2016-07-21  7:33         ` Daniel J Blueman
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel J Blueman @ 2016-07-21  7:33 UTC (permalink / raw)
  To: intel-gfx, Chris Wilson

On 22 June 2016 at 23:20, Daniel J Blueman <daniel@quora.org> wrote:
> On 17 Jun 2016 6:23 p.m., "Chris Wilson" <chris@chris-wilson.co.uk> wrote:
>>
>> On Fri, Jun 17, 2016 at 06:12:16PM +0800, Daniel J Blueman wrote:
>> > On 17 June 2016 at 17:18, Chris Wilson <chris@chris-wilson.co.uk> wrote:
>> > > On Fri, Jun 17, 2016 at 05:08:55PM +0800, Daniel J Blueman wrote:
>> > >> Hi all!
>> > >>
>> > >> When unlocking from lightdm, the mouse cursor isn't visible until
>> > >> switching VTs. This doesn't occur when using UXA rendering mode
>> > >> though, and affects a *lot* of people [1]. It occurs with a range of
>> > >> kernels including 4.6.2.
>> > >>
>> > >> I'm using xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
>> > >> (current in Ubuntu 16.04 LTS).
>> > >>
>> > >> How can I approach debugging it?
>> > >
>> > > Start with a kernel from about 3.19. The trigger was introduced by
>> > > xorg-server-1.18.3 which double applied a SETCURSOR ioctl. That should
>> > > have been a noop...
>> >
>> > Thanks for replying Chris!
>> >
>> > I find the issue occurs in kernels 4.6.2, 4.4.13 and 4.3.6, but does
>> > not in 4.2.8 or 4.1.26, however I also see that locking the screen
>> > doesn't blank it, so there is behavioural difference also.
>> >
>> > This may result in a kernel bisect tripping on a large merge; I can
>> > take a look if you think the odds are ok?
>>
>> I would look at -nightly first and hope that is has been fixed (and that
>> the fix is trivial).
>
> No cigar with -nightly, so I'll follow up in a few days after I get through
> the 4.2-4.3 kernel bisection.

Needed an old toolchain to successfully boot these kernels; no issues
on 3.16, but the cursor disappears after screen locking and unlocking
on 3.17 and later kernels.

Due to some bisect skipping due to DPMS-on failure, it alas bisects to
some large merges as expected:

7707e6535f43328e05e4729ac96eee864b90e8a4
ca5a1b9ba0fb5291b555a23b76dbe5f6c30bfd7a
c51f71679042a5f388d9580ffbede14c897f1e86

Thanks,
  Daniel
-- 
Daniel J Blueman
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-07-21  7:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-17  9:08 Mouse cursor disappearing with SNA rendering Daniel J Blueman
2016-06-17  9:18 ` Chris Wilson
2016-06-17 10:12   ` Daniel J Blueman
2016-06-17 10:23     ` Chris Wilson
2016-06-22 15:20       ` Daniel J Blueman
2016-07-21  7:33         ` Daniel J Blueman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.