[SOLVED] X-Windows Issues after upgrade to Slackware 14.2
SlackwareThis 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.
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.
Following UPGRADE.TXT to the letter, I upgraded to the latest Slackware 14.2 and now I have issues running X-Windows.
My video card is an old but reliable NVIDIA Corporation G92 [GeForce GTS 250] (rev a2) with two AOC 1080 monitors attached (double-headed). It's worked fine for many months (with Slackware 14.1) without any xorg.conf file. Now, X-windows won't come up, and Xorg.0.log says:
Code:
[ 32498.098]
X.Org X Server 1.18.3
Release Date: 2016-04-04
[ 32498.098] X Protocol Version 11, Revision 0
[ 32498.099] Build Operating System: Slackware 14.2 Slackware Linux Project
[ 32498.099] Current Operating System: Linux zaphod 4.4.14 #2 SMP Fri Jun 24 13:38:27 CDT 2016 x86_64
[ 32498.099] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-huge-4.4.14 root=/dev/sda2 ro
[ 32498.099] Build Date: 15 April 2016 11:05:21AM
[ 32498.099]
[ 32498.100] Current version of pixman: 0.34.0
[ 32498.100] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 32498.100] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 32498.101] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 4 10:15:42 2016
[ 32498.102] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 32498.102] (==) No Layout section. Using the first Screen section.
[ 32498.102] (==) No screen section available. Using defaults.
[ 32498.102] (**) |-->Screen "Default Screen Section" (0)
[ 32498.102] (**) | |-->Monitor "<default monitor>"
[ 32498.102] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 32498.102] (**) | |-->Device "nvidia"
[ 32498.102] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 32498.102] (==) Automatically adding devices
[ 32498.102] (==) Automatically enabling devices
[ 32498.102] (==) Automatically adding GPU devices
[ 32498.102] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 32498.102] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 32498.102] Entry deleted from font path.
[ 32498.102] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 32498.102] Entry deleted from font path.
[ 32498.102] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1,
/usr/share/fonts/misc,
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/75dpi,
/usr/share/fonts/100dpi,
/usr/share/fonts/cyrillic
[ 32498.102] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 32498.102] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 32498.102] (II) Loader magic: 0x808c00
[ 32498.102] (II) Module ABI versions:
[ 32498.102] X.Org ANSI C Emulation: 0.4
[ 32498.102] X.Org Video Driver: 20.0
[ 32498.102] X.Org XInput driver : 22.1
[ 32498.102] X.Org Server Extension : 9.0
[ 32498.103] (--) PCI:*(0:1:0:0) 10de:0615:3842:1145 rev 162, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf4000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 32498.103] (II) Open ACPI successful (/var/run/acpid.socket)
[ 32498.103] (II) LoadModule: "glx"
[ 32498.103] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 32498.115] (II) Module glx: vendor="X.Org Foundation"
[ 32498.115] compiled for 1.18.3, module version = 1.0.0
[ 32498.115] ABI class: X.Org Server Extension, version 9.0
[ 32498.115] (==) AIGLX enabled
[ 32498.115] (II) LoadModule: "nvidia"
[ 32498.115] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 32498.117] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 32498.117] compiled for 4.0.2, module version = 1.0.0
[ 32498.117] Module class: X.Org Video Driver
[ 32498.117] ================ WARNING WARNING WARNING WARNING ================
[ 32498.118] This server has a video driver ABI version of 20.0 that is not
supported by this NVIDIA driver. Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
[ 32498.118] =================================================================
[ 32498.118] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[ 32498.118] (II) UnloadModule: "nvidia"
[ 32498.118] (II) Unloading nvidia
[ 32498.118] (EE) Failed to load module "nvidia" (module requirement mismatch, 0)
[ 32498.118] (EE) No drivers available.
[ 32498.118] (EE)
Fatal server error:
[ 32498.119] (EE) no screens found(EE)
[ 32498.119] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 32498.120] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 32498.120] (EE)
There are three versions of xorg.conf in /etc/X11:
symlinking each of these in turn to xorg.conf allows X-Windows to run, but single-headed only. The second monitor remains in standby. And when the desktop appears, a Desktop Effects dialog appears, saying:
Code:
OpenGL desktop effects not possible
Your system cannot perform OpenGL Desktop Effects at the current resolution
You can try to select the XRender backend, but it might be very slow for this resolution as well.
Alternatively, lower the combined resolution of all screens to 479452908x0
When I click for details, I get:
Code:
For technical reasons it is not possible to determine all possible error causes.
The demanded resolution exceeds the GL_MAX_VIEWPORT_DIMS limitations of your GPU and is therefore not compatible with the OpenGL compositor. XRender does not know such limitations, but the performance will usually be impacted by the hardware limitations that restrict the OpenGL viewport size.
The working monitor is at 1024x768 (the maximum allowed) instead of the usual 1920x1080, in System Settings/Display and Monitor/Size and Orientation.
I tried running X -configure, but got this:
Code:
X.Org X Server 1.18.3
Release Date: 2016-04-04
X Protocol Version 11, Revision 0
Build Operating System: Slackware 14.2 Slackware Linux Project
Current Operating System: Linux zaphod 4.4.14 #2 SMP Fri Jun 24 13:38:27 CDT 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-huge-4.4.14 root=/dev/sda2 ro
Build Date: 15 April 2016 11:05:21AM
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul 4 10:45:15 2016
List of video drivers:
rendition
mach64
nouveau
siliconmotion
voodoo
chips
intel
ati
tdfx
s3
openchrome
trident
tga
v4l
mga
ast
radeon
ark
xgixp
i740
sisusb
xgi
r128
amdgpu
nv
i128
apm
dummy
savage
tseng
s3virge
nvidia
glint
neomagic
vmware
cirrus
sis
vesa
modesetting
================ WARNING WARNING WARNING WARNING ================
This server has a video driver ABI version of 20.0 that is not
supported by this NVIDIA driver. Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
=================================================================
(EE) NVIDIA: Use the -ignoreABI option to override this check.
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Number of created screens does not match number of detected devices.
Configuration failed.
(EE) Server terminated with error (2). Closing log file.
I'm at a bit of a loss as to what to try next, and I'm having a hard time dealing with this single, low-rez desktop, so if anyone can suggest a solution to my problems, or tell me what to try next, I'd be very appreciative.
Oh, I did download the latest NVIDIA driver from pkgs.org for Slackware 14.1 (there is nothing up for 14.2 yet) and (re)installed that, but it made no difference that I could see.
You need to either stop using the nvidia driver or get one for 14.2. The package from pkgs.org won't work because it was designed for an older Xorg and isn't compatible with the one in 14.2.
Uninstall the package from pkgs.org and try to use the nvidia driver SlackBuild from slackbuilds.org (I'm not sure which one you need for your card).
guys, please, stop getting packages from pkgs.org and then ask for assistance here: that's a private site full of ads not directly affiliated with anybody on LQ.
it indexes lots of mutual incompatible stuff from dozens of repositories so, IMHO, it's generally not a good idea to download anything from there.
if you want packages choose just one repository for your Slackware version and go with it (and ask for support to the repository owner, if it's actually supported) or build them yourself from SlackBuilds.org scripts (it's pretty easy).
mixing stuff is the best way to bork your system.
Thanks all, for your advice and suggestions. I've made a little progress.
I deleted previous nvidia packages, and downloaded the nvidia-driver and nvidia-kernel packages from SlackBuilds. Now, without any xorg.conf file, X comes up single-headed, with the resolution now 1280x1024 and OpenGL desktop effects functioning.
Still no 1920x1080 resolution, and no double-headed operation.
Running X -configure gives an error:
Number of created screens does not match number of detected devices.
Configuration failed.
So, I'm once again at a loss. I hope I don't have to go and write myself an xorg.conf file so enable the second screen! Haven't done that since the days of Xinerama, and I doubt I could remember how.
So, I'm once again at a loss. I hope I don't have to go and write myself an xorg.conf file so enable the second screen! Haven't done that since the days of Xinerama, and I doubt I could remember how.
I'm running Intel graphics not Nvidia, but my setup may help you get started with the X parts even if if the driver options won't apply.
Following the example offered by @TracyTiger, I made up an xorg.conf file (below). That didn't quite work, but the error messages suggested I downloaded and install a legacy driver from the NVIDIA site, which I did. I can't say the install went smoothly, because there were several warnings, but at the end of it, I have 1920x1080 dual head with what looks like normal performance.
Seems my old, reliable, GeForce GTS-250 is a bit too old!
Pity it wouldn't work without a xorg.conf file, because I keep hearing that it isn't necessary, but...
Some tweaking will now need to happen, but basically I'm calling this SOLVED since my machine is now usable again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.