LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-04-2016, 10:18 AM   #1
netfoot
LQ Newbie
 
Registered: Nov 2012
Posts: 23

Rep: Reputation: Disabled
X-Windows Issues after upgrade to Slackware 14.2


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:

xorg.conf-vesa
xorg.conf.backup
xorg.conf.nvidia-xconfig-original

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.
 
Old 07-04-2016, 11:11 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
There is a hint to fixing this in your log.

Quote:
[ 32498.118] (EE) NVIDIA: Use the -ignoreABI option to override this check.
Try this:

1. Create a file in /etc/X11/xorg.conf.d labeled as 01-ignoreabi.conf

2. Enter this into the file and save it:

Code:
Section "ServerFlags"
 Option "IgnoreABI" "1" 
EndSection
Try restarting Xorg and it "should" work with the standard nvidia configuration generated by nvidia-xconfig. No guarantees.

Last edited by ReaperX7; 07-04-2016 at 11:12 AM.
 
Old 07-04-2016, 12:01 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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).
 
1 members found this post helpful.
Old 07-04-2016, 12:24 PM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
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.

Last edited by ponce; 07-04-2016 at 12:34 PM.
 
3 members found this post helpful.
Old 07-04-2016, 05:35 PM   #5
netfoot
LQ Newbie
 
Registered: Nov 2012
Posts: 23

Original Poster
Rep: Reputation: Disabled
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.
 
Old 07-04-2016, 06:14 PM   #6
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
Quote:
Originally Posted by netfoot View Post
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.
 
Old 07-04-2016, 06:24 PM   #7
netfoot
LQ Newbie
 
Registered: Nov 2012
Posts: 23

Original Poster
Rep: Reputation: Disabled
Thanks! That may turn out very useful.

Oh, I forgot to say before: My single 1280x1024 monitor is as slow as a snail.
 
Old 07-04-2016, 08:28 PM   #8
netfoot
LQ Newbie
 
Registered: Nov 2012
Posts: 23

Original Poster
Rep: Reputation: Disabled
OK, things seem to be sorted, now!

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.

Thanks to all!


Code:
Section "Module"
    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    #Load        "speedo"
    Load       "glx"
EndSection



Section "Files"
#    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



Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "PS/2"
    Option "Device"      "/dev/mouse"
EndSection




# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
    Identifier "Left AOC Monitor"
EndSection

Section "Monitor"
    Identifier "Right AOC Monitor"
    Option "Position" "1920 0"
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier  "NVIDIA GTS-250"
    Driver      "nvidia"
#    Option "Monitor-HDMI2" "Right AOC Monitor"
#    Option "Monitor-HDMI1" "Left AOC Monitor"
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier "Screen Left"
    Device      "NVIDIA GTS-250"
    Monitor     "Left AOC Monitor"
    DefaultDepth 24
    Subsection "Display"
        Depth 24
        Modes "1920x1080"
    EndSubsection
EndSection

Section "Screen"
    Identifier "Screen Right"
    Device      "NVIDIA GTS-250"
    Monitor     "Right AOC Monitor"
    DefaultDepth 24
    Subsection "Display"
        Depth 24
        Modes "1920x1080"
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
    Identifier "Dual Monitor Layout"
    Screen "Screen Left"
    Screen "Screen Right" RightOf "Screen Left"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

# **********************************************************************
 
  


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
Windows 10 and Slackware Dualboot (bootloader issues) Roboto Slackware 50 03-31-2016 05:05 AM
[SOLVED] Raid issues with the last kernel upgrade from 3.2.29 to 3.2.45 on Slackware 14.0 meetscott Slackware 43 05-02-2014 07:50 PM
Slackware Samba Server + Windows Network Permissions Issues gankoji Slackware 5 09-20-2011 05:05 PM
Dell Latitude D610 Kernel Upgrade Issues [Slackware 12] Chryzmo Slackware 4 05-01-2008 02:58 PM
Slackware-Current: Qt upgrade issues Neruocomp Slackware 1 04-03-2005 12:24 PM

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

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