[SOLVED] After upgrading to xorg-server-1.18.3 on Slackware 64 stable 14.2, X crashes.
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.
After upgrading to xorg-server-1.18.3 on Slackware 64 stable 14.2, X crashes.
After upgrading to xorg-server-1.18.3 on Slackware 64 stable 14.2, X crashes.
I'm a newbie so please bear with me and pardon my ignorance.
Before I executed "slackpkg upgrade-all" everything worked fine. The only packages that upgraded were the xorg-server packages. Then after upgrading and rebooting X crashes and sends me back to the command line.
I tried deleting .Xauthority file in my home directory but that didn't resolve my issue.
I'm using Slackware 64 14.2 stable Linux kernel 4.4.75 and Nvidia package and driver nvidia-driver-375.66 and nvidia-kernel-375.66_4.4.75-x86_64-1.
The packages I upgraded are:
xorg-server-1.18.3-x86_64-3_slack14.2.txz
xorg-server-xephyr-1.18.3-x86_64-3_slack14.2.txz
xorg-server-xnest-1.18.3-x86_64-3_slack14.2.txz
xorg-server-xvfb-1.18.3-x86_64-3_slack14.2.txz
Does anyone have any advice or suggestions? Please help, anything would be greatly appreciated.
This is trying to load the nouveau driver, which, if you've installed the nvidia driver, should be blacklisted.
What I would do is make sure you've reinstalled the latest version of xorg-server. Then, either run the nvidia driver setup or use kingbeowulf's SlackBuild and install the resulting driver. Then, blacklist nouveau and reboot.
Thanks bassmadrigal. I do have xf86-video-nouveau blacklisted in /etc/slackpkg/blacklist. I've tried reinstalling the latest xorg-server (which is xorg-server-1.18.3-x86_64-3_slack14.2.txz for Slackware 64 14.2 stable) several times, I've also followed kingbeowulf's advice of:
Thanks bassmadrigal. I do have xf86-video-nouveau blacklisted in /etc/slackpkg/blacklist.
This prevents slackpkg from seeing any updated packages that Pat puts out, but doesn't prevent it from loading. You need to actually blacklist the module. You do that under /etc/modprobe.d/ and create a file that ends in .conf (maybe nouveau.conf) and have blacklist nouveau in it. You can also install a package in the extra/ folder on your install media that will do the same thing (I don't remember the name).
Thanks bassmadrigal. I do have xf86-video-nouveau blacklisted in /etc/slackpkg/blacklist. I've tried reinstalling the latest xorg-server (which is xorg-server-1.18.3-x86_64-3_slack14.2.txz for Slackware 64 14.2 stable) several times, I've also followed kingbeowulf's advice of:
Thanks for the tip Alien Bob and for your enormous contributions to Slackware. I'm still having problems. Diantre and bassmadrigal thanks for noticing that X is trying to install nouveau, I don't know why it's doing that since I already have xf86-video-nouveau-blacklist-noversion-noarch-1 installed and xf86-video-nouveau blacklisted.
This time I reinstalled mesa after xorg-server in the following steps:
and it still isn't working. I am stumped. The only thing I can think of is to backup my files and reinstall the OS, and I will also have to do that for my laptop and my old desktop. Please help. Attached are the errors I got when running startx and my Xorg.0.log file.
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 324.953] (EE) Screen 0 deleted because of no matching config section.
[ 324.953] (EE) Device(s) detected, but none match those in the config file.
And /etc/X11/xorg.conf also, if you have one.
The nvidia-settings tool can generate a xorg.conf, you just have to save it in /etc/X11/ and make sure /etc/X11/xorg.conf.d/ is clear.
I looked for .conf files in /etc/X11/ and in /etc/X11/xorg.conf.d/ but I didn't find any. I also tried running xorgsetup, xorgconfig, and nvidia-settings to generate a xorg.conf file but the xorg.conf file it generated doesn't work, and nvidia-settings gives me "control display is undefined" error.
On another note, I check my other (properly working Slackware with nvidia driver) PC for xorg.conf files in /etc/X11 and /etc/X11/xorg.conf.d/ and there are no xorg.conf files there.
I looked for .conf files in /etc/X11/ and in /etc/X11/xorg.conf.d/ but I didn't find any. I also tried running xorgsetup, xorgconfig, and nvidia-settings to generate a xorg.conf file but the xorg.conf file it generated doesn't work, and nvidia-settings gives me "control display is undefined" error.
On another note, I check my other (properly working Slackware with nvidia driver) PC for xorg.conf files in /etc/X11 and /etc/X11/xorg.conf.d/ and there are no xorg.conf files there.
In /etc/X11/xorg.conf.d, add the file 10-nvidia.conf with the following content :
restart X. If this does not work, then, post the content of /var/log/Xorg.0.log and the output of commands below :
Code:
$ ls -l /lib/modules/4.4.75/kernel/drivers/video/nvidia.ko
$ lsmod | grep -E "nvidia|nouveau"
$ ls /var/log/packages/nvidia-*
# command to run as root
$ su -
$ modinfo /lib/modules/4.4.75/kernel/drivers/video/nvidia.ko
Edit:
according to the Xorg.0.log you posted previously, it seems that nouveau is not blacklisted :
Code:
...
944] (II) LoadModule: "nouveau"
[ 324.944] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
...
So, check that xf86-video-nouveau-blacklist-noarch-1 is installed and/or /etc/modprobe.d/BLACKLIST-nouveau.conf exists and contains :
Code:
blacklist nouveau
Furthermore, I'm wondering if you have installed the nvidia-kernel package...
--
SeB
Last edited by phenixia2003; 08-24-2017 at 01:30 PM.
restart X. If this does not work, then, post the content of /var/log/Xorg.0.log and the output of commands below :
SeB
SeB/phenixia2003 Thank you!! That fixed it! Everything is working perfectly now, as if nothing ever happened. All I did was add 10-nvidia.conf with the content you posted above. I will now mark this post as SOLVED. How did you know?
Also, for future reference, whenever I see an upgrade for xorg-server and mesa what is the proper procedure to take before upgrading? I'm guessing to do the following:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.