Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 May 2013, 04:24
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Occasional unreadable font rendering
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Sun 09 Aug 2009, 09:44    Post subject:  Occasional unreadable font rendering  

Guys, I'm running Puppy 4.1.2 on a Sony VGN-C140G laptop. It has this weird issue with rendering fonts:



Notice the third line from the bottom? If I scroll that line off the screen and back on, it is changed (usually improved). If I do that a couple times, it cleans up completely.

I have seen this in seamonkey and rxvt.

When I took a snapshot of this I was in mtpaint, of course. scrolling that same line on and off the screen did not change it, because by that point it was an image, of course.

Sometimes it gets so bad it is hard to read the text. It seems to come and go...

I tried changing fonts in Seamonkey, didn't help.

If anyone has an idea, I'd appreciate hearing it...
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Sun 09 Aug 2009, 22:11    Post subject:  

Retro or regular kernel?
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6180
Location: Auckland, New Zealand

PostPosted: Mon 10 Aug 2009, 02:33    Post subject:  

Personally I suspect it's a problem with the video hardware or something, but I'm not an expert.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Mon 10 Aug 2009, 18:32    Post subject:  

It's the regular kernel, 2.6.25.16.

Yeah, it could always be hardware. I'm just wondering how to narrow this down, if there is a way.
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Tue 11 Aug 2009, 18:17    Post subject:  

At this juncture I'm a bit at sea, though not entirely.

Your complaint involves the same kernel, same XOrg, and same 945 video chipset as a losing battle I just fought over in another thread. I hope to soon have that machine in my physical possession and perhaps then can confidently render useful advice.

Until then, as a first wild stab: in Seamonkey, I would open an about:config window, filter on "layout", choose layout.css.dpi, and see if changing the value from -1 to 0 helps. My thinking is: this might fix it if the 945 uses some proprietary translation method of rendering its unusual 113 dpi screen resolution, because maybe the relatively newer 945's method of rendering to 113 dpi had not yet been accommodated-for in 412's relatively older XOrg. Therefore XOrg might be taking a bad algorithmic guess and so maybe SM is feeding output (through XOrg) to an erroneous screenres of some smaller dpi value than the unusual true one. If the by-XOrg-guessed-at resolution is lower than 96 then even if the 945 knows how to accommodate the bad (lower) dpi guess of an older XOrg the -1 setting would be throwing things off, since -1 forces SM to render at 96 dpi if 96 is higher than the by-XOrg-computed (i.e. "algorithmically guessed at") dpi value. Libfreetype/libxft is capable of compensating for a great variety of mismatching dpi value cases between app/xorg/adapter, but your system, it seems, is at times stepping a little beyond the limits of its known case universe. Perhaps the solution lies in adjusting ...and on and on...--If all this wild hypothesis is perchance the truth, e.g. if XOrg is wrongly seeing 75 dpi as the adapter's value, then changeing layout.css.dpi to 0 should fix it.

(heh...and disciple is expecting me, in another thread, to concisely explain...why...filesystem name encoding can be mistaken for document language encoding...on a wine system... Sad maybe in a few months... )

I know a similar problem as that hypothesized above, afflicts some examples of the i810 video chipset and have seen similar, though not identical, oddities in SM text rendering on these.

Then, if 0 instead of -1 doesn't cure it, I'd try changing layout.css.dpi to the actual physical dpi of 113, and add the right DisplaySize and DPI lines e.g.
Code:
Section "Monitor"
...some lines...
DisplaySize  286 179
Option  "DPI" "113 x 113"
in xorg.conf, save, restart X, and see what happens. Note: The above values (113, 286, 179) are my best-guess calculations based on the Vaio's ads and the Pythagorean Theorem, but xdpyinfo will tell you the truth.

I would be curious also to know if your (assuming you are running XOrg) /var/log/Xorg.0.log has line(s) that say "VESA" other than at the head of the VESA Modes section, like the other guy whose 945-chipset machine poses problems. He chooses XOrg and reports no error messages but his symptoms can be duplicated here only if I choose XVesa. Not clear to me yet, what is the significance of the additional lines he reports are in Xorg.0.log. Perhaps I will be able to grasp what's going on, thus gain insight into your problem, when I get my paws on his machine.
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Thu 13 Aug 2009, 23:09    Post subject:  

Wow SHS!

It just occurred to me I don't even know if I'm using Xorg or Xvesa. How does one tell?

Here is my Xorg.0.log, for what it's worth:
Code:
 (deleted as suggested to save space)


The problem with changing Seamonkey, is that (as I said), I'm 90% sure I saw the problem in rxvt too.

I will hold off on your suggestions until I can be sure I'm actually using xorg, otherwise it might be a waste of time. I vaguely recall not being able to get a machine (maybe this one) to work with xorg at all, so I went with xvesa in that case.

Last edited by PaulBx1 on Tue 25 Aug 2009, 14:21; edited 1 time in total
Back to top
View user's profile Send private message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Sat 15 Aug 2009, 05:18    Post subject:  

PaulBx1 wrote:
The problem with changing Seamonkey, is that (as I said), I'm 90% sure I saw the problem in rxvt too.

I will hold off on your suggestions until I can be sure I'm actually using xorg, otherwise it might be a waste of time. I vaguely recall not being able to get a machine (maybe this one) to work with xorg at all, so I went with xvesa in that case.
Well, the very fact that you have an Xorg.0.log means you chose XOrg. I don't know yet what the significance of all the VESA BIOS etc. lines is. These do not show up in any of my machines. Maybe they are chipset-specific to the 945. The only error (EE) lines are the two inconsequential ones, that you don't have dri or glx, in other words you have lines in /etc/X11/xorg.conf that activate dri and glx if they are present but they're not, i.e. you haven't installed the xorg-full dri PET with Direct Rendering Interface (dri) and Mesa OpenGL (glx) for 3D rendering acceleration. But, big deal. Lack of 3D acceleration does not matter to font rendering which is only 2D.

I will have the 945 machine I referred to above, in my hands either tomorrow or Monday. It was shipped to me from Spokane today. Then, hopefully, I can duplicate the problem, and figure out what dpi XOrg thinks the 945 is, and thus (hopefully) offer a solution.

I've saved a copy of your Xorg.0.log, so if you want to conserve John Murga's diskspace feel free to delete it.
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Tue 25 Aug 2009, 14:26    Post subject:  

Ah, now I recall. I was trying arch linux and couldn't get xorg to work with that. I didn't have that problem with Puppy.

I found this item which may be of interest:
http://www.rev.net/~mike/sonyVGN-C140G_laptopFC6.html

His xorg.conf is here:
http://www.rev.net/~mike/xorg.conf

The most significant difference appears to be his use of the i810 driver, where I used the intel driver.
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Sat 29 Aug 2009, 02:45    Post subject:  

Getting back to your earlier requests:

Quote:
Until then, as a first wild stab: in Seamonkey, I would open an about:config window, filter on "layout", choose layout.css.dpi, and see if changing the value from -1 to 0 helps.

Nope.

Quote:
Then, if 0 instead of -1 doesn't cure it, I'd try changing layout.css.dpi to the actual physical dpi of 113, and add the right DisplaySize and DPI lines e.g.... Note: The above values (113, 286, 179) are my best-guess calculations based on the Vaio's ads and the Pythagorean Theorem, but xdpyinfo will tell you the truth.

Nope. Also, xdpyinfo give no values like that:
Code:
# xdpyinfo
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    10300000
X.Org version: 1.3.0
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x1400002, revert to PointerRoot
number of extensions:    28
    BIG-REQUESTS
    DAMAGE
    DEC-XTRAP
    DOUBLE-BUFFER
    DPMS
    Extended-Visual-Information
    MIT-SCREEN-SAVER
    MIT-SHM
    MIT-SUNDRY-NONSTANDARD
    RANDR
    RENDER
    SECURITY
    SHAPE
    SYNC
    TOG-CUP
    X-Resource
    XAccessControlExtension
    XC-APPGROUP
    XC-MISC
    XFIXES
    XFree86-Bigfont
    XFree86-Misc
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1280x800 pixels (338x211 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    16, 1, 4, 8, 15, 24, 32
  root window id:    0x64
  depth of root window:    16 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    64
  preallocated pixels:    black 0, white 65535
  options:    backing-store NO, save-unders NO
  largest cursor:    64x64
  current input event mask:    0xda00cc
    ButtonPressMask          ButtonReleaseMask        PointerMotionMask       
    PointerMotionHintMask    StructureNotifyMask      SubstructureNotifyMask   
    SubstructureRedirectMask PropertyChangeMask       ColormapChangeMask       
  number of visuals:    2
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
  visual:
    visual id:    0x22
    class:    DirectColor
    depth:    16 planes
    available colormap entries:    64 per subfield
    red, green, blue masks:    0xf800, 0x7e0, 0x1f
    significant bits in color specification:    6 bits
#
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0702s ][ Queries: 12 (0.0052s) ][ GZIP on ]