LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   upgrade slack-current with slackpkg, problem with Xorg (https://www.linuxquestions.org/questions/slackware-14/upgrade-slack-current-with-slackpkg-problem-with-xorg-732575/)

tomrobla 07-05-2009 01:05 AM

I just installed Slackware 13rc1 on a computer with i810 Chipset.
ran xorgsetup
started X.. screen comes up with no background and freezes.
I need to shut off power.

I have Slackware 12.1 running in a different partition with no problems. I also can run several different live Linux distros with no problems with Xorg.

rc nai 07-05-2009 05:58 PM

Go to your command line and type the following two commands, then post back the results.
Code:

grep WW /var/log/Xorg.0.log
grep EE /var/log/Xorg.0.log

Can you post your xorg.conf too?

tomrobla 07-05-2009 08:28 PM

Slackware 13 rc1 Xorg Intel i810 hangs
 
grep EE

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER

grep WW

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/local" does not exist.
(WW) The directory "/usr/share/fonts/CID" does not exist.
(WW) The directory "/usr/share/fonts/local" does not exist.
(WW) The directory "/usr/share/fonts/CID" does not exist.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) intel(0): DRI is disabled because it runs only at 16-bit depth.
(WW) intel(0): xf86AllocateGARTMemory: allocation of 1024 pages failed
(WW) intel(0): Direct rendering disabled

xorg.conf

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/CID"
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

Section "Module"
Load "glx"
Load "dri"
Load "dri2"
Load "dbe"
Load "extmod"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
#DisplaySize 300 230 # mm
Identifier "Monitor0"
VendorName "DEL"
ModelName "DELL D1028L"
HorizSync 30.0 - 69.0
VertRefresh 48.0 - 120.0
Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:0:1:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 8
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

rc nai 07-06-2009 01:43 AM

Note the ones in bold.

Change this:
Code:

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 8

To this:
Code:

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16

Change this:
Code:

SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection

To this:
Code:

SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection

Hope that helps.

Nille_kungen 07-06-2009 03:21 AM

Why use the old xorg.conf and it's old layout in new xorg?
I don't even have an xorg.conf anymore.
Quote:

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
Like that one that doesn't work in newer xorg since it uses evdev and not kbd. (kbd can be used as an fallback iirc)
Instead we use hal rules like /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi

witek 07-06-2009 05:26 AM

Quote:

Originally Posted by tomrobla (Post 3597062)
I just installed Slackware 13rc1 on a computer with i810 Chipset.
ran xorgsetup
started X.. screen comes up with no background and freezes.

According to my experience i810 won`t work with Slackware 13rc1. Xorg1.6.1 intel driver is buggy. You need to download 2.7.99.901 test version as indicated in this thread: http://www.linuxquestions.org/questi...urrent-733996/

then as root:

Code:

init 3
X -configure
cp /root/xorg.conf.new /etc/X11/xorg.conf
startx


tomrobla 07-07-2009 08:05 AM

Changes suggested to xorg.conf made no difference. I tried using xorg.conf generated by other distros for my machine without success. I am not a type of user that would be messing around with testing configurations. I got the latest version of Ubuntu 9.04 Jaunty running without any problems. I am trying to figure out whether to upgrade from Slackware 12.1 to 13 or wait for 13.1

Alien Bob 07-07-2009 10:32 AM

People, you have to know about one important limitation of using slackpkg.

Slackpkg is able to upgrade any official Slackware package you have installed on your computer to the version that is present on the official Slackware mirror. It is also capable of finding packages that got added to Slackware - it does this by checking the ChangeLog.txt for lines that contain "Added."
However, slackpkg is not able to remove packages from your system that were removed in Slackware.

This fact will particularly bite you when you upgrade to the latest X.Org in slackware-current - or later when you upgrade Slackware 12.2 to 13.0.
The effect of failing to remove deprecated packages is that a lot of packages from the X/ series will be left on your machine, and some of these packages (especially the driver packages) will cause xorgsetup to hang!

What you need to do is scan the ChangeLog.txt of slackware-current for any package that is listed as "removed" and manually remove these from your own Slackware installation. These removed packages should also be listed in the CHANGES_AND_HINTS.TXT file.

Eric

grissiom 07-07-2009 01:34 PM

Quote:

Originally Posted by Alien Bob (Post 3599764)
However, slackpkg is not able to remove packages from your system that were removed in Slackware.

I don't think so. You can do it with "slackpkg clean-system". Although you have to keep an eye for the packages to be moved -- do not remove the third-party packages(mostly SBo ;), but this is a roughly easy task as good third-party packages will always have their own tags.

tomrobla 07-07-2009 02:32 PM

I did a complete clean install from slackware-current
ChangeLog.txt states this was 13rc1
downloaded all installation files a, ap, x, ... into a partition
setup lilo to use new vmlinuz and initrd.gz
installed from partition
did full install

upgrade from 12.1 will be strictly manual on top of a clean install of 13.
just checking out 13rc1 in anticipation of final 13
I only upgrade at major release points.
12.1 is working fine... I skipped 12.2.. skip 13?


All times are GMT -5. The time now is 09:38 AM.