Screen shows garbage once X is started, OK when an external monitor is plugged in, 11.04+openchrome

Asked by WebBrickSystems

I'm rebuilding a touchscreen with 11.04

The internal screen will show garbage, like a loss of sync.

If an internal screen is used and the system is repowered both screens are perfect.

If the external screen is removed, the problem shows up. During the boot process the screen is fine.

I've been trawling through forums but just find stuff about corruption, mine happens from the off.

Its a VIA 500Mhz processor and we've seen this problem before with openchrome drivers, we knew how to fix it with xorg.conf, but now that is deprecated.

lspci
00:00.0 Host bridge: VIA Technologies, Inc. CX700/VX700 Host Bridge (rev 10)
00:00.1 Host bridge: VIA Technologies, Inc. CX700/VX700 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CX700/VX700 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. CX700/VX700 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CX700/VX700 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CX700/VX700 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:0f.0 IDE interface: VIA Technologies, Inc. VX800 Serial ATA and EIDE Controller
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 90)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. CX700/VX700 PCI to ISA Bridge
00:11.7 Host bridge: VIA Technologies, Inc. CX700/VX700 Internal Module Bus
00:13.0 Host bridge: VIA Technologies, Inc. CX700/VX700 Host Bridge
00:13.1 PCI bridge: VIA Technologies, Inc. CX700/VX700 PCI to PCI Bridge
01:00.0 VGA compatible controller: VIA Technologies, Inc. CX700/VX700 [S3 UniChrome Pro] (rev 03)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
02:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
80:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA High Definition Audio Controller) (rev 10)

This is not what was expected:

sudo fbset
[sudo] password for webbrick:

mode "640x480-73"
    # D: 30.720 MHz, H: 36.923 kHz, V: 73.260 Hz
    geometry 640 480 640 480 32
    timings 32552 80 32 16 4 80 4
    rgba 8/16,8/8,8/0,0/0
endmode

grep for EE in the X log:

grep EE /var/log/Xorg.0.log
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 21.915] (II) Loading extension MIT-SCREEN-SAVER
[ 22.591] (II) XINPUT: Adding extended input device "DIALOGUE INC PenMount USB" (type: TOUCHSCREEN)

Regards

Andy

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-video-s3 Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

You can use xorg.conf. The OS by default doesn't ship with one and relies on udev but if the file exists it will be obeyed, it is not deprecated in any way.

Revision history for this message
WebBrickSystems (andy-thirtover) said :
#2

!!! IT WORKED !!!

I guess it was force panel, would be nice to know how to do this in KMS.

The xorg.conf that worked was:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
        Identifier "Default Layout"
        Screen "Default Screen"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Monitor "Configured Monitor"
        Device "Configured Video Device"
EndSection

Section "Monitor"
        Identifier "Configured Monitor"
EndSection

Section "Device"
        Identifier "Configured Video Device"
        Driver "openchrome"
        Option "ForcePanel" "on"
        Option "ActivateDevice" "CRT|LCD|DFP"
EndSection

Revision history for this message
WebBrickSystems (andy-thirtover) said :
#3

Thanks actionparsnip, that solved my question.