Bug 544930 - intel [945G/945GM/945GME/965GM/GM45] Invisible cursor on external monitor
Summary: intel [945G/945GM/945GME/965GM/GM45] Invisible cursor on external monitor
Status: RESOLVED FIXED
: 549973 555915 574408 (view as bug list)
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Final
Hardware: x86 openSUSE 11.2
: P3 - Medium : Major with 6 votes (vote)
Target Milestone: ---
Assignee: Matthias Hopf
QA Contact: E-mail List
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-07 10:05 UTC by Michael Loeffler
Modified: 2010-08-14 22:03 UTC (History)
14 users (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Xorg log (41.46 KB, text/plain)
2009-10-07 11:49 UTC, Michael Loeffler
Details
hwinfo --gfx (1.62 KB, text/plain)
2009-11-01 13:32 UTC, Forgotten User y8Ml8SB2Iw
Details
Xorg log for Intel 945GME (26.07 KB, text/plain)
2010-03-07 16:40 UTC, Seth Rees
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Loeffler 2009-10-07 10:05:19 UTC
After booting of Milestone 8 no visible cursor. But I have focus - so I can see when I'm hoovering over a button. The cursor sometimes becomes visible after 10-30 mins or not. If not restart so often till I have a visible cursor.
Comment 1 Michael Loeffler 2009-10-07 10:12:43 UTC
I just found out this affects just my external monitor - the internal one has the cursor from the beginning.
Comment 2 Stefan Dirsch 2009-10-07 10:47:38 UTC
Thanks, Please attach /var/log/Xorg.0.log.
Comment 3 Michael Loeffler 2009-10-07 11:49:21 UTC
Created attachment 321438 [details]
Xorg log
Comment 4 Stefan Dirsch 2009-10-07 12:41:04 UTC
Could you try with 'Option "SWcursor"' in Section "Device" of your /etc/X11/xorg.conf?
Comment 5 Michael Loeffler 2009-10-07 14:45:56 UTC
I did - still doesn't work. mhopf tried it and guesses that its more a KDE issue then Xorg
Comment 6 Matthias Hopf 2009-10-07 17:17:41 UTC
We validated that the issue does *not* pop up if you change the resolution with xrandr and not with the krandrtray.

So
$ xrandr --output VGA --mode 1024x768           -> cursor is visible
$ xrandr --output VGA --mode 1920x1200          -> cursor is still visible

Switch VGA to 1024x768 in krandrtray            -> cursor is visible
Switch VGA to 1920x1200 in krandrtray           -> cursor is *invisible*

Again, only talking about the cursor on the external display. On the panel the cursor is always visible.


I don't know what KDE is doing differently, and I don't know what KDE is doing to display its mouse cursor. There must be a difference.

The original bug might sill be deep down in X, but I'll reassign to KDE for analysis what krandrtray and the mouse system does.
Comment 7 Lubos Lunak 2009-10-08 12:14:41 UTC
I do not see Krandrtray doing anything specific with cursors and it uses libXrandr calls to setup the screens. KDE also does not do anything to display "its" mouse cursor other than setting up the mouse theme.
Comment 8 Matthias Hopf 2009-10-12 15:33:44 UTC
Can you point me to the current krandrtray sources we use in 11.2? So I can verify which libXrandr calls are called in which order.
Comment 9 Dusan Povazanec 2009-10-13 13:31:48 UTC
Same problem with openSuse 11.2 M8 x86_64 on i945GM laptop display. If I rotate screen or I change display resolution almost always cursor becomes invisible (only sometimes it stays visible). 

! I can make it always visible after pressing Ctrl+Alt+F2 and Ctrl+Alt+F7.

If I use xrandr, then cursor also sometimes disappear, but less frequently as with Krandrtray.

Resize
using mode 1280x800 and then
xrandr --output LVDS --mode 800x600            -> cursor is visible
xrandr --output LVDS --mode 1280x800           -> cursor is *invisible*

using mode 1280x800 and then
Krandrtray mode 800x600            -> cursor is visible
Krandrtray mode 1280x800           -> cursor is *invisible*

Rotate
xrandr --output LVDS --rotate inverted         -> cursor is visible
xrandr --output LVDS --rotate normal           -> cursor is visible

Krandrtray rotate inverted         -> cursor is *invisible*
Krandrtray rotate normal           -> cursor is *invisible*
Comment 10 Lubos Lunak 2009-10-13 19:03:39 UTC
(In reply to comment #8)
> Can you point me to the current krandrtray sources we use in 11.2? So I can
> verify which libXrandr calls are called in which order.

The sources are in randr12.diff in kdebase4-workspace, or 'svn co svn://anonsvn.kde.org/home/kde/branches/work/~seli/randr43', but I doubt you'll manage to find your way in that. If you really want to track what krandrtray does then I suggest e.g. adding debug commands to libXrandr functions.
Comment 11 Matthias Hopf 2009-10-19 18:28:05 UTC
Ok, when time permits.
Comment 12 Forgotten User y8Ml8SB2Iw 2009-10-31 10:16:16 UTC
This bug still happens with 11.2rc2 with Intel X4500 chipset when trying to use external monitor (with krandrtray).
Sometimes the mouse cursor disappears from laptop screen and sometimes from external screen.

I will try this with command line client (xrand) to see if there is any difference.
Comment 13 Forgotten User y8Ml8SB2Iw 2009-10-31 11:51:11 UTC
I confirm that:

-this has nothing to do with external monitor, really: mouse cursor can disappear when we change screen orientation 
-mouse works even when it is invisible
-this can also happen with command line client (xrandr --output LVDS --rotate inverted, then xrandr --output LVDS --rotate normal, and mouse disappears, though not every time)

(Tested with 11.2 rc2).

Should I join this info (http://en.opensuse.org/Bugs:X)?
Comment 14 Forgotten User y8Ml8SB2Iw 2009-10-31 14:05:38 UTC
I think this bug in not KDE specific because:
- It happens from time to time with xrandr (see comments #13 and #9)
- There is a bug report (#549973) that also in Gnome screen rotation can hide
mouse pointer
Comment 15 Forgotten User y8Ml8SB2Iw 2009-11-01 13:32:28 UTC
Created attachment 325022 [details]
hwinfo --gfx
Comment 16 Federico Mena Quintero 2009-11-04 01:07:07 UTC
*** Bug 549973 has been marked as a duplicate of this bug. ***
Comment 17 Stefan Dirsch 2009-11-09 15:22:12 UTC
*** Bug 553822 has been marked as a duplicate of this bug. ***
Comment 18 Forgotten User O36P--M6FC 2009-11-11 12:27:21 UTC
Having same problem with openSuSE 11.2 Final.

xorg-x11 7.4
X.Org X Server 1.6.5
GNU/Linux 2.6.31.5-0.1-default
(II) Loading /usr/lib/xorg/modules//drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.6.5, module version = 2.9.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 5.0
(II) intel(0): Integrated Graphics Chipset: Intel(R) 965GM
(II) UXA(0): Driver registered support for the following operations:
(II)         solid
(II)         copy
(II)         composite (RENDER acceleration)
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): Fixed memory allocation layout:
(II) intel(0): 0x00000000-0x00000fff: power context (4 kB)
(II) intel(0): 0x0077f000:            end of stolen memory
(II) intel(0): 0x0077f000-0x0fffffff: DRI memory manager (254468 kB)
(II) intel(0): 0x10000000:            end of aperture
(II) intel(0): BO memory allocation layout:
(II) intel(0): 0x0077f000:            start of memory manager
(II) intel(0): 0x0079f000-0x01932fff: front buffer (18000 kB) X tiled
(II) intel(0): 0x0279f000-0x0279ffff: overlay registers (4 kB)
(II) intel(0): 0x027a0000-0x027a9fff: HW cursors (40 kB)
(II) intel(0): 0x10000000:            end of memory manager


A bug report is also at https://bugs.freedesktop.org/show_bug.cgi?id=24978
Comment 19 Jiri Zouhar 2009-11-13 10:16:17 UTC
For users who doesn't know - WORKAROUND - switch to console (ctrl-alt-f1) and back to x (alt-f7) and everything will be fine (at least for me;)

p.s. I have the same problem in RC2 (and final). I use kde personal settings for resolution changing - on change, the cursor dissapears (stil works) on both external and internal laptop lcd.
Comment 20 Stefan Dirsch 2009-11-16 20:37:44 UTC
*** Bug 555915 has been marked as a duplicate of this bug. ***
Comment 21 Andrey S 2009-11-16 23:28:34 UTC
The strange thing about this bug is 
the fact, that cursor disappears only when rotating screen by 180 degrees from previous position. But if you rotate by 90 degrees at a time, cursor remains on the screen. (See this duplicate description: https://bugzilla.novell.com/show_bug.cgi?id=555915)
Comment 22 G J 2010-01-06 11:35:24 UTC
I am experiencing the invisible mouse cursor too. For me it's when I have my laptop docked and try set the external screen resolution using display settings in KDE4.

As soon as I apply the new resolution my cursor goes invisible. The only way I've found to restore it is to open a terminal and start systemsettings as su. As soon as system settings window loads the cursor becomes visible again.

So in my case it has nothing to do with screen rotation but a simple screen resolution change.

I have a intel 945GM graphic card in my Thinkpad X60s, running 11.2 with KDE4.3.4
Comment 23 Forgotten User tCnyPY8iPq 2010-01-22 16:55:38 UTC
I have this issue, too.
When I rotate the screen by 180° using command-line xrandr, the cursor disappears.
It disappears when I run this command, too (it chooses another SW to handle brightness adjustments):

xrandr --output LVDS --set BACKLIGHT_CONTROL native

Does this trigger the bug on your monitors, too? Or is this a different issue?

I have another workaround: open a konsole window, move your (invisible) cursor on the typing area, and type something. When you move your mouse again, it will have a visible cursor. If you rotate the screen again, you'll have to repeat the workaround.
Comment 24 Andrey S 2010-01-22 17:13:11 UTC
Yes, same with my 965GM.
After running this

xrandr --output LVDS --set BACKLIGHT_CONTROL native

cursor disappears.

Konsole workaround works (tested in yakuake).
Comment 25 Stefan Dirsch 2010-02-16 05:43:40 UTC
*** Bug 574408 has been marked as a duplicate of this bug. ***
Comment 26 Seth Rees 2010-03-06 23:20:03 UTC
Confirmed on my laptop's Intel 945 GME.

Running openSUSE 11.2 final.

Occurs when booting on, when the GNOME desktop is shown, the mouse cursor is missing - but focus effects are present.

Using an external monitor (LG FLATRON w1943TB) with the internal monitor disabled, resolution: 1360 x 768.

Mouse appears if:
 o. Changing workspace.
 o. Locking / unlocking screen.
Comment 27 Seth Rees 2010-03-07 16:40:33 UTC
Created attachment 346987 [details]
Xorg log for Intel 945GME
Comment 28 Seth Rees 2010-03-07 17:07:27 UTC
!!! SOLVED !!!

For me, what I did was:

 1. Open a terminal.
 2. su
 3. sax2 (From runlevel 5, not 3)
 4. In the GUI shown:
   1. It'll say "Card: Intel xxx" where xxx is your model. Next to that,
      there is a button called "Options...". Click that.
   2. Look for "SWCursor" in the list, and click on it once so it is selected.
   3. Click Ok.
   4. Make sure your resolution and monitor name is correct (the resolution 
      was specified as 1024x768 for me, changing it to 1360x768 worked fine)
   5. Click Ok.
   6. Read the instructions and click Test.
   7. Follow the rest of the instructions.
  5. Reboot and enjoy the visible cursor at login!
Comment 29 Forgotten User tCnyPY8iPq 2010-03-25 12:13:31 UTC
The suggested solution doesn't work for me.
Comment 30 Andrey S 2010-03-25 16:30:01 UTC
For me it doesn't either.
Comment 31 Schelte Bron 2010-03-28 14:02:02 UTC
I used to have this problem on a system that was the result of several upgrades from earlier SuSE versions. After replacing the hard disk I did a clean install of OpenSuSE 11.2 and several video related problems, including this one, have cleared up as a result. (Another problem I had is described in bug #553822.)

So also in my case some old/wrong setting was causing the problem. Unfortunately I can't indicate which setting was the culprit. But if other people have this problem on an upgraded system too, it may be useful to carefully compare the rpmsave files against the config files in use. If really desperate, you can try to do a clean install as well, although of course I can give no guarantee that it will fix the problem in every case.
Comment 32 Stefan Dirsch 2010-08-14 16:04:58 UTC
Is this still an issue on openSUSE 11.3?
Comment 33 Dusan Povazanec 2010-08-14 19:18:24 UTC
(In reply to comment #32)
> Is this still an issue on openSUSE 11.3?

This bug appears not more on my new 11.3 = it is solved for me. (I had this bug on 11.2 Intel GM965 on internal monitor after xrandr command for screen rotation). Thanks
Comment 34 Stefan Dirsch 2010-08-14 22:03:29 UTC
Thanks for verification.