Bug 53307 - xf86-video-openchrome 0.3.0 locks system
Summary: xf86-video-openchrome 0.3.0 locks system
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/openchrome (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Openchrome development list
QA Contact:
URL:
Whiteboard:
Keywords:
: 58409 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-09 20:18 UTC by hungryhungryhobos
Modified: 2013-03-20 21:57 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg log (52.00 KB, text/x-log)
2012-08-09 20:18 UTC, hungryhungryhobos
no flags Details
dmesg (38.63 KB, text/plain)
2012-09-01 01:23 UTC, hungryhungryhobos
no flags Details
line compare fix (488 bytes, patch)
2012-11-30 13:57 UTC, James Simmons
no flags Details | Splinter Review

Description hungryhungryhobos 2012-08-09 20:18:58 UTC
Created attachment 65356 [details]
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
Comment 1 Xavier Bachelot 2012-08-28 19:26:35 UTC
This log really is from 0.2.906. Can you please provide the 0.3.0 log ?
Comment 2 James Simmons 2012-08-31 13:41:37 UTC
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.
Comment 3 hungryhungryhobos 2012-09-01 01:23:24 UTC
Created attachment 66429 [details]
dmesg
Comment 4 hungryhungryhobos 2012-09-01 01:24:28 UTC
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.
Comment 5 Bartosz Kosiorek 2012-11-01 20:30:47 UTC
Please build the latest openchrome from git master and try to reproduce this problem.
Comment 6 Bartosz Kosiorek 2012-11-01 21:26:49 UTC
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"
Comment 7 hungryhungryhobos 2012-11-04 01:48:03 UTC
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.
Comment 8 Bartosz Kosiorek 2012-11-19 09:38:57 UTC
Try to disable hotplugging, by following instruction:
https://wiki.archlinux.org/index.php/Xorg_input_hotplugging#Disabling_input_hot-plugging
Comment 9 James Simmons 2012-11-27 13:05:35 UTC
Does this problem still exist?
Comment 10 James Simmons 2012-11-30 13:57:56 UTC
Created attachment 70833 [details] [review]
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.
Comment 11 hungryhungryhobos 2012-12-03 21:42:58 UTC
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.
Comment 12 James Simmons 2012-12-11 14:03:40 UTC
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.
Comment 13 conquistador 2012-12-17 14:23:46 UTC
did you resolve problem? may be I have same bug
bug: 58409
Comment 14 James Simmons 2012-12-23 20:35:32 UTC
Not yet. I'm attempting to get my hands on some of this hardware to reproduce the problem.
Comment 15 James Simmons 2012-12-31 19:22:55 UTC
Hardware is expected around Janurary 14th. Once I get it I will work on the problem.
Comment 16 Xavier Bachelot 2013-01-28 15:29:10 UTC
*** Bug 58409 has been marked as a duplicate of this bug. ***
Comment 17 Xavier Bachelot 2013-02-01 13:29:42 UTC
This should be fixed in git master, can you please give it a try and report back ?
Comment 18 conquistador 2013-02-01 13:43:34 UTC
Sorry for such long answer
I have not this hardware anymore. When I will get it again, I will test bug
Comment 19 boenki 2013-02-24 07:02:34 UTC
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.
Comment 20 hungryhungryhobos 2013-02-24 21:40:00 UTC
Which git commit fixed this? It would be useful for downstream.
Comment 21 Xavier Bachelot 2013-02-24 23:11:22 UTC
(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
Comment 22 James Simmons 2013-03-20 21:57:04 UTC
Since it works we can close this ticket.


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.