Slackware This Forum is for the discussion of Slackware Linux.
|
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
06-12-2009, 05:40 PM
|
#1
|
|
Member
Registered: Sep 2005
Location: Mar del Plata, Arg
Distribution: Always Slackware
Posts: 213
Rep:
|
upgrade slack-current with slackpkg, problem with Xorg
HI guys!
I recently update my current slack with slackpkg.
obviously with a re-install of the nvidia drivers.
but when i want to reconfigure xorg.conf, xorgconf doesnt exist, only xorgsetup and, by the way, when i use it, freeze my pc.
problems of .conf files? i have the lastest packages
thanx again
|
|
|
|
06-12-2009, 05:54 PM
|
#2
|
|
Slackware Contributor
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 980
|
Make sure you removed the packages that were marked as "removed" in the ChangeLog"
slackpkg clean-system will do this for you but be sure to go through the list and uncheck any of your own custom packages or it will remove those too.
(Wouldn't hurt to re-install the NVidia driver after this)
You might also try "X -configure" (After following the above instructions).
In fact, with the new X I can get away with just having the following in xorg.conf
Code:
Section "Device"
Identifier "Card0"
Driver "nvidia"
EndSection
So far everything seems to work fine.
|
|
|
|
06-12-2009, 07:34 PM
|
#3
|
|
Member
Registered: Sep 2005
Location: Mar del Plata, Arg
Distribution: Always Slackware
Posts: 213
Original Poster
Rep:
|
Solved, now my keyboard is set bad, without the X running its fine, now hal manage that?
and emerald freezes....why?
thanx a lot
|
|
|
|
06-14-2009, 01:19 AM
|
#4
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
FontPath changed from X.Org 1.4.2 to X.Org 1.6.1
Quote:
Originally Posted by mRgOBLIN
You might also try "X -configure" (After following the above instructions).
In fact, with the new X I can get away with just having the following in xorg.conf
Code:
Section "Device"
Identifier "Card0"
Driver "nvidia"
EndSection
So far everything seems to work fine.
|
Here's another case where you must use and edit xorg.conf (or some other file I'm not aware of) with the new X.Org 1.6.1 in Slackware64 -current (Thu Jun 11 13:57:36 CDT 2009):
Before upgrading to the latest -current with X.Org 1.6.1, I could start rxvt-unicode with the following options:
Code:
urxvt -geometry 166x52 -fn "8x16bold" -pe tabbed -bg black -fg white
I decided to try what mRgOBLIN posted, changed my xorg.conf to match the above, restarted X and hald, and now it won't launch rxvt-unicode because:
Code:
mingdao@jeremiah:~$ urxvt -geometry 166x52 -fn "8x16bold" -pe tabbed -bg black -fg white &
[1] 29316
mingdao@jeremiah:~$ urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.
Apparently 8x16bold is not in the base fontset with the new X.Org server.
Following both the instructions from both mRgOBLIN and X.Org, I ran "X -configure" and generated a new xorg.conf, and moved it to /etc/X11/xorg.conf and restarted the X server and hald. Still the same result:
Code:
mingdao@jeremiah:~$ urxvt -geometry 166x52 -fn "8x16bold" -pe tabbed -bg black -fg white &
[1] 12071
mingdao@jeremiah:~$ urxvt: unable to load base fontset, please specify a valid one using -fn, aborting.
So, where is the 8x16bold font the previous xorg.conf used, and why is it not now loaded? To find out I first diffed the newly generated file and my old xorg.conf to check the FontPaths:
Code:
mingdao@jeremiah:~$ diff -y /etc/X11/xorg.conf /etc/X11/xorg.conf~
<snip>
Section "Files" Section "Files"
ModulePath "/usr/lib64/xorg/modules" |
FontPath "/usr/share/fonts/TTF" | # The location of the RGB database. Note, this is the name o
FontPath "/usr/share/fonts/OTF" | # file minus the extension (like ".txt" or ".db"). There is
FontPath "/usr/share/fonts/Type1" | # no need to change the default.
FontPath "/usr/share/fonts/misc" | # Multiple FontPath entries are allowed (which are concatenat
FontPath "/usr/share/fonts/75dpi/:unscaled" | # as well as specifying multiple comma-separated entries in o
> # command (or a combination of both methods)
> #
> # If you don't have a floating point coprocessor and emacs, M
> # programs take long to start up, try moving the Type1 and Sp
> # to the end of this list (or comment them out).
> #
> # ModulePath can be used to set a search path for the X serve
> # The default path is shown here.
> # ModulePath "/usr/lib/xorg/modules"
> RgbPath "/usr/share/X11/rgb"
> FontPath "/usr/share/fonts/local/"
> FontPath "/usr/share/fonts/misc/"
> FontPath "/usr/share/fonts/OTF/"
> FontPath "/usr/share/fonts/TTF/"
> FontPath "/usr/share/fonts/Type1/"
> FontPath "/usr/share/fonts/CID/"
> FontPath "/usr/share/fonts/Speedo/"
> FontPath "/usr/share/fonts/75dpi/:unscaled"
> FontPath "/usr/share/fonts/100dpi/:unscaled"
> FontPath "/usr/share/fonts/75dpi/"
> FontPath "/usr/share/fonts/100dpi/"
> FontPath "/usr/share/fonts/cyrillic/"
EndSection EndSection
Then I searched for the 8x16bold font?
Code:
mingdao@jeremiah:~$ find /usr/ -type f -exec grep -Hin 8x16bold {} \; 2>/dev/null
/usr/share/fonts/cyrillic/fonts.alias:23:8x16bold -misc-fixed-bold-r-normal--16-160-75-75-c-80-koi8-r
/usr/share/fonts/cyrillic/fonts.alias:44:koi8x16bold -misc-fixed-bold-r-normal--16-160-75-75-c-80-koi8-r
Since the 8x16bold is in /usr/share/fonts/cyrillic/, and "X -configure" did NOT add that $PATH, it apparently needs to be added to xorg.conf -- or somewhere else. Once I added that FontPath to my new xorg.conf, restarted hald and X, urxvt launched successfully.
So we can add FontPath to the list of reasons you must use an xorg.conf file with X.Org server 1.6.1.
|
|
|
|
06-14-2009, 04:51 PM
|
#5
|
|
Member
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Salix, Debian, Arch
Posts: 99
Rep:
|
Quote:
Originally Posted by specialized
I recently update my current slack with slackpkg.
|
Me too. Using xorg 1.4.2 everything was allright on my intel i810 video card. After upgrade from current xserver 1.6.1 seems to run fine but java applets and flash video are unreadable mess scattered all over my screen.
I thought that re-creation of my xorg.conf would help, but unlike previously, X -configure hangs 
|
|
|
|
06-14-2009, 06:00 PM
|
#6
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
Did you backup your old xorg.conf? I keep all my important configurations
in ~/configs for just such cases as this, and for use after a fresh install.
I never format ~/. If you saved the old one, use it instead.
|
|
|
|
06-14-2009, 06:41 PM
|
#7
|
|
Member
Registered: Sep 2005
Location: Mar del Plata, Arg
Distribution: Always Slackware
Posts: 213
Original Poster
Rep:
|
i've fixed every problem, except for the freeze of emerald-theme-manager after the upgrade, as root works fine.....any idea?
|
|
|
|
06-14-2009, 07:18 PM
|
#8
|
|
Slackware Contributor
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 980
|
@ Witek
Let me say this again.
Make sure you removed the packages that were marked as "removed" in the ChangeLog" This is very important.
|
|
|
|
06-15-2009, 03:03 AM
|
#9
|
|
Member
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Salix, Debian, Arch
Posts: 99
Rep:
|
Quote:
Originally Posted by mRgOBLIN
Make sure you removed the packages that were marked as "removed" in the ChangeLog" This is very important.
|
Indeed, initially I did not removed these. Then I read your post and I removed all marked for removal. It did not help.
I have a spare partition with another slackware installation just to test such sensitive issues like mass package update. I usually do 'upgradepkg' but as it takes a lot time, this time I just made 'installpkg'. Maybe this is why xorg not working right but I have a feeling that this is not the case. Is there any difference between 'upgradepkg' and 'installpkg; removepkg' sequence?
I'll try to clean-install from current ISO and let you know.
I guess there is something related to intel card driver as it has been much fuss about intel cards performance with xorg1.6 recently
@Bruce Hill: Yes, I have backup of all important configs, so I can return easily to my previous system, I know I can downgrade back to 1.4.2, but this is not necessary as I said I did it on a test system. I just wanted to indicate that latest xorg is not working right on intel i810.
Last edited by witek; 06-15-2009 at 03:25 AM.
|
|
|
|
06-15-2009, 04:21 PM
|
#10
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
Quote:
Originally Posted by witek
@Bruce Hill: Yes, I have backup of all important configs, so I can return easily to my previous system, I know I can downgrade back to 1.4.2, but this is not necessary as I said I did it on a test system. I just wanted to indicate that latest xorg is not working right on intel i810.
|
Did you try the new X.Org 1.6.1 server with your old xorg.conf?
|
|
|
|
06-16-2009, 03:34 AM
|
#11
|
|
Member
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Salix, Debian, Arch
Posts: 99
Rep:
|
Quote:
Originally Posted by Bruce Hill
Did you try the new X.Org 1.6.1 server with your old xorg.conf?
|
Yes, on old xorg.conf XFCE and KDE desktops looked OK untill I ran a website with a java applet. Its content was scattered all over the screen. I tried flash - the same. Then I just ran xterm and got the same.
I tried to generate new xorg.conf but X hanged.
Last edited by witek; 06-16-2009 at 07:34 AM.
|
|
|
|
06-16-2009, 01:31 PM
|
#12
|
|
Member
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Salix, Debian, Arch
Posts: 99
Rep:
|
I made a clean install using current-ISO on a formated partition, then I generated new xorg.conf and X seemed to run fine untill I started xterm. Here is a screenshot:
http://advamacs.com/i810mess.png
The screenshot, taken by GIMP, is quite different from what was on the screen, however this fact itself indicates that something is wrong here.
Last edited by witek; 06-16-2009 at 01:34 PM.
|
|
|
|
06-16-2009, 08:41 PM
|
#13
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,860
|
i had some problems too, but it's related to NVidia driver which should be recompiled and soon after that, it worked again.
|
|
|
|
06-16-2009, 09:49 PM
|
#14
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
Quote:
Originally Posted by witek
I made a clean install using current-ISO on a formated partition, then I generated new xorg.conf and X seemed to run fine untill I started xterm. Here is a screenshot:
http://advamacs.com/i810mess.png
The screenshot, taken by GIMP, is quite different from what was on the screen, however this fact itself indicates that something is wrong here.
|
Which font are you using? This is what my konsole looked like when
I first installed Slackware64 and chose different fonts in it.
|
|
|
|
06-17-2009, 02:15 AM
|
#15
|
|
Member
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Salix, Debian, Arch
Posts: 99
Rep:
|
I`m using default fonts, I didn`t change anything.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:12 AM.
|
|
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
|
|