[gutsy] x picks "i810" on my macbook

Bug #158709 reported by Allison Karlitskaya
10
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Fix Released
Low
Timo Aaltonen

Bug Description

I nuked the xorg.conf file on my macbook as a test.

Starting up X, I'm in 1024x768 instead of 1280x800. Why? It is using i810 instead of intel.

I uninstall the i810 driver. Now X complains "can't find i810 driver".

Something somewhere is presumably mapping my PCI ID to the string "i810" instead of "intel". :(

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
 Subsystem: Intel Corporation Unknown device 7270
 Flags: bus master, fast devsel, latency 0
 Capabilities: [e0] Vendor Specific Information

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA])
 Subsystem: Intel Corporation Unknown device 7270
 Flags: bus master, fast devsel, latency 0, IRQ 17
 Memory at 90380000 (32-bit, non-prefetchable) [size=512K]
 I/O ports at 20f0 [size=8]
 Memory at 80000000 (32-bit, prefetchable) [size=256M]
 Memory at 90400000 (32-bit, non-prefetchable) [size=256K]
 Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
 Capabilities: [d0] Power Management version 2

00:00.0 0600: 8086:27a0 (rev 03)
00:02.0 0300: 8086:27a2 (rev 03)

Related branches

CVE References

Revision history for this message
Peter Clifton (pcjc2) wrote :

Both drivers will do the device, but the "Intel" one (should be) better. The i810 driver is not supported upstream any more.

For now, edit the xorg.conf to use the "intel" driver. I do agree that the default driver being picked is wrong.

Revision history for this message
Allison Karlitskaya (desrt) wrote :

*nod*. it is no problem since normally i do run with xorg.conf. i was just testing something that should, in theory, work

thanks

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

the problem is in hw/xfree86/common/xf86AutoConfig.c from the xorg-server sources. When we drop the i810 driver from the archive and symlink i810_drv.so -> intel_drv.so (as done in the vanilla debian package) we should be set. I'm not sure if upstream should fix this anyway. Probably yes.

Changed in xorg-server:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Peter Clifton (pcjc2) wrote :

Timo, if we do that (And perhaps we should...), we should do it early in Hardy so that it gives us time to address any issues people have with the new Intel driver / configs.

Since the intel driver doesn't like old Xinerama configs, perhaps a better fix than the symlink is to not install xserver-xorg-video-i810 by default, and have some postinstall script (in xserver-xorg-video-intel?) fixup the xorg.conf to bend i810->intel, and remove incompatible config settings.)

This would allow people to install the i810 driver beside the intel one, and manually switch back (or decline to edit the config).

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Fixed in git.

Changed in xorg-server:
assignee: nobody → tjaalton
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xorg-server - 2:1.4.1~git20080131-1ubuntu7

---------------
xorg-server (2:1.4.1~git20080131-1ubuntu7) hardy; urgency=low

  * 159_xkb_default_to_null.diff:
    When copying the keymap, make sure the structs default to 0/NULL.
    (LP: #184651)
  * 160_default_to_intel.diff:
    Default to using intel instead of i810. (LP: #158709)
  * 161_fix_big_endian_cursor.diff:
    Fix RandR 1.2 driver interface conversion of two colour cursors to
    ARGB. (LP: #141118)
  * Fixes from the upstream 1.4-branch:
    - 162_cve-2007-6429.diff:
      CVE-2007-6429: Always test for size+offset wrapping.
    - 163_fix_untrusted_access.diff:
      Security: Fix for fdo bug #14480: untrusted access broken in 7.3.
    - 164_fix_context_sharing.diff:
      Fix context sharing between direct/indirect contexts

 -- Timo Aaltonen <email address hidden> Wed, 09 Apr 2008 11:06:04 +0300

Changed in xorg-server:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.