Bug 115151 - incorrect hsync values for LCD leading to wrong resolution
Summary: incorrect hsync values for LCD leading to wrong resolution
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: SaX2 (show other bugs)
Version: Beta 4
Hardware: PowerPC Linux
: P5 - None : Normal
Target Milestone: ---
Assignee: Marcus Schaefer
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 115085
  Show dependency treegraph
 
Reported: 2005-09-03 16:54 UTC by Olaf Hering
Modified: 2008-07-16 15:47 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
bug115151.tar.bz2 (315.12 KB, application/x-tbz)
2005-09-03 16:58 UTC, Olaf Hering
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Hering 2005-09-03 16:54:00 UTC
after making the change for bug #115085, the hwinfo --monitor output shows  
correct values.  
yast offers only 800x600 because the used hsync value is too low. This chip  
can only be used with 1024x768 because the scaling function is undocumented.  
As result, the screen is not usable.  
changing hsync to 49 fixes it. fbset shows the correct value, hwinfo  
--framebuffer shoes nothing.  
 
15: None 00.0: 10000 Monitor                                     
  [Created at monitor.373] 
  Unique ID: rdCR.O0417+GSkm8 
  Parent ID: krr2.f9PcHRsgYC7 
  Hardware Class: monitor 
  Model: "Apple COLOR LCD" 
  Vendor: APP "Apple" 
  Device: eisa 0x9c19 "COLOR LCD" 
  Size: 24x18 cm 
  Config Status: cfg=new, avail=yes, need=no, active=unknown 
  Attached to: #5 (VGA compatible controller) 
 
fbset: 
mode "1024x768-60" 
    # D: 65.003 MHz, H: 48.365 kHz, V: 60.006 Hz 
    geometry 1024 768 1024 768 16 
    timings 15384 160 24 29 3 136 6 
    rgba 5/10,5/5,5/0,0/0 
endmode 
 
xorg.conf: 
 
Section "Monitor" 
  DisplaySize  240 180 
  HorizSync    30-40 
  Identifier   "Monitor[0]" 
  ModelName    "APPLE COLOR LCD" 
  Option       "DPMS" 
  VendorName   "APP" 
  VertRefresh  43-75 
  UseModes     "Modes[0]" 
EndSection
Comment 1 Olaf Hering 2005-09-03 16:58:37 UTC
Created attachment 48704 [details]
bug115151.tar.bz2
Comment 2 Steffen Winterfeldt 2005-09-05 08:19:22 UTC
the monitor is unknown to hwinfo 
Comment 3 Marcus Schaefer 2005-09-05 08:50:07 UTC
"can only be used with 1024x768" 
 
an important information, first you complained about that it does 
not work in "1280x854" than I changed that and now you are complaining 
about your crappy chip only supporting "1024x768", great ! 
 
I will change that now again to 1024x768 
 
Index: Monitors 
=================================================================== 
--- Monitors    (revision 850) 
+++ Monitors    (working copy) 
@@ -1,7 +1,7 @@ 
 # /.../ 
 # Copyright (c) 2001 SuSE GmbH Nuernberg, Germany.  All rights reserved. 
 # 
-# Author: Marcus Schaefer <sax@suse.de>, Thu Sep  1 10:44:40 2005 
+# Author: Marcus Schaefer <sax@suse.de>, Mon Sep  5 10:53:26 2005 
 # 
 # Template for monitor data 
 # -------------------------- 
@@ -3231,7 +3231,7 @@ 
  DDC=APP9C21 
  Option=DPMS 
  Hsync=32-60 
- Resolution=1280x854 
+ Resolution=1024x768 
  Vsync=50-70 
 } 
 
Comment 4 Steffen Winterfeldt 2005-09-05 09:17:21 UTC
Marcus, note that this is a *different* monitor. 
Comment 5 Olaf Hering 2005-09-05 09:25:50 UTC
hallt hallo hallo,

thats clearly not the display chip but the lcd, no?

so we just have to check the exact powerbook/ibook. the info in
/proc/device-tree/model tells you exactly this.
Or look for 'display' device_type files in the tree and use the width/height
properties. hwinfo has already code to walk the device-tree.

What was the DisplaySize of the other Powerbook?
Comment 6 Marcus Schaefer 2005-09-05 09:39:22 UTC
I don't know what you guys are talking about *again* and this is really 
an annoying situation. I can make a correct CDB entry only with valid 
information: 
 
 Please provide information for model [ DDC=APP9C21 ] 
 
 (1) correct hsync ranges 
 (2) correct model (vendor and name) 
 (3) correct resolution 
 (4) correct display size in mm 
 
currently I use: 
 
  Hsync=32-60 
  Vsync=50-70 
  Resolution=1024x768 
  DisplaySize=No information (used from libhd if available) 
 
 
 
Comment 7 Olaf Hering 2005-09-05 09:50:44 UTC
would it help if hwinfo reports everything, does sax or whoever look at the
hwinfo data?
if yes, we will just provide a hardcoded list.
Comment 8 Marcus Schaefer 2005-09-05 09:55:27 UTC
sax is linked against libhd since years ! it uses data like  
  
  DDC_ID  
  resolution  
  hsync/vsync  
  displaysize  
  
and because of the fact that this data is sometimes wrong or missing  
the CDB entry may add/overwrite that data as well. For this monitor  
we have a unique DDC ID:  
  
   APP9C21 
 
so I'm able to set everything in the CDB but you need to provide 
correct data of course 
Comment 9 Olaf Hering 2005-09-05 09:59:19 UTC
do you have the hwinfo data from the 1280x854 bugreport?
Comment 10 Steffen Winterfeldt 2005-09-05 10:02:06 UTC
Marcus, note we are talking about APP9C19 (see comment 0). And Olaf, you 
probably should say what lcd _this_ is. 
Comment 11 Olaf Hering 2005-09-05 10:05:11 UTC
my own report is a 12" ibook with 1024x768
Comment 12 Marcus Schaefer 2005-09-05 10:05:16 UTC
of course: 
 
 16: None 00.0: 10000 Monitor 
  [Created at monitor.373] 
  Unique ID: rdCR.W+VqikgpQEC 
  Old Unique ID: pY3q.1g0+cJOHtfE 
  Hardware Class: monitor 
  HW Class List: monitor 
  Model: "Apple Color LCD" 
  Vendor: APP "Apple" 
  Device: eisa 0x9c21 "Color LCD" 
  Size: 32x22 cm 
  Config Status: cfg=new, avail=yes, need=no, active=unknown 
 
according to this information I created a CDB entry and fixed bug #113795 
As you can see hwinfo doesn't provide a resolution, this setting will 
come from the CDB and is currently 1024x768 
 
what is going on here ?????? 
 
Comment 13 Steffen Winterfeldt 2005-09-05 10:14:16 UTC
hwinfo 11.18 knows about comment 12. 
Comment 14 Marcus Schaefer 2005-09-05 10:24:28 UTC
ok we are talking about two monitors *argl*. The CDB provides now the 
following models. Please have a look: 
 
#============================================== 
# COLOR LCD 9C19 
#---------------------------------------------- 
APPLE:COLOR LCD 9C19  { 
 DDC=APP9C19 
 Option=DPMS 
 Hsync=32-60 
 Resolution=1024x768 
 Vsync=50-70 
} 
 
#============================================== 
# Color LCD 9C21 
#---------------------------------------------- 
APPLE:COLOR LCD 9C21  { 
 DDC=APP9C21 
 Option=DPMS 
 Hsync=32-60 
 Resolution=1280x854 
 Vsync=50-70 
} 
 
Is this ok now ? 
Comment 15 Olaf Hering 2005-09-05 10:53:29 UTC
hopefully.
Comment 16 Marcus Schaefer 2005-09-05 10:54:18 UTC
cool :-)