LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-12-2009, 05:40 PM   #1
specialized
Member
 
Registered: Sep 2005
Location: Mar del Plata, Arg
Distribution: Always Slackware
Posts: 228

Rep: Reputation: 37
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
 
Old 06-12-2009, 05:54 PM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
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.
 
Old 06-12-2009, 07:34 PM   #3
specialized
Member
 
Registered: Sep 2005
Location: Mar del Plata, Arg
Distribution: Always Slackware
Posts: 228

Original Poster
Rep: Reputation: 37
Solved, now my keyboard is set bad, without the X running its fine, now hal manage that?
and emerald freezes....why?

thanx a lot
 
Old 06-14-2009, 01:19 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
FontPath changed from X.Org 1.4.2 to X.Org 1.6.1

Quote:
Originally Posted by mRgOBLIN View Post
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.
 
Old 06-14-2009, 04:51 PM   #5
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Rep: Reputation: 19
Quote:
Originally Posted by specialized View Post
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
 
Old 06-14-2009, 06:00 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 06-14-2009, 06:41 PM   #7
specialized
Member
 
Registered: Sep 2005
Location: Mar del Plata, Arg
Distribution: Always Slackware
Posts: 228

Original Poster
Rep: Reputation: 37
i've fixed every problem, except for the freeze of emerald-theme-manager after the upgrade, as root works fine.....any idea?
 
Old 06-14-2009, 07:18 PM   #8
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
@ Witek
Let me say this again.

Make sure you removed the packages that were marked as "removed" in the ChangeLog" This is very important.
 
Old 06-15-2009, 03:03 AM   #9
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Rep: Reputation: 19
Quote:
Originally Posted by mRgOBLIN View Post
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.
 
Old 06-15-2009, 04:21 PM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by witek View Post
@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?
 
Old 06-16-2009, 03:34 AM   #11
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Rep: Reputation: 19
Quote:
Originally Posted by Bruce Hill View Post
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.
 
Old 06-16-2009, 01:31 PM   #12
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Rep: Reputation: 19
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.
 
Old 06-16-2009, 08:41 PM   #13
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
i had some problems too, but it's related to NVidia driver which should be recompiled and soon after that, it worked again.
 
Old 06-16-2009, 09:49 PM   #14
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by witek View Post
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.
 
Old 06-17-2009, 02:15 AM   #15
witek
Member
 
Registered: Oct 2008
Location: Poland, Łódź
Distribution: Lubuntu, Salix
Posts: 105

Rep: Reputation: 19
I`m using default fonts, I didn`t change anything.
 
  


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
SlackPkg trying to upgrade rpm2tgz-1.0-i486-1.txt in -current niels.horn Slackware 3 05-09-2009 09:43 AM
Problem with latest -current patch - Error in Slackpkg? niels.horn Slackware 4 04-17-2009 05:34 AM
Slackpkg upgrade to xorg 1.4.2 and ATI drivers BobNutfield Slackware 3 07-08-2008 12:28 PM
Using slackpkg to Upgrade to Slackware-Current x94qvi Slackware 8 10-20-2007 07:53 PM
xfce flickering problem after 2006-02-10 slack-current upgrade firebird Slackware 2 04-08-2006 07:38 AM

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

All times are GMT -5. The time now is 11:50 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