LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-25-2009, 04:38 PM   #1
GreyBeard
Member
 
Registered: Oct 2003
Location: Taxachusetts, USA
Distribution: Slackware
Posts: 45

Rep: Reputation: 1
No VESA VBE DDC data on Linux / X / KDE boot --> bad DPI value --> font too big


Hi,

I've been having a problem booting Linux (Slackware 12.2) / X / KDE on two of my machines. The symptom is that the fonts are too big once everything is up.

More accurately, MOST of the time (NOT all of the time) when X / KDE starts after a Linux boot the characters on screen are too large. On the other hand, MOST of the time (but not all of the time) I can get the characters to be the right size by using Ctl-Alt-Backspace to restart X / KDE.

Further, I see this problem on two different machines with two different motherboards, plus I did not have the problem until I installed Slackware 12.2, so I don't believe it's a hardware fault or a device-specific driver fault. Earlier versions of Slackware had run on both these machines for some time with no problem like this.

I did some investigating and found differences in the Xorg.0.log files between the times when the characters are too big and when they come out to be the right size. The differences are summarized as follows:



Xorg.0.log / Characters too big:
--------------------------------
. . .
(II) VESA(0): VESA VBE DDC Level none
(II) VESA(0): VESA VBE DDC transfer in appr. 0 sec.
(II) VESA(0): VESA VBE DDC read failed
[No VBE DDC info]
. . .
(--) VESA(0): Virtual size is 1024x768 (pitch 1024)
. . .
(==) VESA(0): DPI set to (96, 96)



Xorg.0.log / Characters right size:
-----------------------------------
. . .
(II) VESA(0): VESA VBE DDC Level 2
(II) VESA(0): VESA VBE DDC transfer in appr. 1 sec.
(II) VESA(0): VESA VBE DDC read successfully
[Lots of VBE DDC info]
. . .
(II) VESA(0): My Monitor: Using maximum pixel clock of 140.00 MHz
(--) VESA(0): Virtual size is 1024x768 (pitch 1024)
. . .
(**) VESA(0): Display dimensions: (390, 290) mm
(**) VESA(0): DPI set to (66, 67)



When KDE is given an incorrect (higher) pixel DPI (96,96) value, then it is going to use more X and Y pixels to form characters, and when those characters rendered on a screen with an actual DPI of (66,67) the characters will be too large.

Obviously the problem is in obtaining the VESA VBE DDC data in the first place, leading to incorrect pixel DPI values. Fetching VESA VBE DDC data is done in /usr/lib/xorg/modules/libvbe.so, or at least that is where the VESA VBE DDC <whatever> messages exist.

Versions:

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Slackware 12.1 Slackware Linux Project

Slackware: 12.2.0 patched up to date (Note xorg built for Slackware 12.1)

Linux: 2.6.27.31-smp

libvbe.so is in the Slackware package "xorg-server-1.4.2-i486-1"

KDE version: 3.5.10


This whole thing feels like a race condition in or around libvbe.so such that sometimes it works and sometimes it doesn't. Anyone know of a real fix for this, ie not a work-around forcing the DPI to the correct value in some X parameter file.?

Thanks in advance.


Jeff B.
 
Old 11-26-2009, 02:41 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
IMHO he best place to report such a problem is Xorg user mailing list, see http://lists.freedesktop.org/mailman/listinfo/xorg.

But possibly they will answer that you should upgrade xorg-server...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lenny kde 3.5 font dpi ajt3nc Debian 1 02-15-2009 10:51 PM
Big font problem in KDE antis Linux - General 5 11-28-2005 03:29 AM
VESA, font, QPixmap and BadWindow errors when starting KDE 3.3 artificialGekko Linux - Software 0 03-21-2005 09:13 AM
framebuffer VESA = 80x30 and big fonts during boot kersten78 Slackware 3 10-20-2004 02:41 PM
dpi font | gdm | kde DE | xinitrc.kde | Slackware 10 acummings Slackware 2 07-28-2004 10:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration