LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-07-2009, 04:36 AM   #1
Yury_T
Member
 
Registered: Aug 2008
Posts: 38
Blog Entries: 5

Rep: Reputation: 16
Unusable TTF rendering on integrated Intel 852/855, in Slackware 13.0


After upgrading my laptop (Latitude 100 with Intel 852/855) with Slackware 13.0, I encountered dire problem in X.

TTF glyphs' renderings are sort of "scattered" in the vertical direction. I won't be able to produce a shot of this right now, so I'll try to describe this: Each (N+1)th scanline of the glyph's rendering isn't put in the next raster line of the screen after the Nth, but rather several raster lines apart. With big point sizes, one may even just about guess what's the text there.

Renderings of bitmap fonts aren't affected.

What do you think, guys, is this a result of botched upgrade? Some obsolete library left over? I've checked and reinstalled the obvious suspects: X, freetype, to no avail, though.

I've upgraded this machine (others, too) with Slackwares before, never a problem. It worked OK previously with 12.2, too. I wouldn't really like to install from scratch, there's too much of a software installed (not packaged).
 
Old 10-07-2009, 06:11 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Did you read carefully UPGRADE.TXT before upgrading ?

I would try "slackpkg new-config" just in case.

If you suspect some file to be in concern, try to find out which package did install it, e.g.
Code:
grep "usr/share/fonts/TTF" /var/log/packages/*
 
Old 10-07-2009, 09:36 AM   #3
Yury_T
Member
 
Registered: Aug 2008
Posts: 38
Blog Entries: 5

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Didier Spaier View Post
Did you read carefully UPGRADE.TXT before upgrading ?

I would try "slackpkg new-config" just in case.

If you suspect some file to be in concern, try to find out which package did install it, e.g.
Code:
grep "usr/share/fonts/TTF" /var/log/packages/*
No, I don't suspect any specific package and yes, of course I've read the instructions (as I do before each upgrade). This is first time something of this magnitude happens after the upgrade. I've even went to recreation of the X config... no luck.

BTW, what precisely would the mentioned syntax of slackpkg do?
 
Old 10-07-2009, 10:09 AM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Code:
slackpkg - version 2.80.2

Usage: 	slackpkg update [gpg]		download and update files and 
					package indexes
	slackpkg check-updates		check if there is any news on
					Slackware's ChangeLog.txt
	slackpkg install package	download and install packages 
	slackpkg upgrade package	download and upgrade packages
	slackpkg reinstall package	same as install, but for packages 
					already installed
	slackpkg remove package		remove installed packages
	slackpkg clean-system		remove all packages which are not 
					present in the official Slackware 
					package set. Good to keep the house
					in order
	slackpkg upgrade-all		sync all packages installed in your 
					machine with the selected mirror. This
					is the correct way to upgrade all of 
					your machine.
	slackpkg install-new		install packages which are added to
					the official Slackware package set.
					Run this if you are upgrading to another
					Slackware version or using current.
	slackpkg blacklist		Blacklist a package. Blacklisted
					packages cannot be upgraded, installed,
					or reinstalled by slackpkg
	slackpkg download		Only download (do not install) a package
	slackpkg info package		Show package information 
					(works with only ONE package)
	slackpkg search file		Search for a specific file in the
					entire package collection
	slackpkg new-config		Search for new configuration files and
					ask to user what to do with them.
	slackpkg generate-template	Create a template with all
					official Slackware packages installed 
					in your machine.
	slackpkg install-template	Install selected template.
	slackpkg remove-template	Remove selected template. Be careful.

You can see more information about slackpkg usage and some examples
in slackpkg's manpage. You can use partial package names (such as x11
instead x11-devel, x11-docs, etc), or even Slackware series
(such as n,ap,xap,etc) when searching for packages.
When you reinstall, or install a new version of a package (e.g. following an upgrade), the installer does not remove any existing configuration file but instead create a new one with the same name plus the suffix .new. So aforementioned command let you check if you forgot to decide what to do about the old and the new configuration files.
 
Old 10-07-2009, 01:20 PM   #5
Yury_T
Member
 
Registered: Aug 2008
Posts: 38
Blog Entries: 5

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Didier Spaier View Post
...
When you reinstall, or install a new version of a package (e.g. following an upgrade), the installer does not remove any existing configuration file but instead create a new one with the same name plus the suffix .new. So aforementioned command let you check if you forgot to decide what to do about the old and the new configuration files.
Thanks, I see. Not exactly what I would call a useful tool to me, personally. But thanks, nevertheless.
 
Old 10-08-2009, 06:34 AM   #6
Yury_T
Member
 
Registered: Aug 2008
Posts: 38
Blog Entries: 5

Original Poster
Rep: Reputation: 16
I blame the new Intel xorg driver included in the Slackware 13.0.

After I've purged /usr and reinstalled all packages, the issue is still there, and an interesting nuances may be discerned:

1. The attached windowmaker screenshot shows that *either* vector or bitmap font may or may be not rendered correctly. Also, the glxgears output is "tripled" with each copy "offset".

2. Window move/resize/output leave garbage on screen.

3. In text console, there are short horizontal black lines flickering all over the screen (looks somewhat similarly to a TV interference). This is correlated with the hard disk activity.
Attached Images
File Type: jpg 760252-windowmaker.jpg (122.1 KB, 29 views)
 
Old 10-08-2009, 10:58 AM   #7
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
The you could try to find something about this issue in the xorg Archives and/or post it to their mailing list.
 
Old 10-08-2009, 11:44 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,450
Blog Entries: 4

Rep: Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505Reputation: 1505
Hi,

You can take a look at '[TESTING REQUEST] Xorg in -current (yes, again)'. This may aid you in correcting your driver problem.
 
Old 10-08-2009, 12:58 PM   #9
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Or, if you feel brave you can try the recently released xf86-video-intel 2.9.0 as it is supposed to contain "Multiple fixes to make the driver stable for 8xx chipsets, (855GM, 865G, etc.). The 2.8 driver series was extremely unstable with many of these chipsets." (quote from the linked page).

Instructions (in case you need it):

1. From a CD, DVD or mirror, copy the directory source/x11 (and its content, of course) to your home as x11.
2. Download the new source driver archive (take the .bz2 or the .gz, it doesn't matter) and put it in /home/yuri/x11/src/driver
3. become root (su -)
4. cd /home/yuri/x11
5. run the slackbuild:
Code:
./x11.SlackBuild driver xf86-video-intel
It should make 6 Slackware packages and put them in /tmp: the five which were already in /home/yuri/x11/src/driver plus the one you just added.

Then you can use upgradepkg to change to any of these and see if after that things look better. Of course you will have to restart the X server so that each change take effect.

Would you do so, please tell us what you got.

Notes.
1. For this to work, of course you will need all packages necessary for compilation, including gcc, kernel-source and kernel-headers. A full and clean install will do.
2. Try at least the new version before complaining @ the xorg mailing-list or the intel-gfx one.

PS. Of course, first make sure that the "intel" driver is chosen in X configuration...

Last edited by Didier Spaier; 10-08-2009 at 03:28 PM.
 
Old 10-08-2009, 04:19 PM   #10
Yury_T
Member
 
Registered: Aug 2008
Posts: 38
Blog Entries: 5

Original Poster
Rep: Reputation: 16
Thank you guys, but I've already DOWNgraded my Intel xorg drivers, to the 2.7.0 level, which was what helped.

Seems that that 5-fold increase in non-DRI throughput (250fps with 2.9.0, 55 with 2.7.0, on my hardware), introduced between 2.7.0 and 2.8.0, came with a price of breaking something important. One may notice on my screenshot that gears are "quintupled". I've tried playing with the "planes-looking" options, but to no avail.

So, Intel driver level 2.7.0 (http://intellinuxgraphics.org/) is "it", for the Latitude 100L with the Intel 852GM/855GM.

I really don't have time to proceed with the Xorg investigation, so feel free to take this issue there. )
 
Old 10-08-2009, 05:51 PM   #11
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Glad you eventually have it working. Would be interesting to check that driver version 2.9.0 works as well though.

I can't try, as I don't have the same hardware...
 
Old 10-09-2009, 02:34 AM   #12
Yury_T
Member
 
Registered: Aug 2008
Posts: 38
Blog Entries: 5

Original Poster
Rep: Reputation: 16
Ah, forgot to tell that I actually tried versions 2.9.0 and 2.8.1 before attempting the downgrade. Those have the same issue, however.
 
Old 10-09-2009, 07:50 AM   #13
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Then it would be kind of you to file a bug, as it looks like a regression.

Cheers,

Last edited by Didier Spaier; 10-09-2009 at 07:53 AM.
 
Old 10-09-2009, 01:05 PM   #14
Yury_T
Member
 
Registered: Aug 2008
Posts: 38
Blog Entries: 5

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Didier Spaier View Post
Then it would be kind of you to file a bug, as it looks like a regression.
Is this okay?

Last edited by Yury_T; 10-09-2009 at 05:10 PM.
 
Old 10-09-2009, 05:23 PM   #15
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,657

Rep: Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235Reputation: 1235
Well, I meant inform the upstream developers. But hopefully Robby Workman, who is probably in touch with them, will transmit. Maybe you could ask him to.

PS the link you provided in your last post is broken. Don't worry though, I founded the thread.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Direct Rendering - Slackware - Intel i845G ivanalejandro0 Linux - Hardware 1 12-01-2006 04:31 AM
anybody know about the 852/855 graphics drivers on intel's site? jwn7 Linux - Laptop and Netbook 3 06-12-2005 03:58 PM
Direct Rendering, Intel 855 langsuyar13 Linux - Hardware 4 01-25-2005 03:14 PM
SuSE 9.1 intel 852/855 dual display problem braddillman Linux - Hardware 0 08-12-2004 12:33 PM
VGA (Intel 852/855 Centrino) Drivers Needed! salarzae Linux - Newbie 0 12-01-2003 09:57 AM


All times are GMT -5. The time now is 12:15 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration