[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
Since it's a kernel patch, the kernel team needs to take a look at it. @JFo, please add to the kernel team list to look at for oneiric (and maybe a natty backport). ** Package changed: xserver-xorg-video-nouveau (Ubuntu) = linux (Ubuntu) ** Changed in: linux (Ubuntu) Status: Confirmed = Triaged ** Changed in: linux (Ubuntu) Milestone: None = oneiric-alpha-2 ** Changed in: linux (Ubuntu) Assignee: (unassigned) = Jeremy Foshee (jeremyfoshee) ** Changed in: linux (Ubuntu) Assignee: Jeremy Foshee (jeremyfoshee) = Sanchez666 (jfo) ** Changed in: linux (Ubuntu) Assignee: Sanchez666 (jfo) = Ubuntu Kernel Team (ubuntu-kernel-team) ** Summary changed: - Mouse cursor dissappears with nouveau + [PATCH] Mouse cursor dissappears with nouveau -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-nouveau in Ubuntu. https://bugs.launchpad.net/bugs/583760 Title: [PATCH] Mouse cursor dissappears with nouveau ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
** Changed in: nouveau Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-nouveau in Ubuntu. https://bugs.launchpad.net/bugs/583760 Title: Mouse cursor dissappears with nouveau ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
Still occurring with the latest Natty. Fedora is now including the work around patch in their stock kernels (called drm-nouveau-evo-hang.patch). I've been running this patch on top of the stock ubuntu kernels for months now with no negative side effect. The impact of the patch is low, as its with an experimental driver anyway. Without it, the system becomes nearly unusable when enough cursor hides/unhides happen which cause the buffer to wrap. The only thing the workaround does is shrink the size of the buffer by a few entries. While I would like a real fix, one doesn't appear to be coming from upstream anytime soon. The impact is low, the benefits are high, its an isolated patch that will only affect users with that hardware. Can we -please- get this workaround patch into a natty kernel update, or, at the very least into oneric's(sp?) kernel? The patch ported from fedora would be in driver/gpu/drm/nouveau/nv50_evo.c, approx. lilne 184: /* enable error reporting on the channel */ nv_mask(dev, 0x610028, 0x, 0x00010001 id); evo-dma.max = (4096/4) - 2 + evo-dma.max = ~7; evo-dma.put = 0; evo-dma.cur = evo-dma.put; evo-dma.free = evo-dma.max - evo-dma.cur; original patch from fedora 14: From d0301ece9e093c484f880893dc86d97848360892 Mon Sep 17 00:00:00 2001 From: Ben Skeggs bske...@redhat.com Date: Fri, 19 Nov 2010 18:50:57 +1000 Subject: [PATCH 2/2] drm-nouveau-evo-hang On some GF8+ boards, the display engine will stop processing its push buffer if a wrap-around occurs at a certain point. The exact cause is not known. This patch by David Dillow (rhbz#537065) is a safe enough work-around until it can be solved properly. Signed-off-by: Ben Skeggs bske...@redhat.com --- drivers/gpu/drm/nouveau/nv50_display.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c index 11d366a..4e5402c 100644 --- a/drivers/gpu/drm/nouveau/nv50_display.c +++ b/drivers/gpu/drm/nouveau/nv50_display.c @@ -364,6 +364,7 @@ nv50_display_init(struct drm_device *dev) nv_wr32(dev, 0x610300, nv_rd32(dev, 0x610300) ~1); evo-dma.max = (4096/4) - 2; + evo-dma.max = ~7; evo-dma.put = 0; evo-dma.cur = evo-dma.put; evo-dma.free = evo-dma.max - evo-dma.cur; -- 1.7.3.2 -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-nouveau in Ubuntu. https://bugs.launchpad.net/bugs/583760 Title: Mouse cursor dissappears with nouveau ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
** Changed in: nouveau Status: Unknown = Confirmed ** Changed in: nouveau Importance: Unknown = Medium -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-nouveau in Ubuntu. https://bugs.launchpad.net/bugs/583760 Title: Mouse cursor dissappears with nouveau ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
Launchpad has imported 9 comments from the remote bug at http://bugs.gentoo.org/show_bug.cgi?id=353059. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2011-01-28T14:12:28+00:00 Delan Azabani wrote: After a while (I'm not sure how long) using nouveau, something happens which causes all of these symptoms to begin: 1. cursor movments become jerky 2. moving cursor from one screen to another leaves a copy of the cursor on the first screen 3. syslog shows many lines of nouveau :01:00.0: no space while hiding cursor 4. switching to a text VT 'hangs' the display (showing the X screen still) and switching back 'unhangs' display (while on a text VT, though you can't see anything, you can do things 'blindly') 5. restarting X leaves the screen 'hung' with no ability to SysRq+REISUB (keyboard is fully locked up) A while after the above happens, the entire system will become unresponsive (though background process like RAID resync or torrent continue), and the keyboard doesn't work at all. The only thing that works is moving the mouse cursor. Reproducible: Always Steps to Reproduce: 1. use a computer with the nouveau driver for 'a while' Actual Results: Please see 'description'. Expected Results: No loss of stability over time. Linux delan2 2.6.38-rc2-delan2+ #5 SMP Fri Jan 28 16:21:14 WST 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q9650 @ 3.00GHz GenuineIntel GNU/Linux Kernel is from torvalds/linux-2.6.git, though this did still occur with gentoo-sources-2.6.37. x11-base/xorg-server-1.9.3.901-r1 from gentoo x11-drivers/xf86-video-nouveau-0.0.16_pre20101130 from gentoo Reply at: https://bugs.launchpad.net/nouveau/+bug/583760/comments/5 On 2011-01-31T06:50:05+00:00 Wormo wrote: Have you tried disabling hardware cursor yet? Option HWCursor false Also should be worth trying this patch: https://bugzilla.redhat.com/attachment.cgi?id=457771 Reply at: https://bugs.launchpad.net/nouveau/+bug/583760/comments/6 On 2011-02-01T06:15:27+00:00 Delan Azabani wrote: With hardware cursor disabled my cursor flickers heavily and is most of the time invisible. I'm using the default X cursors (the black one, no special cursors like DMZ installed). The xorg.conf I tried: Section Device Identifier gtx260 Driver nouveau Option HWCursor false EndSection Also, if I understand correctly, that patch was for kernels before somewhere around 2.6.35, right? Just by eyeing my nv50_display.c I can see that the patch probably wouldn't apply anymore on my 2.6.38-rc3 tree. Reply at: https://bugs.launchpad.net/nouveau/+bug/583760/comments/7 On 2011-02-01T06:41:58+00:00 Delan Azabani wrote: I have tried to patch nv50_display.c but it failed: File to patch: drivers/gpu/drm/nouveau/nv50_display.c patching file drivers/gpu/drm/nouveau/nv50_display.c Hunk #1 FAILED at 344. 1 out of 1 hunk FAILED -- saving rejects to file drivers/gpu/drm/nouveau/nv50_display.c.rej If it helps, here's my new uname and some related lspci -vvvnn: Linux delan2 2.6.38-rc3-delan2 #24 SMP Tue Feb 1 13:35:10 WST 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q9650 @ 3.00GHz GenuineIntel GNU/Linux 01:00.0 VGA compatible controller [0300]: nVidia Corporation GT200 [GeForce GTX 260] [10de:05e2] (rev a1) (prog-if 00 [VGA controller]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- TAbort- MAbort- SERR- PERR- INTx- Latency: 0, Cache Line Size: 4 bytes Interrupt: pin A routed to IRQ 16 Region 0: Memory at fa00 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at e000 (64-bit, prefetchable) [size=256M] Region 3: Memory at f800 (64-bit, non-prefetchable) [size=32M] Region 5: I/O ports at bf00 [size=128] [virtual] Expansion ROM at fb00 [disabled] [size=512K] Capabilities: [60] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+ Address: Data: Capabilities: [78] Express (v1) Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s 1us, L1 4us ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- DevCtl: Report errors: Correctable- Non-Fatal-
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
** Bug watch added: Gentoo Bugzilla #353059 http://bugs.gentoo.org/show_bug.cgi?id=353059 ** Also affects: gentoo via http://bugs.gentoo.org/show_bug.cgi?id=353059 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-nouveau in Ubuntu. https://bugs.launchpad.net/bugs/583760 Title: Mouse cursor dissappears with nouveau ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
** Bug watch added: freedesktop.org Bugzilla #35360 http://bugs.freedesktop.org/show_bug.cgi?id=35360 ** Also affects: nouveau via http://bugs.freedesktop.org/show_bug.cgi?id=35360 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-nouveau in Ubuntu. https://bugs.launchpad.net/bugs/583760 Title: Mouse cursor dissappears with nouveau ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
** Package changed: libdrm (Ubuntu) = xserver-xorg-video-nouveau (Ubuntu) -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-nouveau in ubuntu. https://bugs.launchpad.net/bugs/583760 Title: Mouse cursor dissappears with nouveau ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
Seen on up to date natty too. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libdrm in ubuntu. https://bugs.launchpad.net/bugs/583760 Title: Mouse cursor dissappears with nouveau ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
** Changed in: libdrm (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libdrm in ubuntu. https://bugs.launchpad.net/bugs/583760 Title: Mouse cursor dissappears with nouveau ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
I get this problem on a regular basis. Several times a day. It requires a full reboot to reset. I am running 10.10 on a Thinkpad T410 with an external monitor. The mouse cursor disappears from the built-in display on the laptop but continues to appear on the external monitor. The mouse does, in fact, work on the built-in display but is invisible. there is nothing abnormal in the Xorg.0.oog, but dmesg always has the following. [ 8319.721137] [drm] nouveau :01:00.0: EvoCh 0 Mthd 0x Data 0x0400 (0x0002 0x01) [ 8607.947182] [drm] nouveau :01:00.0: no space while hiding cursor [ 8608.059054] [drm] nouveau :01:00.0: no space while hiding cursor [ 8611.209928] [drm] nouveau :01:00.0: no space while hiding cursor (this last line is repeated zillions of times). This bug has also been reported in Fedora https://bugzilla.redhat.com/show_bug.cgi?id=537065. That bug has a workaround kernel patch included https://bugzilla.redhat.com/attachment.cgi?id=457771action=diff. ** Bug watch added: Red Hat Bugzilla #537065 https://bugzilla.redhat.com/show_bug.cgi?id=537065 ** Also affects: libdrm (Fedora) via https://bugzilla.redhat.com/show_bug.cgi?id=537065 Importance: Unknown Status: Unknown -- Mouse cursor dissappears with nouveau https://bugs.launchpad.net/bugs/583760 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libdrm in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
Is there any hope this will be fixed soon? Or should I just install the proprietary nvidia driver? (are there other alternatives?) -- Mouse cursor dissappears with nouveau https://bugs.launchpad.net/bugs/583760 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libdrm in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
Happens for me too on lucid amd64. This does not happen with the nvidia driver. 27: PCI 200.0: 0300 VGA compatible controller (VGA) [Created at pci.318] Unique ID: B35A.9kxaXveYaz6 Parent ID: 3hqH.qNcqIMr0SqF SysFS ID: /devices/pci:00/:00:03.0/:02:00.0 SysFS BusID: :02:00.0 Hardware Class: graphics card Model: nVidia VGA compatible controller Vendor: pci 0x10de nVidia Corporation Device: pci 0x060a SubVendor: pci 0x1558 CLEVO/KAPOK Computer SubDevice: pci 0x8687 Revision: 0xa2 Driver: nouveau Driver Modules: drm Memory Range: 0xce00-0xceff (rw,non-prefetchable) Memory Range: 0xd000-0xdfff (rw,prefetchable) Memory Range: 0xcc00-0xcdff (rw,non-prefetchable) I/O Ports: 0x2000-0x2fff (rw) IRQ: 16 (98 events) I/O Ports: 0x3c0-0x3df (rw) Module Alias: pci:v10DEd060Asv1558sd8687bc03sc00i00 Driver Info #0: Driver Status: nouveau is active Driver Activation Cmd: modprobe nouveau Driver Info #1: Driver Status: nvidiafb is not active Driver Activation Cmd: modprobe nvidiafb Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #8 (PCI bridge) Primary display adapter: #27 02:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce GTX 280M] (rev a2) Subsystem: CLEVO/KAPOK Computer Device 8687 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- TAbort- MAbort- SERR- PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 16 Region 0: Memory at ce00 (32-bit, non-prefetchable) [size=16M] Region 1: Memory at d000 (64-bit, prefetchable) [size=256M] Region 3: Memory at cc00 (64-bit, non-prefetchable) [size=32M] Region 5: I/O ports at 2000 [size=128] Capabilities: access denied Kernel driver in use: nouveau Kernel modules: nvidiafb, nouveau -- Mouse cursor dissappears with nouveau https://bugs.launchpad.net/bugs/583760 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libdrm in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
** Tags added: kubuntu -- Mouse cursor dissappears with nouveau https://bugs.launchpad.net/bugs/583760 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libdrm in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
** Attachment added: BootDmesg.txt http://launchpadlibrarian.net/48862600/BootDmesg.txt ** Attachment added: CurrentDmesg.txt http://launchpadlibrarian.net/48862601/CurrentDmesg.txt ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/48862602/Dependencies.txt ** Attachment added: Lspci.txt http://launchpadlibrarian.net/48862603/Lspci.txt ** Attachment added: Lsusb.txt http://launchpadlibrarian.net/48862604/Lsusb.txt ** Attachment added: PciDisplay.txt http://launchpadlibrarian.net/48862605/PciDisplay.txt ** Attachment added: ProcCpuinfo.txt http://launchpadlibrarian.net/48862606/ProcCpuinfo.txt ** Attachment added: ProcInterrupts.txt http://launchpadlibrarian.net/48862607/ProcInterrupts.txt ** Attachment added: ProcModules.txt http://launchpadlibrarian.net/48862608/ProcModules.txt ** Attachment added: RelatedPackageVersions.txt http://launchpadlibrarian.net/48862609/RelatedPackageVersions.txt ** Attachment added: UdevDb.txt http://launchpadlibrarian.net/48862610/UdevDb.txt ** Attachment added: UdevLog.txt http://launchpadlibrarian.net/48862611/UdevLog.txt ** Attachment added: XorgLog.txt http://launchpadlibrarian.net/48862612/XorgLog.txt ** Attachment added: XorgLogOld.txt http://launchpadlibrarian.net/48862613/XorgLogOld.txt ** Attachment added: Xrandr.txt http://launchpadlibrarian.net/48862614/Xrandr.txt ** Attachment added: glxinfo.txt http://launchpadlibrarian.net/48862615/glxinfo.txt ** Attachment added: setxkbmap.txt http://launchpadlibrarian.net/48862616/setxkbmap.txt ** Attachment added: xdpyinfo.txt http://launchpadlibrarian.net/48862617/xdpyinfo.txt ** Attachment added: xkbcomp.txt http://launchpadlibrarian.net/48862618/xkbcomp.txt -- Mouse cursor dissappears with nouveau https://bugs.launchpad.net/bugs/583760 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libdrm in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 583760] Re: Mouse cursor dissappears with nouveau
** Changed in: libdrm (Ubuntu) Status: New = Confirmed -- Mouse cursor dissappears with nouveau https://bugs.launchpad.net/bugs/583760 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to libdrm in ubuntu. ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp