Bug 24644 - intel [945GM] character rendering broken in kwrite when using lines longer than 205 characters
Summary: intel [945GM] character rendering broken in kwrite when using lines longer th...
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Xorg Project Team
URL: https://bugzilla.novell.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-20 10:16 UTC by Tamás Németh
Modified: 2010-05-28 06:36 UTC (History)
5 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (61.62 KB, text/plain)
2009-10-20 10:20 UTC, Tamás Németh
no flags Details

Description Tamás Németh 2009-10-20 10:16:30 UTC
I observed this symptom in openSUSE 11.2 RC1's X.org server 1.6.5.

Originally I reported it to kde, but they told, it's rather the fault of X11 or Qt:

https://bugs.kde.org/show_bug.cgi?id=210464

Reproducible: Always

Steps to Reproduce:
1. Start kwrite
2. Type in 206 character to one line
Actual Results:  
I can see only the first few characters and the last few characters of the
line, moreover, the end of the line is displayed a few lines lower.

Expected Results:  
The line should be displayed correctly.

Some other observations related to this issue:



The problem doesn't occur if automatic line break is enabled.
Please disable it. Also, the system seems to be unaffected by the problem if
the font in kwrite is set to "Nimbus Sans L". However, if you set the font to
"Nimbus Mono L" (normal) AND the font size to at least 10, then character
rendering will be broken for me.


This bugreport serves as upstram report of https://bugzilla.novell.com/show_bug.cgi?id=546628
Comment 1 Tamás Németh 2009-10-20 10:20:31 UTC
Created attachment 30589 [details]
Xorg.0.log

Relevant hwinfo from this machine:

milleniumfalcon:~ # hwinfo --gfxcard --monitor
10: PCI 02.0: 0300 VGA compatible controller (VGA)
  [Created at pci.318]
  UDI: /org/freedesktop/Hal/devices/pci_8086_27a2
  Unique ID: _Znp.tgYFl3n12UC
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel 945 GM"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x27a2 "945 GM"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x30aa
  Revision: 0x03
  Memory Range: 0xe8400000-0xe847ffff (rw,non-prefetchable)
  I/O Ports: 0x6000-0x6007 (rw)
  Memory Range: 0xd0000000-0xdfffffff (rw,prefetchable)
  Memory Range: 0xe8480000-0xe84bffff (rw,non-prefetchable)
  IRQ: 16 (2257477 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v00008086d000027A2sv0000103Csd000030AAbc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: intel
  Driver Info #1:
    XFree86 v4 Server Module: intel
    3D Support: yes
    Extensions: dri
  Config Status: cfg=no, avail=yes, need=no, active=unknown

11: PCI 02.1: 0380 Display controller
  [Created at pci.318]
  UDI: /org/freedesktop/Hal/devices/pci_8086_27a6
  Unique ID: ruGf.xMl75dQpuE3
  SysFS ID: /devices/pci0000:00/0000:00:02.1
  SysFS BusID: 0000:00:02.1
  Hardware Class: graphics card
  Model: "Intel Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x27a6 "Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x30aa
  Revision: 0x03
  Memory Range: 0xe8500000-0xe857ffff (rw,non-prefetchable)
  Module Alias: "pci:v00008086d000027A6sv0000103Csd000030AAbc03sc80i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

32: None 00.0: 10002 LCD Monitor
  [Created at monitor.95]
  Unique ID: rdCR.REXso4GgEfC
  Hardware Class: monitor
  Model: "LGPhilipsLCD LCD Monitor"
  Vendor: LGP "LGPhilipsLCD"
  Device: eisa 0x1153
  Resolution: 1400x1050@60Hz
  Size: 305x228 mm
  Detailed Timings #0:
     Resolution: 1400x1050
     Horizontal: 1400 1432 1544 1688 (+32 +144 +288) -hsync
       Vertical: 1050 1052 1056 1066 (+2 +6 +16) -vsync
    Frequencies: 108.00 MHz, 63.98 kHz, 60.02 Hz
  Config Status: cfg=new, avail=yes, need=no, active=unknown

33: None 00.2: 10002 LCD Monitor
  [Created at monitor.95]
  Unique ID: aHB6.REXso4GgEfC
  Hardware Class: monitor
  Model: "LGPhilipsLCD LCD Monitor"
  Vendor: LGP "LGPhilipsLCD"
  Device: eisa 0x1153
  Resolution: 1400x1050@60Hz
  Size: 305x228 mm
  Detailed Timings #0:
     Resolution: 1400x1050
     Horizontal: 1400 1432 1544 1688 (+32 +144 +288) -hsync
       Vertical: 1050 1052 1056 1066 (+2 +6 +16) -vsync
    Frequencies: 108.00 MHz, 63.98 kHz, 60.02 Hz
  Config Status: cfg=new, avail=yes, need=no, active=unknown
Comment 2 Chris Wilson 2009-10-20 15:24:26 UTC
Sorry to bounce you to another bugzilla, but you've not demonstrated a bug in the driver. cairo and libXft correctly render such long lines on my i945 boxen, this looks like yet another bug in Qt.

For reference this is the request cairo used to render a line of 339 glyphs:

000:<:001e:392: RENDER-Request(146,23): CompositeGlyphs8 op=Over(0x03) src=0x00200005 dst=0x00200002 maskFormat=0x00000026 glyphset=0x00200006 xSrc=4 ySrc=200 glyphcmds={deltax=4 deltay=200 glyphs=0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a; },{deltax=0 deltay=0 glyphs=0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18; },{deltax=0 deltay=0 glyphs=0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b,0x1c,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1a,0x1b; };
Comment 3 Tamás Németh 2009-11-02 06:57:04 UTC
(In reply to comment #2)
> Sorry to bounce you to another bugzilla, but you've not demonstrated a bug in
> the driver. cairo and libXft correctly render such long lines on my i945 boxen,
> this looks like yet another bug in Qt.

OK, but this neither happens with the fbdev, nor with the ast (for example) drivers. Also please don't forget that it only happens with certain fonts and sizes: https://bugzilla.novell.com/show_bug.cgi?id=546628#c8
Comment 4 Chris Wilson 2010-05-28 06:36:41 UTC
Unreproducible.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.