Summary: | [845] No mouse pointer with Intel driver | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Ariszló <ariszlo> | ||||||||||||||||
Component: | Driver/intel | Assignee: | Jesse Barnes <jbarnes> | ||||||||||||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||||||||
Severity: | normal | ||||||||||||||||||
Priority: | medium | CC: | aguertin+freedesktop, ariszlo | ||||||||||||||||
Version: | unspecified | ||||||||||||||||||
Hardware: | Other | ||||||||||||||||||
OS: | All | ||||||||||||||||||
Whiteboard: | |||||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||||
Attachments: |
|
Created attachment 25093 [details]
Xorg.0.log-vesa
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01) xorg-x11-server-1.6.1-6.fc11 xorg-x11-drv-intel-2.7.0-1.fc11 Fedora release 10.92 (Rawhide) There is no visible mouse pointer if there is no xorg.conf or if xorg.conf has this line in the Device section: Driver "intel" To get a mouse pointer I have to use vesa. This happens also for current git driver, drm, and drm-intel-next kernel. Note that the mouse still works, it's just invisible. You can, e.g., still click on stuff, and xeyes will follow it around on screen. Also, last I checked, if DRI is disabled the pointer appears. (In reply to comment #3) > Also, last I checked, if DRI is disabled the pointer appears. Not here. I cannot see the pointer with this either: Section "Device" Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device" BusID "PCI:0:2:0" Option "DRI" "false" EndSection Only with vesa. Some more details. With the intel driver, I can switch from gdm/gnome to virtual terminals but cannot see the mouse pointer. With the vesa driver, I can see the mouse pointer but cannot switch to virtual terminals. Meanwhile, xorg-x11-drv-intel has been updated to xorg-x11-drv-intel-2.7.0-2.fc11 with no improvement. Yeah, it wasn't working with: Section "Device" [...] Option "DRI" "false" EndSection Instead I had to do: Section "Module" [...] Disable "dri2" Disable "dri" EndSection I don't know why. Created attachment 25256 [details]
Xorg.0.log (intel) (shorter)
Here's an Xorg.0.log from my system. It's much shorter, hopefully easier to see stuff in.
Run with current git (as of a few minutes ago) libdrm, mesa, drm-intel-next kernel, and xf86-video-intel, and xorg-server 1.6.1. No xorg.conf.
Created attachment 25389 [details]
xorg.conf with dri disabled
(In reply to comment #5) Thanks for the tip. Disabling dri brings back the mouse pointer but loading or disabling dri2 does not seem to make a difference with xorg-x11-drv-intel-2.7.0-2.fc11. Unfortunately, disabling dri brings back the mouse pointer at a price: I can no longer switch to virtual terminals from GDM/Gnome. These are the configurations I tested: Configuration 0 no xorg.conf, intel driver loaded, dri & dri2 extensions loaded Results: 1. mouse pointer is NOT VISIBLE (bad) 2. logging out from Gnome to GDM: OK (good) 3. switching from GDM/Gnome to virtual terminals: OK (good) Configuration 1 dri disabled, dri2 loaded (or not, does not matter) Results: 1. mouse pointer: OK (good) 2. logging out from Gnome to GDM: OK (good) 3. switching from GDM/Gnome to virtual terminals: blank screen with vertical noise (bad) but at least I can switch back to GDM/Gnome (some good) Configuration 2 dri loaded, dri2 disabled Results: 1. blank screen (bad) 2. cannot switch to virtual terminals (bad) 3. Ctrl+Alt+Delete does not work (bad) Configuration 3 vesa Results: 1. mouse pointer: OK (good) 2. logging out from Gnome to GDM: blank screen (bad) 3. switching from GDM/Gnome to virtual terminals: blank screen (bad) from which I cannot switch back to GDM/Gnome (even worse) Created attachment 25569 [details]
Output of intel_reg_dumper
jbarnes asked for the output of intel_reg_dumper on IRC. Here it is.
Comment on attachment 25569 [details]
Output of intel_reg_dumper
Nevermind, cursor registers aren't dumped by intel_reg_dumper. :(
Your first log has (II) intel(0): No memory allocations but your last log looks fine. HW cursor has allocated memory, and 845G cursor uses graphics addr. So do you have correct mouse config? ... (In reply to comment #11) > Your first log has > > (II) intel(0): No memory allocations > > but your last log looks fine. HW cursor has allocated memory, and 845G cursor > uses graphics addr. > So do you have correct mouse config? ... Note that the logs are from different people. Specifically, Ariszló's uses Fedora's provided xorg.conf and components, mine uses no xorg.conf and stock components. So to answer the question about mouse config, mine is correct if the default configuration is correct. Also, since it hasn't been mentioned here before, this is with KMS enabled. Also probably related, anholt said on IRC that his 865 has no cursor with KMS either. Created attachment 25599 [details] Fedora 11 Xorg.0.log with dri disabled in xorg.conf (In reply to comment #11) > Your first log has > > (II) intel(0): No memory allocations > > but your last log looks fine. HW cursor has allocated memory, and 845G cursor > uses graphics addr. > So do you have correct mouse config? ... My first log shows what I had with no xorg.conf. The log I am submitting now shows what happens if I disable dri in xorg.conf. With no xorg.conf, I have not configured the mouse myself and I have not configured it in this xorg.conf either: http://bugs.freedesktop.org/attachment.cgi?id=25389 Perhaps, dri requires more memory than my machine has. It has 384 MB of RAM and 1 GB of swap. Issue had been originally reported as vendor bug https://bugzilla.redhat.com/show_bug.cgi?id=488980 and is related to kernel modesetting. By adding kernel option "nomodeset", a visible mouse pointer is recovered. Created attachment 25661 [details]
kernel nomodeset Xorg.0.log
nomodeset: Yes, adding nomodeset to the kernel line in /boot/grub/grub.conf (/boot/grub/menu.lst in other distributions) did the trick.
Everything is OK now:
1. mouse pointer: OK (good)
2. logging out from Gnome to GDM: OK (good)
3. switching from GDM/Gnome to virtual terminals: OK.
Except that I lost the graphical boot splash, which I don't miss so no problem.
Now is this a kernel bug or an intel video driver bug?
(In reply to comment #15) > Created an attachment (id=25661) [details] > kernel nomodeset Xorg.0.log More info: No xorg.conf xorg-x11-drv-intel-2.7.0-4.fc11 xorg-x11-server-Xorg-1.6.1-11.fc11 fedora-release-10.93-2 kernel-PAE-2.6.29.2-126.fc11 nomodeset added to the kernel line of /boot/grub/grub.conf Just found out: you only need to use nomodeset with kernel-PAE. No mouse pointer issue at all with the plain, non-PAE kernel. (In reply to comment #16) > Just found out: you only need to use nomodeset with kernel-PAE. No mouse > pointer issue at all with the plain, non-PAE kernel. I was just wrong. I have just installed the non-PAE kernel letting yum adding it to grub.conf. Assuming that yum did not add the nomodeset option, rebooted the machine, saw the mouse pointer and thought what I did. Now I can see that yum did add the nomodeset option to the non-PAE kernel, perhaps copying it from the manually edited kernel line of the PAE kernel. (In reply to comment #15) > Now is this a kernel bug or an intel video driver bug? It is a kernel bug and this patch fixes it: https://bugzilla.redhat.com/show_bug.cgi?id=488980#c27 Give this to Jesse, as he's made the patch. commit 14b60391587ab9b2207c4fb6281763a93ae85e0f Author: Jesse Barnes <jbarnes@virtuousgeek.org> Date: Wed May 20 16:47:08 2009 -0400 i915: support 8xx desktop cursors |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 25092 [details] Xorg.0.log-intel 00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01) xorg-x11-server-1.6.1-6.fc11 xorg-x11-drv-intel-2.7.0-1.fc11 Fedora release 10.92 (Rawhide) There is no visible mouse pointer if there is no xorg.conf or if xorg.conf has this line in the Device section: Driver "intel" To get a mouse pointer I have to use vesa.