xf86-video-geode: 800x480 and 1024x600 Panel support is broken

Bug #433142 reported by Rainer Oliveira
38
This bug affects 5 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-geode (Debian)
Fix Released
Unknown
xserver-xorg-video-geode (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Geode driver do not display 1024x600 resolution in (K)UNR Karmic.
Actually, the bug also affects Jaunty, but doesnt affect Intrepid.

I used to use a custom xorg.conf in intrepid, but it doesnt work on Jaunty or Karmic. In Jaunty and karmic, I could only use 1024x768 whick makes the screen bigger than the real display and is impossible to open new programs, specially in the menus (they simply disapear in the bottom of the screen).

Further investigations on other distros made me think this is a regression from the xserver-xorg-video-geode 2.10.1-2. This bug affects all drivers from 2.10.1 (which is in Intrepid). In fact, Debian Lenny (that uses geode 2.10.1-2) works perfectly, VectorLinux 6.0 lite (that uses geode 2.9 - i think), also works. Jaunty (geode 2.11.1-1) and Karmic (2.11.4.1-1) dont work, they only display 1024x768...

Actually, when I use the automatic configuration in Jaunty and Karmic (with no xorg.conf), the screen really seems to be 1024x768, but when I use the custom xorg.conf (the same I use in Intrepid), the screen seems different... like it was 800x768 (I know it's wierd, but it doesnt seem to be 1024x768 at all - everything is really ugly).

Hope it will work in Karmic in time.
Thanks in advance.

[lspci]
00:01.1 VGA compatible controller [0300]: Advanced Micro Devices [AMD] Geode LX Video [1022:2081]
     Subsystem: Advanced Micro Devices [AMD] Geode LX Video [1022:2081]

Tags: hardy karmic
Revision history for this message
Rainer Oliveira (raineroliveira) wrote :
Revision history for this message
Rainer Oliveira (raineroliveira) wrote :
Revision history for this message
Rainer Oliveira (raineroliveira) wrote :
Revision history for this message
Rainer Oliveira (raineroliveira) wrote :
Revision history for this message
Rainer Oliveira (raineroliveira) wrote :
Revision history for this message
Rainer Oliveira (raineroliveira) wrote :
Bryce Harrington (bryce)
Changed in xserver-xorg-video-geode (Ubuntu):
status: New → Confirmed
Revision history for this message
Rainer Oliveira (raineroliveira) wrote :

Hum....
As a "workaround", is it possible to use the 2.10.1-2 version geode driver in Ubuntu Karmic or Jaunty?
I tried to compile the driver from x.org, but it complains about xserver-xorg and xproto packages "not found".

I saw in https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-geode/+bug/234898 (i dont know how to use links) that q-funk made the geode-driver 2.11.4.1 avaliable for jaunty, intrepid and even for hardy, but can I (or you) made the 2.10.1-2 avaliable for Jaunty and Karmic? I know it's not the best solution, but it would be good for me as a workaround for my netbook until the bug is fixed upstream (jaunty is much faster in my netbook than intrepid, and Karmic is even more).

Thanks again.

Revision history for this message
Rainer Oliveira (raineroliveira) wrote :

Tried the new driver version (2.11.6-1), but it didnt help... I still cant get the 1024x600 to work.

Thanks.

Revision history for this message
Michael Forell (michael-f) wrote :

Hi

I think I have the same issue running a Geode Graphics Card with a native display resolution of 800x480 on my Hercules ecafe ec-800 running Xubuntu 9.10 Karmic beta.
My Xorg.0.log outputs
(II) GEODE(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(WW) GEODE(0): Option "PanelGeometry" is not used
(--) RandR disabled
Is it possible that there is a bug with the PanelGeometry option?

Thanks
Michae

Bryce Harrington (bryce)
tags: added: karmic
Bryce Harrington (bryce)
description: updated
Revision history for this message
Albrecht Gebhardt (albrecht-gebhardt) wrote :

If the driver says 'Option "PanelGeometry" is not used' it means that the hardware is not Geode GX but a Geode LX.

Geode LX has no "PanelGeometry" Option, it uses a "PanelMode" Option which has to be filled with the ModeLine specified earlier.

This at least applies to an Hercules eCafe EC-800 which I had to setup today. In this case the panel is only 800x480 and the Xserver stretches the output to 800x600 without manual fix.

I attach my working xorg.conf, it sets up an 800x480 display, the commented out parts contain lines which should work for 1200x600.

I'm using Karmic (xserver-xorg-video-geode 2.11.6-1).

Albrecht

Revision history for this message
datenteiler (datenteiler) wrote :

Hi,

same problem here on a Hercules eCafe EC-800 with Xubuntu 9.10. I have tried Albrecht's xorg.conf but it failed. I have the GDM login screen with the correct resolution but XFCE doesn't want to start. I fall back to the login screen of GDM. After I have deleted the xorg.conf I can boot normally into XFCE.

This is my lspci:

00:01.0 Host bridge: Advanced Micro Devices [AMD] CS5536 [Geode companion] Host Bridge (rev 33)
00:01.1 VGA compatible controller: Advanced Micro Devices [AMD] Geode LX Video
00:01.2 Entertainment encryption device: Advanced Micro Devices [AMD] Geode LX AES Security Block
00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0f.0 ISA bridge: Advanced Micro Devices [AMD] CS5536 [Geode companion] ISA (rev 03)
00:0f.2 IDE interface: Advanced Micro Devices [AMD] CS5536 [Geode companion] IDE (rev 01)
00:0f.3 Multimedia audio controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] Audio (rev 01)
00:0f.4 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC (rev 02)
00:0f.5 USB Controller: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC (rev 02)

Revision history for this message
Rainer Oliveira (raineroliveira) wrote :

Thanks a lot, Christian!!

Changing the PanelGeometry for PanelMode really worked for me.
I just need to make an adjustments, but worked really nice :)

Before mark this as fixed, I guess it would be a good idea to make these changes avaliable by default in next Ubuntu releases.

Thanks again, everybody!
Below, my new working xorg.conf for 1024x600 resolution in Karmic.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Rainer, how exactly are we supposed to change the defaults for the next Ubuntu release? What should be the new default mode?

Revision history for this message
Rainer Oliveira (raineroliveira) wrote :

Hi!

Honestly, I dont understand autoconfig scripts and those kind of things =)
(I dont know if it helps), but I manage to get the 1024x600 resolution in Karmic with this minimal xorg.conf. So i guess thats the xorg expected behavior to this specific hardware.

If you need more info, please let me know.

Thanks.

Revision history for this message
Anewangelfades (davide-borelli) wrote :

Hello,
I own an Hercules EC-800 and, tired of Mandriva, I'm trying to use Xubuntu distribution.
Every one I tried gives me the problem you are talking about, and I'd like to know if it's possible, with Xubuntu 9.10, to have both the resolutions working, I mean that I can choose between 800x480 and 1024x600.
I also didn't understand very well which one of the xorg.conf above I have to use maybe I have to try every one of them?
Thanks a lot
Davide

Revision history for this message
Anewangelfades (davide-borelli) wrote :

By the way, I don't have any /etc/X11/xorg.conf file in 9.10!!!
What am I supposed to do?
Thamks a lot again
Davide

Revision history for this message
Anewangelfades (davide-borelli) wrote :

Ok,
I created the needed file in /etc/X11/, stopped gdm giving
sudo service gdm stop
and restarted with
sudo service gdm start
but only 800x480 works: is there a definitive patch or something?

I used Albrecht's xorg.conf for Hercules eCafe EC-800 and Xorg 1.6.4

Thanks again

Davide

Revision history for this message
Rainer Oliveira (raineroliveira) wrote :

Hi,

I dont know how you used the Albrecht's xorg.conf, but if I understood it correctly, you might use a "modified" xorg.conf.
You need to uncomment some lines of his xorg.conf.

It would be something like the file I attached above.

Hope it works (I dont have an Hercules eCafe).

Thanks.

Revision history for this message
Albrecht Gebhardt (albrecht-gebhardt) wrote : Re: [Bug 433142] Re: geode driver do not display 1024x600 on (K)UNR Karmic

Rainer Oliveira schrieb:
> Hi,
>
> I dont know how you used the Albrecht's xorg.conf, but if I understood it correctly, you might use a "modified" xorg.conf.
> You need to uncomment some lines of his xorg.conf.
>
>
For that eCafe machine I had only the 800 x something resolution worked
(without this xorg.conf even that did not work).

But I had the eCafe from a colleague only for two days to fix its setup
... so I can't do experiments now.

Albrecht
> It would be something like the file I attached above.
>
> Hope it works (I dont have an Hercules eCafe).
>
> Thanks.
>
> ** Attachment added: "Albrecht's xorg.conf with 1024x600 enabled"
> http://launchpadlibrarian.net/39792250/xorg.conf
>
>

Revision history for this message
Anewangelfades (davide-borelli) wrote : Re: geode driver do not display 1024x600 on (K)UNR Karmic

Ok,
it works under gnome!
But for this small machine (only 512 MB of RAM and a 500 MHz AMD Geode), LXDE should be much better:
I tried to install LXDE+OpenBox, but only the 800x480 works!
I really can't undersatnd why, do you have any ideas?
Thanks a lot

Davide

Revision history for this message
Tony Smith (agentsmith926) wrote :

the below workaround is posted elsewhere (in pieces), but may be useful for those experiencing this bug:
I finally came to use it for an old machine (otherwise working karmic perfectly of course) with an old D1751 17" AT&T monitor, after lots of research....

# use 'cvt' to get the modeline below to set for YOUR machine
# commands to set the screen to 1024 X 768 with xrandr, only on the machine required
xrandr --newmode "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
xrandr --addmode VGA1 1024x768_60.00
xrandr -s 2

# xrandr seems to work around the issue of the 'barebones' xorg.conf

Revision history for this message
Anewangelfades (davide-borelli) wrote :

Everything works in Xubuntu, but...
every time I have to login, i must start a xterm session, delete the file

$HOME/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml

type "exit" to switch back to graphical login screen and login again!

And then, the resolution is 800x480: if I change it to 1024x600, a displays.xml file is written again! And if I delete it, the problem still remains.

The bug affects lots of people (for exmple, see here: http://newyork.ubuntuforums.org/showthread.php?t=1309603 )

How can I get rid of this problem?

Thanks a lot!

Revision history for this message
Anewangelfades (davide-borelli) wrote :
Revision history for this message
Hunk Cui (hunk-cui) wrote :

Can you try to use the xf86-video-geode 2.11.8?

Revision history for this message
phpmonkey (phpmonkey) wrote :

I have a Twinhead Twinmate e10 laptop which I have been struggling to get working with a 1024x600 screen in Ubunt or UNR. It always goes to 1024x768. I'd made it used to make it liveable by putting two blank panels at the bottom that "filled in" the excess 168 pixels. Then, working in full-screen mode it was the right size. Still not ideal though!

The most recent driver I was using was 2.11.8-4 (from a fresh install of Ubuntu 10.04)

But now I've got it working, thanks to Albrecht & Rainer, with the attached xorg file. I've also attached the lspci for my machine in case it's of interest!

Revision history for this message
phpmonkey (phpmonkey) wrote :

Here's the xorg.conf for my machine (created in /etc/X11/xorg.conf as 10.04 doesn't have one by default)

Bryce Harrington (bryce)
tags: added: hardy
Revision history for this message
Hunk Cui (hunk-cui) wrote :

Hi, phpmonkey & Rainer
    I have some question to ask you.
1). Why you use a 1024x600 screen? Is it 16:9 in your laptop. For the common dislay, both 4:3 and 16:9, after I use your xorg.conf to test the display (setup the AUTO menu), my xf86-video-geode version is 2.11.8, XServer version is 1.7.1. It also properly display (both 1024x600(16:9) and 1024x768(4:3)). So I confuse your question.

Why do you want to use them?

Is that what you want to do?

2).The attachment file is my xorg.conf. You can try to it in your environment. Please support the reproduce steps about bug. Could you support a picture to explain the phenomenon? I will follow it.

Thanks,
Hunk Cui

Revision history for this message
Rainer Oliveira (raineroliveira) wrote :

Hi Hunk.

1. yes, that's what I wanted to do. My old netbook had an 1024x600 (16:9) screen. I dont know if that was your only question.

2. I'm afraid I can't use your xorg.conf because I sold the netbook. So I can't help you. Maybe phpmonkey can.

Thanks.

Revision history for this message
Hunk Cui (hunk-cui) wrote :

Hi, Rainer

1. An 1024x600 (16:9) screen is properly diplay (through setup the VGA/LVDS AUTO menu), it can display the 16:9 and 4:3 screen, so I confuse whether it is a bug.
2. If everyone reproduce the bug phenomenon, please tell me the steps.

Thanks,
Hunk Cui,

Revision history for this message
phpmonkey (phpmonkey) wrote :

Dear Hunk Cui,

Yes my computer has a 16:9 ratio (lspci already provided) which is why I was seeking a 1024x600 resolution.

I will provide the info I have, please let me know if I am missing anything.

I tested the three scenarios in the following order

1. no xorg.conf - default for 10.04
2. Hunk Cui's xorg.conf
3. "my" xorg.conf (provided earlier)

I will provide screenshots showing Monitor config & xorg.0.log

I will also attach my syslog (which spans the three cases).

Please let me know if I can do anything else (preferably with instructions!)

Revision history for this message
phpmonkey (phpmonkey) wrote :
Revision history for this message
phpmonkey (phpmonkey) wrote :
Revision history for this message
phpmonkey (phpmonkey) wrote :
Revision history for this message
phpmonkey (phpmonkey) wrote :
Revision history for this message
phpmonkey (phpmonkey) wrote :
Revision history for this message
phpmonkey (phpmonkey) wrote :

As you can see from the screenshots...

#1 doesn't have the option 1024x600 and defaults to 1024x768

#2 when I rebooted I got the following error message:

"Ubuntu is running in low-graphics mode.
The following error was encountered. You may need to update your configuration to solve this.
(EE) Failed to load module "extmod" (module does not exist, 0)
(EE) Failed to load module "dbe" (module does not exist, 0)
(EE) Failed to load module "glx" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "record" (module does not exist, 0)
(EE) Failed to load module "geode" (module does not exist, 0)
(EE) No drivers available"

Then I didn't have the option of 1024x600 and it defaulted to 800x600

#3 works fine

Revision history for this message
Hunk Cui (hunk-cui) wrote :

Hi, phpmonkey,

Please support your work fine xorg.conf file.
BTW: as usual, you can run "/usr/bin/Xorg -configure" to produce the system xorg.conf (in /root/xorg.conf.new), then replace the Driver name is "geode". then copy to "/etc/X11/" (rename xorg.conf), the system will find this file.

Thanks,
Hunk Cui

Revision history for this message
Hunk Cui (hunk-cui) wrote :

Hi, phpmonkey,
Please provide your work fine xorg.conf file.
BTW: as usual, you can run "/usr/bin/Xorg -configure" to produce the system xorg.conf (in /root/xorg.conf.new), then replace the Driver name is "geode". then copy to "/etc/X11/" (rename xorg.conf), the system will find this file.
Thanks,
Hunk Cui

Revision history for this message
Hunk Cui (hunk-cui) wrote :

Hi, phpmonkey

You can setup 1024x600 screen, and run it for a long time. Then see whether it is working fine.

Thanks,
Hunk Cui

Revision history for this message
phpmonkey (phpmonkey) wrote :

Hi Hunk Cui,

The xorg.conf file that works for me is attached to this earlier comment: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-geode/+bug/433142/comments/26

I'm fine with that conf file, but I'm happy to do more testing, so I tried to run "usr/bin/Xorg -configure" but I just get the error message:

"Fatal server error:
Server is already active for display 0
    If this server is no longer running, remove /tmp/.X0-lock
    and start again.

Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.

ddxSigGiveUp: Closing log"

I'm afraid I'm not familiar with all this. I visited the wiki, but it didn't mean much to me.

35 comments hidden view all 115 comments
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-geode - 2.11.9-5

---------------
xserver-xorg-video-geode (2.11.9-5) unstable; urgency=low

  * Merged patches from upstream GIT:
    - Fix a typo on a panel resolution's sync frequency.
    - Add native support for the 1024x600 panel resolution used on the
      Hercules eCafe EC800 (LP: #433142)
 -- Martin-Eric Racine <email address hidden> Wed, 29 Sep 2010 17:01:31 +0300

Changed in xserver-xorg-video-geode (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
phpmonkey (phpmonkey) wrote :

Wonderful! I can confirm that with 2.11.9-5 on my TwinHead Twinmate e10 I can now get the correct ratio.

However, It defaults to 640x480 (4:3), which I quickly changed to 1024x600 (16:9) ;) [These are now the only two options]

When I boot up, the login screen still displays skewy, with the 4:3 ratio (which doesn't happen when I have the xorg.conf file)

Cheers,

Jenny (phpmonkey)

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Right, so we finally offer the right modes, but we default to the wrong one. This can probably be easily fixed.

I wonder what makes the display buggy during boot, though.

Changed in xserver-xorg-video-geode (Ubuntu):
status: Fix Released → In Progress
Revision history for this message
frank huang (frankr-huang) wrote :

phpmonkey,
   I am glad that you can get the 1024x600 resolution for your panel without the modeline in xorg.conf.
   As you said, there are two issues remaining here:
   1) The remaining resolution options are reduced. Your remaining options turn to be two. And on my notebook, there are 3 options(1024x600, 640x480, 320x240) remaining.
   2)the login screen still displays skewy, with the 4:3 ratio. I have not met this issue. My default resolution after boot is 1024x600, when I change the resolution from 1024x600 to 640x480, everything is fine.
   My X server version is 1.7.99.901.
   Could you provide your Xorg.0.log for this experiment?

Thanks,
Frank

Revision history for this message
phpmonkey (phpmonkey) wrote :

Hi Frank,

In reply to your comments,

1)

I have attached the Xorg.0.log in question.

Revision history for this message
phpmonkey (phpmonkey) wrote :

I'm sorry, I didn't intend to submit that comment mid-draft (:

My xserver-xorg version is 1.7.5+5Ubuntu1

In reply to your comments,

1) Since the correct ratio for my screen is 16:9, I'm honestly not fussed about the availability of 4:3 ratios (640x480, 320x240, especially that last one given my screen size :))

2) This on the other hand is annoying. I've attached the Xorg.0.log

Cheers,
Jenny (phpmonkey)

Revision history for this message
frank huang (frankr-huang) wrote :

Thanks for your reply. From your log file,
(**) GEODE(0): Default mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 59.9 Hz
(II) GEODE(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
(**) GEODE(0): Driver mode "1024x600": 49.0 MHz (scaled from 0.0 MHz), 37.3 kHz, 60.0 Hz
(II) GEODE(0): Modeline "1024x600"x60.0 48.96 1024 1064 1168 1312 600 601 604 622 -hsync -vsync (37.3 kHz)
We can see 1024x600 is the driver mode. That should be default:).
My patch is as follow:
+ {MODEPREFIX, 48960, 1024, 1064, 1168, 1312, 0, 600, 601, 604, 622, 0,
+ V_NHSYNC | V_NVSYNC, MODESUFFIX}
+ , /* 1024x600@60 */
Can you change the 48960 to 65000(or 81600) and give a try? I guess the clock rate is the reason why your skewy display. I am finding the reason now.

Thanks,
Frank

Revision history for this message
phpmonkey (phpmonkey) wrote :

I upgraded my twinhead e10 to Maverick (clean install) and things worked beautifully "out of the box" (geode version installed by default is 2.11.9-5).

It booted up in 640x480 but after selecting 1024x600 (these are the only two options, fine by me!) and then "Make default" & "apply" it now boots up with the correct resolution every time. And there was much rejoicing!

Thanks everyone for your help, I really appreciate it.

Jenny (phpmonkey)

Revision history for this message
frank huang (frankr-huang) wrote :

phpmonkey,
   You can use "cvt 1024 600 80" to generate the parameter, then write this command value to replace my patch below:
+ {MODEPREFIX, 48960, 1024, 1064, 1168, 1312, 0, 600, 601, 604, 622, 0,
+ V_NHSYNC | V_NVSYNC, MODESUFFIX}
+ , /* 1024x600@60 */
  Then you can get more modes to support. The above is the result of "cvt 1024 600 60". So some modes will be pruned by X server.

Thanks,
Frank

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Jenny,
Where exactly did you select Make Default and Apply? Does this generate a custom xorg.conf with that resolution?

Revision history for this message
phpmonkey (phpmonkey) wrote :

Martin,
The Make Default & Apply are buttons in "monitor preferences".
It doesn't seem to have created a custom xorg.conf file.
I have attached a screenshot.
Cheers,
Jenny

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

I have uploaded a slightly newer version of this driver to my PPA as a Lucid package.

The main difference now is that the 1024x600 resolution will only be available if the BIOS has the Panel output mode enabled. Also, the refresh rate was updated from 60Hz to 80Hz.

Can everyone please confirm whether this works as expected, when the resolution is selected via the monitor configuration tool shown above in Comment #86?

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Currently having access to an eCafé EC800, I can confirm that 2.11.10-1 doesn't find 1024x600.

Revision history for this message
frank huang (frankr-huang) wrote :

Please help check ret value in function LXGetLegacyPanelMode() in lx_panel.c.
If that ret value is 3, the patch I commit will not affect the resolution the panel supports.
If that ret value is 7, my patch will take effet.

Thanks,
Frank

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Frank, can you please attach a small patch to this bug to implement printing the return value to the X log, so that others who may have problems with their panel may also check this? Thanks!

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

One item I'd like to point out in the above X log is that both Panel and VGA outputs are enabled by the BIOS. As such, adding support for this resolution only in lx_panel.c is likely to fail since it will not apply to the VGA output.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

It should also be noted that the X log clearly reports that the display's refresh rate in 60Hz, which means that the new 80Hz refresh rate will not work.

Revision history for this message
frank huang (frankr-huang) wrote :

Martin, the patch for printing the panel mode to X log has been committed to mail list. Please check. Actually in my previous patch, I have added note that explains why I use entry 7. I think you have seen that.
Yes, in the function LXGetLegacyPanelMode(), we firstly check if panel is supported. If that is supported, we will check which resolution we should use.
But actually, the entry 7 is not used and reserved in almost every geode board in BIOS setting. So unless you set it in BIOS to use entry 7(that is to say ret value is 7), that will forcelly use my 1024x600@80. Otherwise, the 1024x600@80 will not be used and will not affect your VGA resolutions. Please let the customer see the ret value with my patch. If that is not 7, the resolution failed thing is not caused by my patch. My patch is only for people who want use 1024x600 in panel mode.
Our geode platform certainly can support 80Hz refresh under some resolutions. The reason why the Xorg reports failure is because X server prunes some resolutions. That is not to say the geode can not support. Please understand that.

Thanks,
Frank

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Here's the log on 2.11.10 with the patch added.

Revision history for this message
frank huang (frankr-huang) wrote :

I figure out the reason from your log.
Please see the line in the log:
   (II) GEODE(0): VSA Panel Mode is: 800x600, pixel clock freq(kHz) is 40000
The platform ret value is 2. So entry 2 will be used(800x600@60). When this entry is used, most of the modes will be prunde by X server. And you will see only three modes are supported. It is because BIOS setting for the default mode error, not caused by driver!
It is very easy to give a quick fix. Set the ret value in LXGetLegacyPanelMode() to 7 manually in driver. Then 1024x600 will be supported and other resolution will appear(such as 1024x768).
i.e. in lx_panel.c
                   ...
                   */
                + ret = 7;
                   if (ret < 8) {...

Give a try and let me know the result.
If everything is fine. Change the BIOS to use correct entry.

Thanks,
Frank

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Frank, the BIOS resolution is fixed and cannot be changed. There is no setting for it in the BIOS menu.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

I sincerely doubt that the BIOS would be set to 800x600 since this laptop's display only supports 320x240, 640x480 and 1024x600. However, 800x600 happens to be our driver's default fall-back resolution, so this is probably what we're seeing.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Adding ret=7; does not fix it. It indeed makes several new modes appear but none of them is 1024x600. Anyhow, it doesn't fix the fact that this display only supports 60Hz refresh rates, while the settings for slot 7 is at 80Hz, either.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

It also remains unclear to me what is the proper way to select that 1024x600@60 mode. I already know that DDC won't work since we're using a panel, so we must obviously select the resolution we want using an xorg.conf option. However, the xorg.conf variants attached to this bug report use different methods for configuring this and I need to know which one is the right one, so that I can document this in the README.

Revision history for this message
frank huang (frankr-huang) wrote :

Martin,

Have you noticed that your Xorg_ec800_3.log still shows:
(II) GEODE(0): VSA Panel Mode is: 800x600, pixel clock freq(kHz) is 40000.
If you set ret=7, it should show as below:
(II) GEODE(0): VSA Panel Mode is: 1024x600, pixel clock freq(kHz)...

My 1024x600 entry is not used in your new test. Please make sure you use my entry 1024x600.

Thanks,
Frank

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Frank, I have no idea why setting ret=7 in lx_panel.c did not produce any effect.

However, I'm concerned that this is turning into a big ugly hack that will require people to compile their own driver, simply because setting the desired mode is now completely dependent upon being able to change a setting in the BIOS, which is not always possible.

Revision history for this message
frank huang (frankr-huang) wrote :

Martin,

   I think you have not successfully use entry 7. From your log, I see no clue entry 7 is used. If that entry is not used, why you get the conclusion that ugly hack result?
  On my malata platform(a geodeLX) notebook and another user's reply, there is no error at all using this mode(1024x600). Please believe that, this part I have given debug. And I know the process how the Xserver and driver exchange information.
  See my attached Xorg.0.log to see how my malata use entry 7. See my screen.png to see how 1024x600@80 is used.
  You can clearly see the entry 7 is used.

[ 1044.495] (II) GEODE(0): VSA Panel Mode is: 1024x600, pixel clock freq(kHz) is 67630
...
[ 1044.559] (II) GEODE(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
[ 1044.559] (II) GEODE(0): Modeline "1024x600"x80.0 67.63 1024 1080 1184 1344 600 601 604 629 -hsync -vsync (50.3 kHz)
[ 1044.559] (II) GEODE(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz)
[ 1044.559] (II) GEODE(0): Modeline "800x600"x72.2 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz)
[ 1044.559] (II) GEODE(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz)
[ 1044.559] (II) GEODE(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
[ 1044.560] (II) GEODE(0): Modeline "640x480"x72.8 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz)
[ 1044.560] (II) GEODE(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz)
[ 1044.560] (II) GEODE(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
[ 1044.560] (II) GEODE(0): Modeline "512x384"x60.0 32.50 512 524 592 672 384 385 388 403 doublescan -hsync -vsync (48.4 kHz)
[ 1044.560] (II) GEODE(0): Modeline "416x312"x74.7 28.64 416 432 464 576 312 312 314 333 doublescan -hsync -vsync (49.7 kHz)
[ 1044.560] (II) GEODE(0): Modeline "400x300"x72.2 25.00 400 428 488 520 300 318 321 333 doublescan +hsync +vsync (48.1 kHz)
[ 1044.560] (II) GEODE(0): Modeline "400x300"x75.1 24.75 400 408 448 528 300 300 302 312 doublescan +hsync +vsync (46.9 kHz)
[ 1044.560] (II) GEODE(0): Modeline "400x300"x60.3 20.00 400 420 484 528 300 300 302 314 doublescan +hsync +vsync (37.9 kHz)
[ 1044.560] (II) GEODE(0): Modeline "320x240"x72.8 15.75 320 332 352 416 240 244 246 260 doublescan -hsync -vsync (37.9 kHz)
[ 1044.560] (II) GEODE(0): Modeline "320x240"x75.0 15.75 320 328 360 420 240 240 242 250 doublescan -hsync -vsync (37.5 kHz)
[ 1044.561] (II) GEODE(0): Modeline "320x240"x60.1 12.59 320 328 376 400 240 245 246 262 doublescan -hsync -vsync (31.5 kHz)

Revision history for this message
frank huang (frankr-huang) wrote :

X log on Malata notebook(1024x600)

Revision history for this message
frank huang (frankr-huang) wrote :

Screen after X window enters(1024x600)

Revision history for this message
frank huang (frankr-huang) wrote :

As I said before, when the geode LX is designed, no wide screen panel appears on the market. So the HW registers does not include the support for that type panel. We use reversed entry 7 for people who want to use this special wide resolution. And our HW has the ability to support this 1024x600@80 resolution. The customer MUST do the customization before using that(like my patch shows). Using reserved entry does not affect users' previous settings.

Thanks,
Frank

Revision history for this message
Anewangelfades (davide-borelli) wrote :

Hello,
The bug affects also affects 10.10 Maverick Meerkat and 11.04.
Is there a way to fix it?
I tried every xorg.conf here, but none works!

Revision history for this message
frank huang (frankr-huang) wrote : RE: [Bug 433142] Re: geode driver do not display 1024x600 on (K)UNR Karmic

If you want to support a new mode(i.e. 1024x600@60), add it to your code, and let that mode to be default.
See my reply on #75, #82, #84, #93, #95.

Thanks,
Frank

> -----Original Message-----
> From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
> Anewangelfades
> Sent: 2011年5月9日 22:43
> To: Huang, FrankR
> Subject: [Bug 433142] Re: geode driver do not display 1024x600 on (K)UNR
> Karmic
>
> Hello,
> The bug affects also affects 10.10 Maverick Meerkat and 11.04.
> Is there a way to fix it?
> I tried every xorg.conf here, but none works!
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/433142
>
> Title:
> geode driver do not display 1024x600 on (K)UNR Karmic
>
> Status in “xserver-xorg-video-geode” package in Ubuntu:
> In Progress
>
> Bug description:
> Geode driver do not display 1024x600 resolution in (K)UNR Karmic.
> Actually, the bug also affects Jaunty, but doesnt affect Intrepid.
>
> I used to use a custom xorg.conf in intrepid, but it doesnt work on
> Jaunty or Karmic. In Jaunty and karmic, I could only use 1024x768
> whick makes the screen bigger than the real display and is impossible
> to open new programs, specially in the menus (they simply disapear in
> the bottom of the screen).
>
> Further investigations on other distros made me think this is a
> regression from the xserver-xorg-video-geode 2.10.1-2. This bug
> affects all drivers from 2.10.1 (which is in Intrepid). In fact,
> Debian Lenny (that uses geode 2.10.1-2) works perfectly, VectorLinux
> 6.0 lite (that uses geode 2.9 - i think), also works. Jaunty (geode
> 2.11.1-1) and Karmic (2.11.4.1-1) dont work, they only display
> 1024x768...
>
> Actually, when I use the automatic configuration in Jaunty and Karmic
> (with no xorg.conf), the screen really seems to be 1024x768, but when
> I use the custom xorg.conf (the same I use in Intrepid), the screen
> seems different... like it was 800x768 (I know it's wierd, but it
> doesnt seem to be 1024x768 at all - everything is really ugly).
>
> Hope it will work in Karmic in time.
> Thanks in advance.
>
> [lspci]
> 00:01.1 VGA compatible controller [0300]: Advanced Micro Devices [AMD]
> Geode LX Video [1022:2081]
> Subsystem: Advanced Micro Devices [AMD] Geode LX Video
> [1022:2081]
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-
> geode/+bug/433142/+subscribe

summary: - geode driver do not display 1024x600 on (K)UNR Karmic
+ xf86-video-geode: support for 800x480 and 1024x600 Panels is broken
summary: - xf86-video-geode: support for 800x480 and 1024x600 Panels is broken
+ xf86-video-geode: 800x480 and 1024x600 Panel support is broken
Changed in xserver-xorg-video-geode (Debian):
status: Unknown → Confirmed
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Basically, the short answer to laptop support with the Geode X driver seems to be that it needs a custom xorg.conf for each laptop, since it cannot probe the display for ideal size.

Upstream developers have now documented this fact and provided command examples for calculating display modes along with a sample xorg.conf that shows how the command's result can be used. This will be included in xf86-video-geode 2.11.13 to be released shortly.

Changed in xserver-xorg-video-geode (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Anewangelfades (davide-borelli) wrote :

Hi Martin, any news?
I have now 11.10 on my netbook ecafè ec-800 (12.04 won't install with this cpu...), bu it seems that xf86-video-geode 2.11.13 isn't available for Oneiric, is that true?

Thanks,

Davide

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

You can find it in my PPA. However, there won't be any official backport for releases older than Precise.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

2.11.14 is available in my PPA. Can you test it and report whether it fixes the issue or not?

Revision history for this message
Anewangelfades (davide-borelli) wrote :

Hi,
sorry for the late answer.
I installed the 2.11.14 from your ppa, but I can't understand if I have to edit xorg.conf too or something else.
Maybe I've lost the thread, I can't remember the steps I have to do to make the 1024x600 resolution work... Can you make me a brief summary? Thanks a lot,

Davide

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

You still need the custom xorg.conf; that will never change. You can look at the README for sample content.

Revision history for this message
Anewangelfades (davide-borelli) wrote :

Hi martin,
800x480 and 1024x600 work perfectly with your 2.11.14 and the xorg.conf in the README file.
The other problems are that if i press Ctrl+Alt+F1 (or F2, F3, etc...) nothing happens, no cli, just a black screen. And also if I attach a tft monitor with the external vga port, I can't change the resolution and the internal monitor of the ecafe doesn't turn off.

Thaks a lot,

Davide

Changed in xserver-xorg-video-geode (Debian):
status: Confirmed → Fix Released
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

The issue you are experiencing when attaching an exernal display is normal.

Anyhow, this bug report was about making wide resolutions work on Geode-based laptops, which is now fixed, so I'm closing this report. :)

Changed in xserver-xorg-video-geode (Ubuntu):
status: Fix Committed → Fix Released
Displaying first 40 and last 40 comments. View all 115 comments or add a comment.
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.