Re: [Linux-fbdev-devel] cursor bug

From: Antonino A. Daplas (adaplas_at_hotpop.com)
Date: 11/09/04

  • Next message: Bernhard Rosenkraenzer: "BUG: atomic counter underflow when running "rmmod tg3" on 2.6.10-rc1-mm3"
    To: linux-fbdev-devel@lists.sourceforge.net, Gerd Knorr <kraxel@bytesex.org>
    Date:	Tue, 9 Nov 2004 10:37:50 +0800
    
    

    On Tuesday 09 November 2004 00:11, Gerd Knorr wrote:
    > Hi,
    >
    > There is annonying cursor bug in recent kernels (started in 2.6.10-rc1
    > IIRC). There kernel seems not to keep track of the cursor state
    > correctly when switching virtual terminals. Here is how to reproduce
    > it:
    >
    > (1) boot with vesafb (thats what I'm using, maybe it shows on other
    > framebuffers and/or vgacon as well).
    > (2) login into one terminal, then type "echo -ne '\033[?17;15;239c'".
    > You should have a nice, yellow and *not* blinking cursor block.
    > That is what I have in my .profile because I can't stand the
    > blinking cursors.
    > (3) Switch to another terminal. The cursor goes into blinking
    > underscore mode now (i.e. the default cursor).
    > (4) Switch back to the first terminal. Now you have a yellow block
    > with the last two pixel lines (i.e. the underscore) blinking.
    >
    > Oh no. Please fix that. Thank you.

    Hmn, this bug has been present since the beginning of 2.6, probably even
    2.5, hidden, but got exposed during the cursor cleanup. The main problem is
    that fbcon is not checking if the vt is using its own softcursor, and this
    has been the case since the fb architecture was rewritten.

    We fix this by checking if vt.c is using its softcursor
    (vc->vc_cursor_type & 0x10), and if true, disable fbcon cursor.

    I'll submit a patch to Andrew.

    Tony

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Bernhard Rosenkraenzer: "BUG: atomic counter underflow when running "rmmod tg3" on 2.6.10-rc1-mm3"

    Relevant Pages

    • Re: screen terminal multiplexor and blinking cursor?
      ... using the 'screen' utility to make a cursor blink ... >> with terminals that don't support blinking? ... >try to hardcode the escape sequences. ... I didn't want to create a whole process just for blinking ...
      (comp.unix.questions)
    • cursor bug
      ... There is annonying cursor bug in recent kernels (started in 2.6.10-rc1 ... correctly when switching virtual terminals. ... Switch back to the first terminal. ...
      (Linux-Kernel)
    • Re: Optimizer Instability on 10.2.0.2
      ... from a nested loop join to a hash join. ... and you get this type of switch on the re-optimisation. ... the slow process found the query in the cache at 13:00 ... Then invalidate the cursor ...
      (comp.databases.oracle.server)
    • issues with 2.6 on desktop
      ... IDE drives and fans remain running. ... AC disconnect switch in the back to clear everything. ... consoles have a funny cursor. ... the virtual consoles to a block cursor, then escaping from X does NOT ...
      (comp.os.linux.development.system)
    • Re: Have you ever considered of mousing ambidextrously?
      ... I'm also a programmer, as working in front of computer day and day, my ... With it I can switch mouse buttons and flip the cursor ...
      (comp.os.linux.misc)