Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-21-2006, 08:48 AM
|
#1
|
LQ Newbie
Registered: Apr 2006
Posts: 12
Rep:
|
XFree86 locking-up the machine
Hi all,
The computer I try to setup freezes from time to time, only way out is a hard reboot. This doesn't seem to be a hardware related issue since I have 10 identical computers at hand with the same problem.
I installed RH 9.0 (kernel 2.4.20-8). Unfortunately I have no other options since i need some drivers that were specifically compiled for this OS.
I use XFree86-4.3.0-2.90.55, which is the latest version available from Red Hat Network.
The board has a CLE266 on-board integrated graphics, so I used the latest driver from via for this chipset.
When I switch back to X from a text console, the title bar of the open windows tends to get gibberish for a couple of seconds then it recovers. Sometimes it does not, though, and then it's a total lock-up.
No entry in the logs when it occurs. No remote pings, nada.
Any idea on what I could check to find the source of this problem?
Thank you,
cyberblak
|
|
|
04-21-2006, 11:00 AM
|
#2
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
XFree86 4.3.0 is really old. How long has this been happening?
One thing you can try is ugrade to XFree86 4.5.0 from source (it's really straight forward) to see if that solves your problem. XFree86 4.6.0 should be out shortly. One thing you can try is make a backup of /usr/X11R6 (the entire directory) and your /etc/X11/XF86Config file. Install XFree86 4.5.0 (or wait for 4.6.0) and see if that solves your problem. If it does not, you can restore your backed up /usr/X11R6 directory and be back to where you are now.
Make sure the video drive you're using is compatibile with XFree86 4.3.0. Also, see if your video adapter is supported by XFree86 directly. Maybe using the driver that comes with XFree86 would work better in that you would not have this problem.
Lastly, check /var/log/XFree86.0.log for any errors.
What is your default runlevel? Do you boot into GUI mode or into text mode and run X manually?
Peace...
|
|
|
04-21-2006, 10:10 PM
|
#3
|
LQ Newbie
Registered: Apr 2006
Posts: 12
Original Poster
Rep:
|
Hi Tomdkat,
In fact, I tried to upgrade to XFree86 4.5 a few days ago. I didn't test long enough to see if it worked out because an issue with the True Type fonts arosed. I need to use a few TT fonts in the system, but once installed, it seems that those fonts wouldn't scale properly.
Anyway, the CLE266 chipset is effectively supported by the latest XFree. Is it supposed to be better than the Via driver?
As for the logs, nothing really interesting... No startup errors and nothing before the freeze.
The system boots in runlevel 3 and I start X manually using startx and a .xinitrc file.
Thanks,
cyberblak
|
|
|
04-21-2006, 10:51 PM
|
#4
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Quote:
Originally Posted by cyberblak
In fact, I tried to upgrade to XFree86 4.5 a few days ago. I didn't test long enough to see if it worked out because an issue with the True Type fonts arosed. I need to use a few TT fonts in the system, but once installed, it seems that those fonts wouldn't scale properly.
|
What fonts are these? Are they freely available? I'm running a 4.6.0rc3 X server right now and I can load those fonts and see how they behave.
Can you see if your terminal switching problem occurs with 4.5? If it does not, the font issue could be dealt with, I'm sure.
Quote:
Anyway, the CLE266 chipset is effectively supported by the latest XFree. Is it supposed to be better than the Via driver?
|
I don't know but if the crash is related to a driver problem, you can see about getting an updated driver from Via or find out what your other options are.
Quote:
As for the logs, nothing really interesting... No startup errors and nothing before the freeze.
The system boots in runlevel 3 and I start X manually using startx and a .xinitrc file.
|
Ok.
Peace...
Last edited by tomdkat; 04-24-2006 at 02:29 PM.
|
|
|
04-24-2006, 03:40 PM
|
#5
|
LQ Newbie
Registered: Apr 2006
Posts: 12
Original Poster
Rep:
|
Ok, here is where I am now:
I installed the XFree86-4.5 with the built-in via driver. I got the fonts to work, but the colors are all screwed up. I mean, inverted or something (you should see the colors selector!).
As if the value for R, G and B would have been mixed up.
The monitor is a flat panel.
Any idea on which config. could do that?
Thanks,
cyberblak
|
|
|
04-24-2006, 04:08 PM
|
#6
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Not off the top of my head. Can you post a link to a screenshot?
Peace...
|
|
|
04-24-2006, 05:08 PM
|
#7
|
LQ Newbie
Registered: Apr 2006
Posts: 12
Original Poster
Rep:
|
Unfortunately I can't... When I take a screenshot, the resulting picture has the correct colors. The problem seems to be between the actual data (which is ok) and the screen.
As soon as I replace the built-in driver with the one from Via, the problem disapears. But if the crashes are related to the Via driver, this won't help me!
Thanks,
cyberblak
|
|
|
04-24-2006, 05:41 PM
|
#8
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Quote:
Originally Posted by cyberblak
Unfortunately I can't... When I take a screenshot, the resulting picture has the correct colors. The problem seems to be between the actual data (which is ok) and the screen.
|
Ok. Can you tell me the steps you followed to install your special font?
So, X 4.5.0 doesn't have the terminal switch problem but has the font problem. Sounds like the other driver was causing the X crash. Once I know how you installed the font, we can see what can be done.
Is the font a true-type font?
Peace...
|
|
|
04-24-2006, 06:01 PM
|
#9
|
LQ Newbie
Registered: Apr 2006
Posts: 12
Original Poster
Rep:
|
Hi,
Using XFree86 4.3 (standard with RH 9.0), I used the following procedure:
http://corefonts.sourceforge.net/
The fonts then scaled very well.
When I upgraded to XFree86 4.5, I only added the fonts directory that was created with the procedure (/usr/share/fonts/msttcorefonts in my case) to the catalogue entry of the xfs config file (in /etc/X11/fs).
The fonts are now scaling very badly...
Thanks,
cyberblak
Last edited by cyberblak; 04-24-2006 at 06:06 PM.
|
|
|
04-24-2006, 06:05 PM
|
#10
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Ok, read this. XFree86 uses freetype for TTF font support and fontconfig to manage the fonts. The RedHat releases mentioned in the link you posted are ancient. Try the procedure described in the XFree86 doc above.
I installed some Windows fonts a few days ago using that method (mkfontdir, mkfontscale, fc-cache) and they are readily available.
Let me know how it goes.
Peace...
|
|
|
04-24-2006, 11:46 PM
|
#11
|
LQ Newbie
Registered: Apr 2006
Posts: 12
Original Poster
Rep:
|
The bad news are - the machine just locked TIGHT a few minutes ago... Hard reboot and all.
Could it be some kernel issue? I need a machine that never locks, it will be situated in a remote location!
I will appreciate any idea...
Thanks!
cyberblak
|
|
|
04-24-2006, 11:47 PM
|
#12
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Hmmm.. strange. Did it crash with X 4.5.0 and the XFree driver or the Via driver? Did you try installing the font per the XFree instructions and revert back to the XFree driver instead of the Via driver?
Peace...
|
|
|
04-25-2006, 08:20 AM
|
#13
|
LQ Newbie
Registered: Apr 2006
Posts: 12
Original Poster
Rep:
|
It crashed with XFree86 4.5.0 using the built-in driver (which, by the way, still has this color problem and is almost unusable). I did not have the time to fiddle with the fonts, it crashed before.
Same type of freeze than before. Simple, plain freeze.
Thanks,
cyberblak
|
|
|
04-25-2006, 10:54 AM
|
#14
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Great, so now we've got X crashes with both the built-in driver as well as the Via supplied driver. At least with the Via supplied driver, the font looks correct.
At this point, I'm stumped. I guess you would want to either revert back to X 4.3 w/ the Via driver since you're no better off with 4.5. Or stick with 4.5 and re-install the Via driver. You mention above this machine will be at a remote location. Will the user at that location be switching from a text console to X, as you're doing?
Maybe posting your question to the XFree86 user mailing list would be another avenue, since the XFree86 developers monitor the list. 4.6.0 is on the verge of coming out so they might tell you to upgrade to that but you never know.
Peace...
|
|
|
All times are GMT -5. The time now is 07:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|