KMS problems on macbook2.1, both in VT(minor) and Xorg(freeze)

Bug #396304 reported by TobiasTheCommie
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xorg

With kms enabled + bootsplash:
- Everything looks fine and dandy, untill X loads. When X loads the mouse cursor is very garbled(is only recognizable as such because it moves), and nothing else is showing on the screen.. ctrl+alt+f1 does nothing. Caps-lock, etc, aren't responding.

With kms enabled, no bootsplash, VT only:
Resolution is changed. It looks great, and is very fast, but parts of the very bottom of the screen (1-2px) is filled with garbage.

More information in comments.

With kms disabled:
Everything is working fine.

If i, during an kms disabled, run
sudo /etc/init.d/gdm stop
sudo rmmod i915
sudo modprobe i915 modeset=1

i will get the garbled pixels in the bottom of the VT. And a

sudo /etc/init.d/gdm start

Will fail just as normal.

For some reason i can't explain, the Xorg.0.log.old file contains stuff like this after the crash:

--- start of file ---
ple yet
 powerful language for representing information. The library
 contains an RDF/XML parser/serializer that conforms to the
 RDF/XML Syntax Specification and both in-memory and persistent
 Graph backend.
 .
 This package also provides a serialization format converter
 called rdfpipe in order to deal with the different formats
 RDFLib works with.
Homepage: http://rdflib.net/
Original-Maintainer: Nacho Barrientos Arias <email address hidden>

Package: libdvdnav4
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 284
Maintainer: Ubuntu MOTU Developers <email address hidden>
Architecture: amd64
Source: libdvdnav
Version: 4.1.3-3
Depends: libc6 (>= 2.4), libdvdread4 (>= 4.1.3)
Suggests: libdvdcss2
Description: DVD navigation library
 libdvdnav is a DVD navigation library, which provides an interface to the
 advanced features of DVDs, like menus and naviation. It contains the VM and
 other parts useful for writing DVD players. It's based on Ogle, but was
 modified to be used by xine and mplayer.
Original-Maintainer: Daniel Baumann <email address hidden>

Package: language-pack-es-base
Status: purge ok not-installed
Priority: optional
Section: translations

-- cut ---

Package: libsub-name-perl
Status: install ok installed
Priority: optional
Section: perl
Installed-Size: 88
Maintainer: Ubuntu MOTU Developers <email address hidden>
Architecture: amd64
Version: 0.04-1
Depends: perl (>= 5.10.0-17ubuntu1), perlapi-5.10.0, libc6 (>= 2.2.5)
Description: Assigns a new name to referenced sub
 Sub::Name has only one function, which is also exported by defau

--- end ---

I will see if i can get something interesting from a dmesg in some way....

ProblemType: Bug
Architecture: amd64
Date: Tue Jul 7 01:46:26 2009
DistroRelease: Ubuntu 9.10
MachineType: Apple Inc. MacBook2,1
Package: xorg 1:7.4+3ubuntu4
ProcCmdLine: root=UUID=5cd9cbf3-0ff4-4efb-8538-27ce7d6afb3d ro quiet splash nomodeset
ProcEnviron:
 LANG=en_DK.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-1.14-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu4
 libgl1-mesa-glx 7.5~rc4-1ubuntu2
 libdrm2 2.4.11-0ubuntu1
 xserver-xorg-video-intel 2:2.7.99.1+git20090602.ec2fde7c-0ubuntu4
 xserver-xorg-video-ati 1:6.12.99+git20090629.f39cafc5-0ubuntu1
SourcePackage: xorg
Uname: Linux 2.6.31-1-generic x86_64
dmi.bios.date: 06/27/07
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MB21.88Z.00A5.B07.0706270922
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F4208CA9
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F4208CA9
dmi.modalias: dmi:bvnAppleInc.:bvrMB21.88Z.00A5.B07.0706270922:bd06/27/07:svnAppleInc.:pnMacBook2,1:pvr1.0:rvnAppleInc.:rnMac-F4208CA9:rvrPVT:cvnAppleInc.:ct10:cvrMac-F4208CA9:
dmi.product.name: MacBook2,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.
fglrx: Not loaded
system:
 distro: Ubuntu
 architecture: x86_64kernel: 2.6.31-1-generic

Revision history for this message
TobiasTheCommie (lp453452) wrote :
Revision history for this message
TobiasTheCommie (lp453452) wrote :

In another test it appears i got udev information in my Xorg.0.log.old after the crash

Revision history for this message
TobiasTheCommie (lp453452) wrote :

-- UPDATE

With kms enabled, no bootsplash, VT only:
Resolution is changed. It looks great, and is very fast, but parts of the very bottom of the screen (1-2px) is filled with garbage.

--- THIS IS WRONG
--This garbage is there even if the text on the screen hasn't reached the bottom yet. Is there after a "reset" command.

The garbage is a replication of whatever is on the last line of the VT... Doing a sleep 10, will result in a normal cursor on the bottom left, and weird copies of the cursor about every 10 chars to the right.

If there is more data on the bottom line(for instance, the normal prompt, or a file list) there will be more garbled date to the right of the cursor.

A reset fixes the issue.

Here is a dmesg from my testing of that

Revision history for this message
TobiasTheCommie (lp453452) wrote :

During my second test i ran a for loop saving dmesg outputs while i started gdm.

dmesg outputs 1-4 looks fine(as the one i just posted). This is before Xorg started.

dmesg outputs 5+ looks like binary data. I have multiple stored, and call always generate more, but here is one copy.

description: updated
Revision history for this message
TobiasTheCommie (lp453452) wrote :

I would normally have filed this under Kernel, and not xorg. but https://wiki.ubuntu.com/X/KernelModeSetting said i should file it under Xorg.

I hope i have provided enough useful information.

I will be in vegas from tomorrow till tuesday next week, so i will not be able to provide any further information during that time.

Sincerely
Me

P.S. Sorry for the flood

Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-video-intel (Ubuntu)
Revision history for this message
piwacet (davrosmeglos) wrote :

Have a look at:

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/393455

Apple hardware, pci 27a2 bus ID, similar symptoms.

May be related; there's a patch linked at the end to see if it fixes things.

Revision history for this message
Robert Hooker (sarvatt) wrote :

Do you have this problem with the 2.6.31-2? It has the upstream kernel fix for this situation in it and is related to EFI and not the specific intel device.

Geir Ove Myhr (gomyhr)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Incomplete
Revision history for this message
Henrique Ferreiro (henrique-ferreiro) wrote :

For me, kernel 2.6.31-3 fixed the problem.

The only problem I have is the pointer flickering when it turns into a spinning circle.

Revision history for this message
TobiasTheCommie (lp453452) wrote :

I'm still not home from vacation, will check on tuesday when i get back home

Revision history for this message
TobiasTheCommie (lp453452) wrote :

Ok, it is now resolved.

Good work

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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