Openchrome (1:0.3.1-0ubuntu1) crash system after start X

Bug #1165232 reported by Rodrigo Miguel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openchrome
Fix Released
Medium
xserver-xorg-video-openchrome (Ubuntu)
Fix Released
Medium
Unassigned
Saucy
Fix Released
Medium
Unassigned

Bug Description

When you start Ubuntu / Xubuntu / Lubuntu 12:10 or 13:04 (Beta), the system hangs before loading the graphical environment (system freezes with the screen totally black).

My video device:
01:00.0 VGA compatible controller: VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] (rev 01)

The Ubuntu installation is only possible using the parameter xforcevesa in GRUB from Live CD / USB. After installation you need to configure xorg.conf to load the VESA driver and to start with the correct resolution.

Bugs have been reported:
https://bugs.freedesktop.org/show_bug.cgi?id=58409
https://bugs.freedesktop.org/show_bug.cgi?id=53307

Fixed:
https://bugs.freedesktop.org/show_bug.cgi?id=53307#c21

I compiled the version of Git and solved the problem. I would ask that the fix was included in the repositories.

Revision history for this message
In , Hungryhungryhobos (hungryhungryhobos) wrote :

Created attachment 65356
Xorg log

Upgrading from 0.2.906 to 0.3.0 causes the system to become unresponsive (including SSH sessions). Reverting back to 0.2.906 works as expected.

Watching Xorg.0.log and dmesg during "startx" on remote via SSH with tail did not create any output but I will provide what I can.

$ lspci | grep VGA
01:00.0 VGA compatible controller: VIA Technologies, Inc. CN896/VN896/P4M900 [Chrome 9 HC] (rev 01)

$ dmesg | grep -e agp -e drm
[ 5.702201] Linux agpgart interface v0.103
[ 5.708516] agpgart: Detected VIA P4M900 chipset
[ 5.717737] agpgart-via 0000:00:00.0: AGP aperture is 128M @ 0xc0000000
[ 876.025413] [drm] Initialized drm 1.1.0 20060810

$ grep openchrome /var/log/Xorg.0.log
[ 875.678] (II) LoadModule: "openchrome"
[ 875.703] (II) Loading /usr/lib/xorg/modules/drivers/openchrome_drv.so
[ 875.703] (II) Module openchrome: vendor="http://openchrome.org/"
[ 875.707] (!!) For support, please refer to http://www.openchrome.org/.
[ 875.707] (!!) (openchrome 0.2.906 release)
$ grep rendering /var/log/Xorg.0.log
[ 876.225] (II) CHROME(0): direct rendering disabled

$ grep "^(EE)" /var/log/Xorg.0.log

$ grep "^(WW)" /var/log/Xorg.0.log

$ uname -a
Linux sasquatch 3.4.7-1-ARCH #1 SMP PREEMPT Sun Jul 29 20:05:01 UTC 2012 i686 GNU/Linux

Attached is the complete Xorg.0.log. Although it mentions 0.2.906 I was using 0.3.0 at the time of the log creation (unless somehow the log is still from 0.2.906).

Please let me know if I am missing anything obvious and I will provide it. I have no .xsession-errors file.

Originally reported to Arch Linux:
https://bugs.archlinux.org/task/30868

Revision history for this message
In , Xavier-3a (xavier-3a) wrote :

This log really is from 0.2.906. Can you please provide the 0.3.0 log ?

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

From reading the bug report from Arch linux I get the impression you attempting to run with the new drm KMS driver. Is this true? Can you attach your dmesg log.

Revision history for this message
In , Hungryhungryhobos (hungryhungryhobos) wrote :

Created attachment 66429
dmesg

Revision history for this message
In , Hungryhungryhobos (hungryhungryhobos) wrote :

Apparently no Xorg log is actually created with 0.3.0 upon "startx" and then subsequent system freeze. Attached dmesg, but I'm not sure how useful it will be since I can't "startx" and there is no mention of drm.

Revision history for this message
In , Bartosz Kosiorek (gang65) wrote :

Please build the latest openchrome from git master and try to reproduce this problem.

Revision history for this message
In , Bartosz Kosiorek (gang65) wrote :

Please also follow following instruction:
http://www.x.org/wiki/Development/Documentation/ServerDebugging#The_basics

1. Run X.org
2. Go over to your second machine and ssh into the first one. su root
3. gdb /usr/bin/Xorg $(pidof X)
4. try to run "bt"

Revision history for this message
In , Hungryhungryhobos (hungryhungryhobos) wrote :

I can duplicate the issue with current git-master (803c882) using libdrm 2.4.39 and libxvmc 1.0.7. As soon as startx is issued the machine becomes unresponsive including the ssh server and any existing sessions.

Revision history for this message
In , Bartosz Kosiorek (gang65) wrote :
Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Does this problem still exist?

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Created attachment 70833
line compare fix

This bugs very familiar to the one we saw in the DRM KMS driver. Can you try the attached patch to see if it works.

Revision history for this message
In , Hungryhungryhobos (hungryhungryhobos) wrote :

The problem still exists. I tried disable hotplugging and the attached patch, but I won't rule out user error/ignorance. However, this laptop has encountered another video related issue beginning with kernel 3.5.4 (and still present as of 3.6.8). The laptop screen becomes garbled during boot but using external monitor still works.

This was one of the least Linux friendly machines I've used, and at this point I'm ready to send it away. Would it be useful as a development machine? I can mail it to an interested developer.

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

I hate to see you lose your hardware. How about you email me privately and we can discuss me getting access to your device and fixing it.

Revision history for this message
In , X-conquistador-x (x-conquistador-x) wrote :

did you resolve problem? may be I have same bug
bug: 58409

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Not yet. I'm attempting to get my hands on some of this hardware to reproduce the problem.

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Hardware is expected around Janurary 14th. Once I get it I will work on the problem.

Revision history for this message
In , Xavier-3a (xavier-3a) wrote :

*** Bug 58409 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Xavier-3a (xavier-3a) wrote :

This should be fixed in git master, can you please give it a try and report back ?

Revision history for this message
In , X-conquistador-x (x-conquistador-x) wrote :

Sorry for such long answer
I have not this hardware anymore. When I will get it again, I will test bug

Revision history for this message
In , boenki (boenki) wrote :

I can confirm this bug is fixed in git-mainline-master.
I was affected by this bug since 0.3.x came out. Now I built it from git and it works again. Thanks.

Revision history for this message
In , Hungryhungryhobos (hungryhungryhobos) wrote :

Which git commit fixed this? It would be useful for downstream.

Revision history for this message
In , Xavier-3a (xavier-3a) wrote :

(In reply to comment #20)
> Which git commit fixed this? It would be useful for downstream.

http://cgit.freedesktop.org/openchrome/xf86-video-openchrome/commit/?id=76515c8a369346d76864e55610a6a747d9b152d8

Revision history for this message
In , Jsimmons-t (jsimmons-t) wrote :

Since it works we can close this ticket.

no longer affects: fglrx-installer (Ubuntu)
no longer affects: openchrome
bugbot (bugbot)
tags: added: xubuntu
Changed in xserver-xorg-video-openchrome (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in openchrome:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Rodrigo Miguel (linuxlike-blogspot) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is fixed in trusty

Changed in xserver-xorg-video-openchrome (Ubuntu):
status: Triaged → Fix Released
tags: added: saucy
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Rodrigo, or anyone else affected,

Accepted xserver-xorg-video-openchrome into saucy-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/xserver-xorg-video-openchrome/1:0.3.1-0ubuntu2.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in xserver-xorg-video-openchrome (Ubuntu Saucy):
status: New → Triaged
importance: Undecided → Medium
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Rodrigo Miguel (linuxlike-blogspot) wrote :

I tested the proposed package in Lubuntu 13.10 live usb. It fixes this bug and works for me.

Revision history for this message
Alberto Jovito (thedemon007) wrote :

Thanks Rodrigo....

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-openchrome - 1:0.3.1-0ubuntu2.2

---------------
xserver-xorg-video-openchrome (1:0.3.1-0ubuntu2.2) saucy; urgency=low

  *Include new patches to fix X.org 1.14 crash (LP: #1251849)
    - debian/patches/fix_incompatibility_X.org_1.14.diff :
    - Removing call to miInitializeBackingStore() no longer
       exist in xorg server 1.14
    - Commit 17973712f083100cc041d50fca30e248846e5fd2
  * Include new patches to fix crash with Chrome 9 HC chips (LP: #1165232)
    - debian/patches/fix_Chrome_9_HC_crash.diff :
    - Commit 76515c8a369346d76864e55610a6a747d9b152d8
  * Update debian/control homepage field.
 -- Alberto Jovito <email address hidden> Mon, 24 Mar 2014 00:15:34 -0430

Changed in xserver-xorg-video-openchrome (Ubuntu Saucy):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for xserver-xorg-video-openchrome has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

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.