[K8M800] Xubuntu does not display properly on Lucid alpha-1 with updates, on Averatec 3280

Bug #504381 reported by Peter Belew on 2010-01-07
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-openchrome (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-openchrome

I installed the Xubuntu Lucid alpha-1 on this Averatec 3280, then was able to update it with apt-get up through today. With the kernel shown below, the login screen appears shifted over 1/2 the screen width, so the X-axis origin is in the middle of the screen. On first booting, a popup appears saying "Xfce power manager" and "HAL daemon is not running". When I click on the Close button, I can log in (The login screen appears at the side of the screen, wrapping around from the right side to the left side of the screen.

Once I log in, the normal Xfce screen does not appear (it did when I first installed, before updating, but with 1600x1200 resolution, which does not work on this 1024x768 panel). Instead, a small text window appears on the upper-left of the logical screen (in this case, it's located to the right of the center of the screen).

Ubuntu version and kernel version
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu lucid (development branch)"
Linux eros 2.6.32-9-generic #13-Ubuntu SMP Thu Dec 17 17:02:51 UTC 2009 i686 GNU/Linux
model name : Mobile AMD Sempron(tm) Processor 2800+

This is somewhat similar to bug #495553 running ubuntu lucid alpha-1 on the same system, but the final effect on the display is different. Here I can't get a regular xfce display to appear, whereas under gnome ubuntu I could, but with the screen offset. Also the initial popup regarding the HAL daemon does not appear for the Gnome version of ubuntu.

As with bug #495553, when I try to switch to a tty with ctl-alt-F1 through F6, I get a black screen, but can switch back with alt-F7 normally.

I'm attaching an apport bug report file from this system.

The behavior is different with an earlier kernel - I'll append information about that later.

Peter Belew (peterbe) wrote :

Running the 2.6.32-7-generic #10-Ubuntu SMP kernel instead, the symptoms are the same except that the screen is NOT offset . The tiny text window appears on the actual upper-left of the screen, with the rest of the screen filled with the normal Xfce blue screen background image.

Again, trying to switch to a tty with ctrl-alt-F1 through F6 results in a useless screen, with a multicolored background; switching back to the X display works with alt-F7.

Ubuntu version and kernel version
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu lucid (development branch)"
Linux eros 2.6.32-7-generic #10-Ubuntu SMP Sun Dec 6 13:43:20 UTC 2009 i686 GNU/Linux
model name : Mobile AMD Sempron(tm) Processor 2800+

Peter Belew (peterbe) on 2010-01-07
description: updated
summary: - Xubuntu does not display propery on Lucid alpha-1 with updates, on
- Averatec 3280
+ [K8M800 ] Xubuntu does not display propery on Lucid alpha-1 with
+ updates, on Averatec 3280
summary: - [K8M800 ] Xubuntu does not display propery on Lucid alpha-1 with
- updates, on Averatec 3280
+ [K8M800] Xubuntu does not display propery on Lucid alpha-1 with updates,
+ on Averatec 3280

Hi Peter.

Please use new mode switch by adding to your xorg.conf file following lines:
   Option "modeSwitch" "new"

Is it works for you?

Try also apply this patch.

Ensure that video playing is working.

Hi Bartosz -

The xorg.conf I'm using for both Ubuntu (Gnome) and Xubuntu has

Section "Device"
        Driver "openchrome"
        VendorName "VIA Tech"
        BoardName "openchrome"
        Identifier "Configured Video Device"
        Option "SWCursor" "true"
        Option "modeSwitch" "new"
        Option "PanelSize" "1024x768"
        #Option "PanelID" "0" #640x480, Single, Dithering
        # Option "EnableAGPDMA" "Off"
        # Option "NoAccel" "true"
EndSection

But I haven't made the patch yet.

Right now I have Ubuntu installed in my test partition; should I try
the patch also under Gnome?

Thanks, Peter

On Sat, Jan 9, 2010 at 12:36 AM, Bartosz <email address hidden> wrote:
> Hi Peter.
>
> Please use new mode switch by adding to your xorg.conf file following lines:
>   Option "modeSwitch" "new"
>
> Is it works for you?
>
>
> Try also apply this patch.
>
> Ensure that video playing is working.
>
> ** Attachment added: "k8m800_newmode.patch"
>   http://launchpadlibrarian.net/37640456/k8m800_newmode.patch
>
> --
> [K8M800] Xubuntu does not display propery on Lucid alpha-1 with updates, on Averatec 3280
> https://bugs.launchpad.net/bugs/504381
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
It's completely normal that you lose data on "Windows" platforms.
That's why you have a UNIX or Linux or BSD server for backups.

SMAUG: http://scruz.org/
My Web:http://littlegreenmen.armory.com/~peterbe/
UBUNTU 10.04 LTS April 2010
  https://wiki.ubuntu.com/LucidLynx

Peter Belew (peterbe) wrote :

I tried building the driver with the patch on the Gnome version of
Ubuntu alpha-1, and the screen went blank after booting. I'm not home
to try logging in with ssh, but when I am, I'll try installing the
binary driver and continue on ... I won't have time to try xubuntu
until after the weekend.

On Sat, Jan 9, 2010 at 2:34 PM, Peter Belew <email address hidden> wrote:
> Hi Bartosz -
>
> The xorg.conf I'm using for both Ubuntu (Gnome) and Xubuntu has
>
> Section "Device"
>        Driver "openchrome"
>        VendorName  "VIA Tech"
>        BoardName   "openchrome"
>        Identifier      "Configured Video Device"
>        Option "SWCursor" "true"
>        Option "modeSwitch" "new"
>        Option "PanelSize" "1024x768"
>        #Option "PanelID" "0"    #640x480,    Single,    Dithering
>        #       Option "EnableAGPDMA"  "Off"
>        #       Option "NoAccel" "true"
> EndSection
>
> But I haven't made the patch yet.
>
> Right now I have Ubuntu installed in my test partition; should I try
> the patch also under Gnome?
>
> Thanks, Peter
>
> On Sat, Jan 9, 2010 at 12:36 AM, Bartosz <email address hidden> wrote:
>> Hi Peter.
>>
>> Please use new mode switch by adding to your xorg.conf file following lines:
>>   Option "modeSwitch" "new"
>>
>> Is it works for you?
>>
>>
>> Try also apply this patch.
>>
>> Ensure that video playing is working.
>>
>> ** Attachment added: "k8m800_newmode.patch"
>>   http://launchpadlibrarian.net/37640456/k8m800_newmode.patch
>>
>> --
>> [K8M800] Xubuntu does not display propery on Lucid alpha-1 with updates, on Averatec 3280
>> https://bugs.launchpad.net/bugs/504381
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>
>
>
> --
> It's completely normal that you lose data on "Windows" platforms.
> That's why you have a UNIX or Linux or BSD server for backups.
>
> SMAUG: http://scruz.org/
> My Web:http://littlegreenmen.armory.com/~peterbe/
> UBUNTU 10.04 LTS April 2010
>  https://wiki.ubuntu.com/LucidLynx
>

--
It's completely normal that you lose data on "Windows" platforms.
That's why you have a UNIX or Linux or BSD server for backups.

SMAUG: http://scruz.org/
My Web:http://littlegreenmen.armory.com/~peterbe/
UBUNTU 10.04 LTS April 2010
  https://wiki.ubuntu.com/LucidLynx

Hello.
So the option:
Option "modeSwitch" "new"
nothing helps?

Is your computer have blank screen with this option?

Attach your /var/log/Xorg.0.log file.
If you can from after screen blank (or /var/log/Xorg.0.log.old after reboot).

Peter Belew (peterbe) wrote :

Here are the Xorg.n.* log files from yesterday (I booted into Jaunty on the laptop and mounted the partition with /var/log/ on it to get these logs). And from xorg.conf, I have

Section "Device"
        Driver "openchrome"
        VendorName "VIA Tech"
        BoardName "openchrome"
        Identifier "Configured Video Device"
        Option "SWCursor" "true"
        Option "modeSwitch" "new"
        Option "PanelSize" "1024x768"
        #Option "PanelID" "0" #640x480, Single, Dithering
        # Option "EnableAGPDMA" "Off"
        # Option "NoAccel" "true"
EndSection

I do get a blank screen after booting into xubuntu with the patch in place.

Checking the patch in the driver sources, I have this diff file (difference between patched and old unpatched via_driver.c file):

# diff via_driver*.c
715d714
< pVia->UseLegacyModeSwitch = TRUE;
1592,1595c1591,1593
< if (pBIOSInfo->Panel->IsActive &&
< ((pVia->Chipset == VIA_K8M800) ||
< (pVia->Chipset == VIA_VM800))) {
< xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "Panel on K8M800 and "
---
> if (pBIOSInfo->Panel->IsActive &&
> (pVia->Chipset == VIA_VM800)) {
> xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "Panel on "

from lcpci, I have
01:00.0 VGA compatible controller: VIA Technologies, Inc. K8M800/K8N800/K8N800A [S3 UniChrome Pro] (rev 01)

Peter Belew (peterbe) wrote :

Actually, the test above in #7 was done with ubuntu gnome, not xubuntu installed.

Also, I just rebuilt the driver with the patch removed (I was able to ssh in and do the rebuild of the driver), and ubuntu boots with the slit screen described in bug #495553, but it does run well otherwise.

After re-installing xubuntu and updating it, I can try the patch again, or possibly an updated patch. Possibly I'll wait until the alpha-2 ISO appears on this coming Thursday.

Peter Belew (peterbe) on 2010-01-12
summary: - [K8M800] Xubuntu does not display propery on Lucid alpha-1 with updates,
- on Averatec 3280
+ [K8M800] Xubuntu does not display properly on Lucid alpha-1 with
+ updates, on Averatec 3280
Changed in xserver-xorg-video-openchrome (Ubuntu):
status: New → Confirmed
importance: Undecided → Low

I have not tried Xubuntu since my last comment here. I'll try that
when alpha-3 comes out.

On Fri, Feb 5, 2010 at 10:19 AM, Bartosz <email address hidden> wrote:
> ** Changed in: xserver-xorg-video-openchrome (Ubuntu)
>       Status: New => Confirmed
>
> ** Changed in: xserver-xorg-video-openchrome (Ubuntu)
>   Importance: Undecided => Low
>
> --
> [K8M800] Xubuntu does not display properly on Lucid alpha-1 with updates, on Averatec 3280
> https://bugs.launchpad.net/bugs/504381
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
It's completely normal that you lose data on "Windows" platforms.
That's why you have a UNIX or Linux or BSD server for backups.

SMAUG: http://scruz.org/
My Web:http://littlegreenmen.armory.com/~peterbe/
UBUNTU 10.04 LTS April 2010
  https://wiki.ubuntu.com/LucidLynx

Bryce Harrington (bryce) on 2010-03-18
tags: added: xubuntu
tags: added: lucid
tags: added: patch
Manuel Lucena (mlucena) wrote :

Same problem in Lucid Beta 1

lspci:

01:00.0 VGA compatible controller: VIA Technologies, Inc. K8M800/K8N800/K8N800A [S3 UniChrome Pro] (rev 01)

Bartosz Kosiorek (gang65) wrote :

Try to upgrade kernel and check again.

Sentello (sentello) wrote :

same here
01:00.0 VGA compatible controller: VIA Technologies, Inc. CN400/PM800/PM880/PN800/PN880 [S3 UniChrome Pro] (rev 02)

Sentello (sentello) wrote :

same here
01:00.0 VGA compatible controller: VIA Technologies, Inc. CN400/PM800/PM880/PN800/PN880 [S3 UniChrome Pro] (rev 02)

Carlos Gomes (crlsgms) wrote :

same here.

00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: VIA Technologies, Inc. K8M800/K8N800/K8N800A [S3 UniChrome Pro] (rev 01)

got no xorg.conf settled. already got openchrome drivers, but still buggy

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers