Re: Can't see characters in xserver-xorg

2008-05-08 Thread Andrei Popescu
On Thu, May 08, 2008 at 08:46:12AM +0200, José L. Ayala wrote:
 Hi all!
 
 Yesterday, after an upgrade of my testing system, I rebooted the machine and
 I wasn't able to log in the X environment. I cannot see my login in gdm
 because characters are displayed as little squares; the same happens in
 gnome. I tried to generate a new xorg.conf from an old version, and I even
 tried the gtf tool to calculate the refreshment frequencies for the monitor,
 but nothing worked. I also tried the stable version of xserver-xorg but,
 in that case, the X environment didn't work. For your information, my
 graphics card is an intel one.

Your problems seems to be rather font(s) related. Please post the output 
of

dpkg -l *font*


With latest xorg you should not need to write too much in xorg.conf. See 
mine (BTW, I also use intel):

,[ /etc/X11/xorg.conf ]
| [sniped comments]
|
| Section InputDevice
|   Identifier  Generic Keyboard
|   Driver  kbd
|   Option  XkbRules  xorg
|   Option  XkbModel  pc105
|   Option  XkbLayout ro,us,de
|   Option  XkbVariantcomma,,
|   Option  XkbOptionsgrp:alts_toggle
| EndSection
|
| Section InputDevice
|   Identifier  Configured Mouse
|   Driver  mouse
| EndSection
|
| Section Device
|   Identifier  Configured Video Device
| EndSection
|
| Section Monitor
|   Identifier  LVDS
|   # i think without this the dpi is set to 96 but my laptop has 85
|   DisplaySize 305 228
| EndSection
|
| Section Monitor
|   Identifier  Configured Monitor
|   Option  Ignore true
| EndSection
|
| Section Screen
|   Identifier  Default Screen
|   Monitor Configured Monitor
| EndSection
`


Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Can't see characters in xserver-xorg

2008-05-08 Thread Alan Chandler

José L. Ayala wrote:
 Hi all!

 Yesterday, after an upgrade of my testing system, I rebooted the machine
 and
 I wasn't able to log in the X environment. I cannot see my login in gdm
 because characters are displayed as little squares; the same happens in
 gnome. I tried to generate a new xorg.conf from an old version, and I even
 tried the gtf tool to calculate the refreshment frequencies for the
 monitor,
 but nothing worked. I also tried the stable version of xserver-xorg but,
 in that case, the X environment didn't work. For your information, my
 graphics card is an intel one.

 Please, do you have any new idea? thanks a lot!


i have exactly the same problem.  my video is an intel 965.

some else comments that it appears to be a font problem, but I don't think
so.  Icons appear wrong too - in particular what it looks like is that
transparency doesn't work and the result is either black or white.  Using
kdm, the central area kdm puts up is white with an enormous black border -
so whilst all the text is actually white blobs that is what makes me think
it is the video driver


-- 
Alan
(via webmail - means I am away from my computer)
http://www.chandlerfamily.org.uk



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't see characters in xserver-xorg

2008-05-08 Thread Nicolas George
Le decadi 20 floréal, an CCXVI, Alan Chandler a écrit :
 some else comments that it appears to be a font problem, but I don't think
 so.  Icons appear wrong too - in particular what it looks like is that
 transparency doesn't work and the result is either black or white.  Using
 kdm, the central area kdm puts up is white with an enormous black border -
 so whilst all the text is actually white blobs that is what makes me think
 it is the video driver

The recent upgrade of xserver 1.3 to 1.4 changed the 2D acceleration
framework, that may be what you are experiencing.

The very first thing to do is test with a simple environment. Which means
neither Gnome nor KDE. I advise to shut down any display manager, log in on
the console, and then:

X  sleep 2  DISPLAY=:0 xterm 

Then you can do some basic tests, especially between X11 fonts and Xft
fonts:

xfd -fn fixed
xfd -fa serif

As for me, I can tell that the current version of xserver works for me, but
I do not use neither KDE nor Gnome, nor any compositing manager, and I
upgraded (in /opt) to version 2.3.0 of the intel driver to get overlay video
(and a small custom patch to get it full screen), so this is no proof. It
seems that xserver-xorg-video-intel 2.3.0 is available in experimental.

Hope this helps.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: Can't see characters in xserver-xorg

2008-05-08 Thread Paul Cartwright
On Thu May 8 2008, Andrei Popescu wrote:
 With latest xorg you should not need to write too much in xorg.conf. See
 mine (BTW, I also use intel):

 ,[ /etc/X11/xorg.conf ]
r
 |
 | Section Device
 |   Identifier  Configured Video Device
 | EndSection

would that work for an nvidia driver?
   +-01.0-[:01]00.0  nVidia Corporation G72 [GeForce 7300 LE]

running lenny:
# uname -a
Linux paulandcilla 2.6.22-3-686 #1 SMP Sun Feb 10 20:20:49 UTC 2008 i686 
GNU/Linux



-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re: Can't see characters in xserver-xorg

2008-05-08 Thread Jose L . Ayala

Hi again!

Thanks a lot for your help. This is the result of your suggestions:

xfd -fn fixed WORKS

xfd -fa serif DOESN'T WORK: no font to display

If I try to launch firefox, I get the unusable fonts displayed and I  
cannot see the characters again.


I've checked the installed fonts:

gsfonts-x11
ttf-unfonts
ttf-unfonts-extra
unifont
xfonts-base
xfonts-encodings
xfonts-scalable

What could I try  now? Thanks a lot again for your help!

Jose

Re: Re: Can't see characters in xserver-xorg

2008-05-08 Thread Nicolas George
Le decadi 20 floréal, an CCXVI, Jose L. Ayala a écrit :
 Thanks a lot for your help. This is the result of your suggestions:

 xfd -fn fixed WORKS

 xfd -fa serif   DOESN'T WORK: no font to display

This is therefore a problem with Xft. Xft act as glue between fontconfig,
Freetype and RENDER. Freetype is very unlikely to break (somewhat like
libpng).

To see if fontconfig works, type fc-list, and see if you have all your
usual fonts listed.

To see if RENDER works, start xclock and see if the hands are displayed
properly _and_ anti-aliased (to better see anti-aliasing, you can use xmag).

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature