Bug 155096 - Fonts are too large after install
Summary: Fonts are too large after install
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: X11 Applications (show other bugs)
Version: Beta 6
Hardware: 32bit SuSE Linux 10.1
: P5 - None : Blocker (vote)
Target Milestone: ---
Assignee: Steffen Winterfeldt
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 19:35 UTC by Werner Janjic
Modified: 2006-03-09 09:55 UTC (History)
2 users (show)

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


Attachments
bios.c.diff (630 bytes, patch)
2006-03-07 20:29 UTC, Marcus Schaefer
Details | Diff
hwinfo --monitor (252.27 KB, text/plain)
2006-03-08 14:33 UTC, Werner Janjic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Werner Janjic 2006-03-03 19:35:10 UTC
I am trying to use SUSE Linux 10.1 Beta 6 on my Toshiba Satellite M30X notebook with an integrated ATI Radeon 9700.

Directly after install I am unable to work with my fresh installed Linux. KDE and Sax2 and all other applications render the fonts too large (One line of text uses about three quarters of the screen width.

I didn't figure out how to get rid of this bug but the system is (under X) unusable for me.

I have not installed anything extra. Just the first three CDs were requested during install.
Comment 1 Werner Janjic 2006-03-03 19:36:36 UTC
During the installation process the display was fine. But the problem also occured when I clicked on "Test configuration" in the install program.
Comment 2 Mike Fabian 2006-03-06 10:52:24 UTC
Werner Janjic> (One line of text uses about three quarters of the screen width.
                                                                         ^^^^^
I guess you mean "height" not "width".

Most likely DisplaySize is not set in /etc/X11/xorg.conf or set to a
completely wrong value.

Look into /etc/X11/xorg.conf and search for the Monitor section there.
Example from my /etc/X11/xorg.conf:

    Section "Monitor"
      Option       "CalcAlgorithm" "XServerPool"
      DisplaySize  430 270
      HorizSync    30-66
      Identifier   "Monitor[0]"
      ModelName    "PHILIPS 200W"
      Option       "DPMS"
      VendorName   "PHILIPS"
      VertRefresh  30-61
      UseModes     "Modes[0]"
    EndSection

If there is already a "DisplaySize" in you monitor section, check if
the values are correct (should be the width and height of your screen
in millimeter). If this variable is set and the values are completely
wrong, replace them with the correct values.  If this variable is not
yet there at all, add it with the correct values.

If it works if you fix the DisplaySize manually, we need to find
out why it wasn't set correctly by default.

Please attach:

    - /var/log/SaX.log
    - output of "hwinfo --monitor"
    - output of "/usr/sbin/sysp -q xstuff"
Comment 3 Christoph Thiel 2006-03-07 10:07:43 UTC
=> NEEDINFO
Comment 4 Werner Janjic 2006-03-07 15:14:25 UTC
Yes, of course I meant "height" and not "width". Sorry for that.

I am just now doing a new install and will then test your reccomendation with the "DisplaySize" (I had switched back to Gentoo so I have to reinstall SuSE).

I will give you the information soon.
Comment 5 Werner Janjic 2006-03-07 15:47:26 UTC
Hi!

In the Monitor section DisplaySize was set to "290 20", and I just tried and changed to "290 200". Now the fonts are readable and in a reasonable size. But can you tell me from where I can exactly get the information about the size of my display?

In the Sax.log it says that the size and size[2] are 29x2 and a LGPhilipsLCD LCD Monitor was detected.

The hwinfo --monitor detected values of the size is 289x21mm... quite strange. The resolution it can run (1280x800) is detected correctly. During install I had 1024x768.

Hope this helps.
Comment 6 Mike Fabian 2006-03-07 17:16:50 UTC
OK, that means the problem is that the height reported by output of "hwinfo --monitor" is completely wrong on your system and therefore
SaX2/YaST2 write a wrong DisplaySize into /etc/X11/xorg.conf.

Reassigning bug to Marcus Schäfer <ms@suse.de> he said he knows
how to fix this.

Please also attach the output of "hwinfo --vbe", Marcus needs this 
to fix the bug.
Comment 7 Werner Janjic 2006-03-07 18:45:00 UTC
#hwinfo --monitor
32: None 00.0: 10002 LCD Monitor
  [Created at monitor.85]
  Unique ID: rdCR.TXuwCXVLBM9
  Hardware Class: monitor
  Model: "LGPhilipsLCD LCD Monitor"
  Vendor: LPL "LGPhilipsLCD"
  Device: eisa 0x0000
  Resolution: 1280x800@60Hz
  Size: 289x21 mm
  Config Status: cfg=new, avail=yes, need=no, active=unknown

33: None 00.1: 10002 LCD Monitor
  [Created at monitor.85]
  Unique ID: jyhG.TXuwCXVLBM9
  Hardware Class: monitor
  Model: "LGPhilipsLCD LCD Monitor"
  Vendor: LPL "LGPhilipsLCD"
  Device: eisa 0x0000
  Resolution: 1280x800@60Hz
  Size: 289x21 mm
  Config Status: cfg=new, avail=yes, need=no, active=unknown

34: None 00.2: 10002 LCD Monitor
  [Created at monitor.85]
  Unique ID: aHB6.TXuwCXVLBM9
  Hardware Class: monitor
  Model: "LGPhilipsLCD LCD Monitor"
  Vendor: LPL "LGPhilipsLCD"
  Device: eisa 0x0000
  Resolution: 1280x800@60Hz
  Size: 289x21 mm
  Config Status: cfg=new, avail=yes, need=no, active=unknown

35: None 00.3: 10002 LCD Monitor
  [Created at monitor.85]
  Unique ID: Scgx.TXuwCXVLBM9
  Hardware Class: monitor
  Model: "LGPhilipsLCD LCD Monitor"
  Vendor: LPL "LGPhilipsLCD"
  Device: eisa 0x0000
  Resolution: 1280x800@60Hz
  Size: 289x21 mm
  Config Status: cfg=new, avail=yes, need=no, active=unknown


-----------------------

#hwinfo --vbe
01: None 00.0: 10105 BIOS
  [Created at bios.165]
  Unique ID: rdCR.lZF+r4EgHp4
  Hardware Class: bios
  VESA BIOS Version: 2.0
  Current VESA Mode: 0x4117
  BIOS Keyboard LED Status:
    Scroll Lock: off
    Num Lock: off
    Caps Lock: off
  Serial Port 0: 0x2f8
  Parallel Port 0: 0x378
  Base Memory: 638 kB
  PnP BIOS: @@@0000
  BIOS32 Service Directory Entry: 0xfd700
  SMBIOS Version: 2.31
  BIOS Info: #0
    Vendor: "TOSHIBA"
    Version: "V1.90"
    Date: "03/23/2005"
    Start Address: 0xe5010
    ROM Size: 512 kB
    Features: 0x0187000000007c219b80
      PCI supported
      PCMCIA supported
      PnP supported
      BIOS flashable
      BIOS shadowing allowed
      CD boot supported
      Selectable boot supported
      1.2MB Toshiba Japanese Floppy supported
      Print Screen supported
      8042 Keyboard Services supported
      Serial Services supported
      Printer Services supported
      CGA/Mono Video supported
      ACPI supported
      USB Legacy supported
      AGP supported
      Smart Battery supported
      BIOS Boot Spec supported
  System Info: #1
    Manufacturer: "TOSHIBA"
    Product: "Satellite M30X"
    Version: "PSA72E-00J020GR"
    Serial: "Z4345084K"
    UUID: undefined, but settable
    Wake-up: 0x06 (Power Switch)
  Board Info: #2
    Manufacturer: "TOSHIBA"
    Product: "EAL20"
    Version: "Null"
    Serial: "0123456789AB"
  Chassis Info: #3
    Manufacturer: "TOSHIBA"
    Version: "N/A"
    Serial: "None"
    Asset Tag: "*"
    Type: 0x0a (Notebook)
    Bootup State: 0x03 (Safe)
    Power Supply State: 0x03 (Safe)
    Thermal State: 0x03 (Safe)
    Security Status: 0x03 (None)
  Processor Info: #4
    Socket: "BAN"
    Socket Type: 0x08 (Slot 1)
    Socket Status: Populated
    Type: 0x03 (CPU)
    Family: 0x02 (Unknown)
    Manufacturer: "Intel"
    Version: "A0"
    Processor ID: 0xafe9fbbf000006d6
    Status: 0x01 (Enabled)
    Voltage: 1.8 V
    Max. Speed: 2000 MHz
    Current Speed: 1600 MHz
    L1 Cache: #8
    L2 Cache: #9
  Type 5 Record: #5
    Data 00: 05 16 05 00 03 04 03 03 0b 0c 00 00 05 02 03 06
    Data 10: 00 07 00 08 00 04
  Type 6 Record: #6
    Data 00: 06 0c 06 00 01 01 00 00 05 88 88 00
    String 1: "M1"
  Type 6 Record: #7
    Data 00: 06 0c 07 00 01 23 00 00 05 88 88 00
    String 1: "M2"
  Cache Info: #8
    Designation: "L1 Cache"
    Level: L1
    State: Enabled
    Mode: 0x01 (Write Back)
    Location: 0x00 (Internal, Socketed)
    ECC: 0x02 (Unknown)
    Type: 0x02 (Unknown)
    Associativity: 0x02 (Unknown)
    Max. Size: 16 kB
    Current Size: 16 kB
    Supported SRAM Types: 0x0058 (Burst, Pipeline Burst, Asynchronous)
    Current SRAM Type: 0x0040 (Asynchronous)
  Cache Info: #9
    Designation: "L2 Cache"
    Level: L2
    State: Enabled
    Mode: 0x01 (Write Back)
    Location: 0x01 (External, Socketed)
    ECC: 0x02 (Unknown)
    Type: 0x02 (Unknown)
    Associativity: 0x02 (Unknown)
    Max. Size: 512 kB
    Current Size: 2048 kB
    Supported SRAM Types: 0x0058 (Burst, Pipeline Burst, Asynchronous)
    Current SRAM Type: 0x0008 (Burst)
  Port Connector: #10
    Type: 0x05 (Parallel Port ECP/EPP)
    Internal Designator: "JP11"
    External Designator: "Parallel"
    External Connector: 0x05 (DB-25 pin female)
  Port Connector: #11
    Type: 0x1c (Video Port)
    Internal Designator: "JP14"
    External Designator: "SVGA-Out"
    External Connector: 0x07 (DB-15 pin female)
  Port Connector: #12
    Type: 0x10 (USB)
    Internal Designator: "JP13/JP26"
    External Designator: "USB"
    External Connector: 0x12 (Access Bus [USB])
  Port Connector: #13
    Type: 0x11 (FireWire [IEEE P1394])
    Internal Designator: "JP23"
    External Designator: "1394"
    External Connector: 0x21 (1394)
  Port Connector: #14
    Type: 0x0b (MIDI Port)
    Internal Designator: "JP3"
    External Designator: "MIC_IN"
    External Connector: 0x0a (RJ-11)
  Port Connector: #15
    Type: 0x0b (MIDI Port)
    Internal Designator: "JP5"
    External Designator: "HEADPHONE"
    External Connector: 0x0a (RJ-11)
  System Slot: #16
    Designation: "ENE CB714"
    Type: 0x07 (PC Card [PCMCIA])
    Bus Width: 0x05 (32 bit)
    Status: 0x02 (Unknown)
    Length: 0x01 (Other)
    Slot ID: 0
    Characteristics: 0x0236 (5.0 V, 3.3 V, PC Card-16, CardBus, Hot-Plug)
  On Board Devices: #17
    Video: "Intel MontaraGME" (disabled)
    Sound: "Realtek ACL202" (disabled)
    Ethernet: "Realtek RTL8101L" (disabled)
  OEM Strings: #18
    PSA72E-00J020GR,SSA7200J020GR
  System Config Options (Jumpers & Switches) #19:
  Physical Memory Array: #20
    Use: 0x03 (System memory)
    Location: 0x03 (Motherboard)
    Slots: 2
    Max. Size: 3 GB
    ECC: 0x03 (None)
  Memory Device: #21
    Location: "JP21"
    Bank: "DIMM 0"
    Memory Array: #20
    Error Info: No Error
    Form Factor: 0x0d (SODIMM)
    Type: 0x12 (DDR)
    Type Detail: 0x0080 (Synchronous)
    Data Width: 64 bits
    Size: 256 MB
  Memory Device: #22
    Location: "JP20"
    Bank: "DIMM 1"
    Memory Array: #20
    Error Info: No Error
    Form Factor: 0x0d (SODIMM)
    Type: 0x12 (DDR)
    Type Detail: 0x0080 (Synchronous)
    Data Width: 64 bits
    Size: 256 MB
  Memory Array Mapping: #23
    Memory Array: #20
    Partition Width: 2
    Start Address: 0x00000000
    End Address: 0x20000000
  Memory Device Mapping: #24
    Memory Device: #21
    Array Mapping: #23
    Row: 2
    Interleave Pos: 0
    Interleaved Depth: 0
    Start Address: 0x00000000
    End Address: 0x10000000
  Pointing Device: #25
    Type: 0x07 (Touch Pad)
    Interface: 0x04 (PS/2)
    Buttons: 2
  Type 22 Record: #26
    Data 00: 16 1a 1a 00 01 02 03 04 05 06 9c 18 d0 39 00 ff
    Data 10: 00 00 00 00 00 0a 00 00 00 00
    String 1: "1st Battery"
    String 2: "TOSHIBA"
    String 3: "08/31/2004"
    String 4: "3658Q"
    String 5: "PA3395U"
  Type 32 Record: #27
    Data 00: 20 14 1b 00 00 00 00 00 00 00 0c 01 02 03 04 05
    Data 10: 06 07 08 09
  Inactive Record: #28
    Data 00: 7e 04 1c 00
  Config Status: cfg=new, avail=yes, need=no, active=unknown

02: None 00.0: 11001 VESA Framebuffer
  [Created at bios.432]
  Unique ID: rdCR.cVc3pPbznNF
  Hardware Class: framebuffer
  Model: "ATI MOBILITY RADEON 9600    P11 "
  Vendor: "ATI Technologies Inc."
  Device: "P11 "
  SubVendor: "ATI MOBILITY RADEON 9600   "
  SubDevice:
  Revision: "01.00"
  Memory Size: 128 MB
  Memory Range: 0xd8000000-0xdfffffff (rw)
  Mode 0x0382: 320x200 (+320), 8 bits
  Mode 0x030d: 320x200 (+640), 15 bits
  Mode 0x030e: 320x200 (+640), 16 bits
  Mode 0x030f: 320x200 (+960), 24 bits
  Mode 0x0320: 320x200 (+1280), 32 bits
  Mode 0x0392: 320x240 (+320), 8 bits
  Mode 0x0393: 320x240 (+640), 15 bits
  Mode 0x0394: 320x240 (+640), 16 bits
  Mode 0x0395: 320x240 (+960), 24 bits
  Mode 0x0396: 320x240 (+1280), 32 bits
  Mode 0x03a2: 400x300 (+400), 8 bits
  Mode 0x03a3: 400x300 (+800), 15 bits
  Mode 0x03a4: 400x300 (+800), 16 bits
  Mode 0x03a5: 400x300 (+1200), 24 bits
  Mode 0x03a6: 400x300 (+1600), 32 bits
  Mode 0x03b2: 512x384 (+512), 8 bits
  Mode 0x03b3: 512x384 (+1024), 15 bits
  Mode 0x03b4: 512x384 (+1024), 16 bits
  Mode 0x03b5: 512x384 (+1536), 24 bits
  Mode 0x03b6: 512x384 (+2048), 32 bits
  Mode 0x03c2: 640x350 (+640), 8 bits
  Mode 0x03c3: 640x350 (+1280), 15 bits
  Mode 0x03c4: 640x350 (+1280), 16 bits
  Mode 0x03c5: 640x350 (+1920), 24 bits
  Mode 0x03c6: 640x350 (+2560), 32 bits
  Mode 0x0300: 640x400 (+640), 8 bits
  Mode 0x0383: 640x400 (+1280), 15 bits
  Mode 0x0384: 640x400 (+1280), 16 bits
  Mode 0x0385: 640x400 (+1920), 24 bits
  Mode 0x0386: 640x400 (+2560), 32 bits
  Mode 0x0301: 640x480 (+640), 8 bits
  Mode 0x0310: 640x480 (+1280), 15 bits
  Mode 0x0311: 640x480 (+1280), 16 bits
  Mode 0x0312: 640x480 (+1920), 24 bits
  Mode 0x0321: 640x480 (+2560), 32 bits
  Mode 0x0303: 800x600 (+800), 8 bits
  Mode 0x0313: 800x600 (+1600), 15 bits
  Mode 0x0314: 800x600 (+1600), 16 bits
  Mode 0x0315: 800x600 (+2400), 24 bits
  Mode 0x0322: 800x600 (+3200), 32 bits
  Mode 0x0305: 1024x768 (+1024), 8 bits
  Mode 0x0316: 1024x768 (+2048), 15 bits
  Mode 0x0317: 1024x768 (+2048), 16 bits
  Mode 0x0318: 1024x768 (+3072), 24 bits
  Mode 0x0323: 1024x768 (+4096), 32 bits
  Config Status: cfg=no, avail=yes, need=no, active=unknown

03: None 00.0: 10002 LCD Monitor
  [Created at monitor.85]
  Unique ID: rdCR.TXuwCXVLBM9
  Hardware Class: monitor
  Model: "LGPhilipsLCD LCD Monitor"
  Vendor: LPL "LGPhilipsLCD"
  Device: eisa 0x0000
  Resolution: 1280x800@60Hz
  Size: 289x21 mm
  Config Status: cfg=new, avail=yes, need=no, active=unknown

04: None 00.1: 10002 LCD Monitor
  [Created at monitor.85]
  Unique ID: jyhG.TXuwCXVLBM9
  Hardware Class: monitor
  Model: "LGPhilipsLCD LCD Monitor"
  Vendor: LPL "LGPhilipsLCD"
  Device: eisa 0x0000
  Resolution: 1280x800@60Hz
  Size: 289x21 mm
  Config Status: cfg=new, avail=yes, need=no, active=unknown

05: None 00.2: 10002 LCD Monitor
  [Created at monitor.85]
  Unique ID: aHB6.TXuwCXVLBM9
  Hardware Class: monitor
  Model: "LGPhilipsLCD LCD Monitor"
  Vendor: LPL "LGPhilipsLCD"
  Device: eisa 0x0000
  Resolution: 1280x800@60Hz
  Size: 289x21 mm
  Config Status: cfg=new, avail=yes, need=no, active=unknown

06: None 00.3: 10002 LCD Monitor
  [Created at monitor.85]
  Unique ID: Scgx.TXuwCXVLBM9
  Hardware Class: monitor
  Model: "LGPhilipsLCD LCD Monitor"
  Vendor: LPL "LGPhilipsLCD"
  Device: eisa 0x0000
  Resolution: 1280x800@60Hz
  Size: 289x21 mm
  Config Status: cfg=new, avail=yes, need=no, active=unknown
Comment 8 Marcus Schaefer 2006-03-07 20:28:35 UTC
fixed in bios.c
Steffen if you want you can add the following patch
to hwinfo as well
Comment 9 Marcus Schaefer 2006-03-07 20:29:58 UTC
Created attachment 71636 [details]
bios.c.diff
Comment 10 Steffen Winterfeldt 2006-03-08 10:17:44 UTC
Hm, where do the 21mm come from in the first place? Werner, please run
'hwinfo --monitor --log=xxx' and attach the log.
Comment 11 Werner Janjic 2006-03-08 14:33:05 UTC
Created attachment 71772 [details]
hwinfo --monitor

Here's the requested information. It is interesting that the size is detected correct obviously during install, since the graphical installer's font size iz correct.

Also other distributions did not make that mistake.
Comment 12 Steffen Winterfeldt 2006-03-08 15:12:41 UTC
The monitor really provides broken geometry data. I'll put in some sanity
checks.

Marcus, your patch won't work, as SMBIOS data is only checked if no DDC
record was obtained.
Comment 13 Steffen Winterfeldt 2006-03-08 15:40:16 UTC
Added check to use the cm values if the mm data looks unplausible.
At worst it will end up with no size at all. Marcus, ok with you?

Werner, I hope that 33x21 cm^2 is indeed your display size.

Patch will be in hwinfo 12.10.
Comment 14 Werner Janjic 2006-03-08 17:59:31 UTC
Hmmm... well is there any possibility for an exact measurment of the size? I took a "lineal" and got 350x205 but that is not exact.

Anyhow with 330x210 the picture is quite o.k.
Comment 15 Steffen Winterfeldt 2006-03-09 09:55:14 UTC
Ok, reasonably close. :-)