FS#58660 - [nvidia-340xx] Xorg server won't start with 340.106-35
Attached to Project:
Arch Linux
Opened by Grzegorz Antoniak (antekone) - Saturday, 19 May 2018, 08:07 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Saturday, 16 June 2018, 03:34 GMT
Opened by Grzegorz Antoniak (antekone) - Saturday, 19 May 2018, 08:07 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Saturday, 16 June 2018, 03:34 GMT
|
Details
Description:
xorg-server-1.20.0-2 doesn't start when nvidia-340xx-340.106-35 is installed, and there is no newer nvidia-340xx package available. The only way is to downgrade xorg-server to 1.19.6-2. Steps to reproduce: 1. Install xorg-server-1.20.0-2, 2. Install nvidia-340xx-340.106-35, 3. Observe that startup scripts enter infinite loop when trying to bring up X, 4. Reboot under 'single' mode 5. Observe error message in Xorg.log related to incompatibility of nvidia driver with this Xorg version. Steps to fix: 1. Downgrade xorg-server to previous last version (1.19.6-2). |
This task depends upon
Closed by Giancarlo Razzolini (grazzolini)
Saturday, 16 June 2018, 03:34 GMT
Reason for closing: Fixed
Additional comments about closing: 304.170 fixes this issue.
Saturday, 16 June 2018, 03:34 GMT
Reason for closing: Fixed
Additional comments about closing: 304.170 fixes this issue.
Nouveau doesn't work either
Same workaround: downgrade to 1.19.xxx
Here is below the Xorg log output (adding ignoreABI option to Xorg configuration just makes the system hang, bad idea)
[ ... ]
[ 20.298] (II) LoadModule: "glx"
[ 20.298] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[ 20.340] (II) Module glx: vendor="NVIDIA Corporation"
[ 20.340] compiled for 4.0.2, module version = 1.0.0
[ 20.340] Module class: X.Org Server Extension
[ 20.340] (II) NVIDIA GLX Module 340.106 Tue Jan 9 14:21:56 PST 2018
[ 20.340] (II) LoadModule: "nvidia"
[ 20.341] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 20.342] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 20.342] compiled for 4.0.2, module version = 1.0.0
[ 20.342] Module class: X.Org Video Driver
[ 20.342] ================ WARNING WARNING WARNING WARNING ================
[ 20.343] This server has a video driver ABI version of 24.0 that this
driver does not officially support. Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
[ 20.343] =================================================================
[ 20.343] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[ 20.343] (II) UnloadModule: "nvidia"
[ 20.343] (II) Unloading nvidia
[ 20.343] (EE) Failed to load module "nvidia" (unknown error, 0)
[ 20.343] (EE) No drivers available.
[ 20.343] (EE)
Fatal server error:
[ 20.343] (EE) no screens found(EE)
[ 20.344] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 20.344] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 20.344] (EE)
[ 20.344] (EE) Server terminated with error (1). Closing log file.
The ARMSoc driver is also expecting ABI version 23 and the new Xorg is shipped with version 24.
Althrough this is a ARMSoc issue in this case, I think this xorg upgrade is likely to cause troubles with high number of video drivers.
Section "ServerFlags"
Option "IgnoreABI" "1"
EndSection
Nevertheless it doesn't solve the issue with incompatible nvidia drivers and xorg.
Is there any way I can solve it?
Postdata: Before the last update my system started excellent
After `[ OK ] Reached Target Graphical Interface`, lightdm don't start and prompt keeps blinking
* Linux Version: 4.16.9-1-ARCH
* Desktop Env: xfce
* Display Manager: lightdm
* Nvidia drivers: nvidia-340xx, nvidia-340xx-utils, lib32-nvidia-340xx-utils
* /var/log/lightdm/lightdm.log: https://gist.github.com/alex1a/3c6d4642bb034625622bb027462208ec
* /etc/lightdm/lightdm.conf: https://gist.github.com/alex1a/7dff854f1060b04d7ba6613e795a2b02
* `journalctl -b --unit lightdm.service`: https://gist.github.com/alex1a/a5e3e67a6e4eae629acb80d07313a7f7
* /etc/X11/xorg.conf: https://gist.github.com/alex1a/653b029dc4f1f008ef9d48d25c7b0a55
* `lspci | grep VGA`: `NVIDIA Corporation GF104 [GeForce GTX 460] (rev a1)`
* /var/log/Xorg.0.log: https://gist.github.com/1bb0ab3a68c9649c7d88f674611a2619
* ~/.xinitrc: https://gist.github.com/alex1a/4fad6d7beaa475e41ebecf99b7290b3d
However, a word of caution regarding IgnoreABI; be prepared with an install cd or other login method for the possibility of an (apparently) unresponsive system, or disable the display manager service and start manually. I implemented using the configuration file as described by YP. Boot progressed beyond the text message about reaching target graphical interface, but only to a black screen. I was not able to access any other tty. I was able to escape this by logging in via ssh from another machine and deactivating the IgnoreABI .conf file, at which point the black screen reverted to the boot messages ending with Graphical Interface and other ttys could again be accessed. I assume this means the driver loaded but was not properly interfacing with the new ABI, though I have not tried to debug further. For now am simply reverting to 1.19.
I confirm that IgnoreABI is freezing my computer with black screen, with no way to switch to a TTY. I have a Geforce GTX 430.
Here is a small tutorial to revert to 1.19 version:
1) Download and unzip one of the files at this page (.tar.gz or .tar.xz)
https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/xorg-server&id=d12bc9dda2ac15052c74b51eca1199a3b3a37693
2) unzip the archive on your computer
3) go to unzipped folder: packages-d12bc9dda2ac15052c74b51eca1199a3b3a37693/trunk
4) sudo makepkg -si
5) Once you have downgraded to 1.19.xxx version of xserver-xorg, simply add this to your /etc/pacman.conf in order to avoid further upgrades
IgnorePkg = xorg-server xorg-server-common xorg-server-devel xorg-server-xdmx xorg-server-xephyr xorg-server-xnest xorg-server-xvfb xorg-server-xwayland
@grazzolini is right. "Downgrade" or "downgrader" from AUR is easy downgrading packages 1.20 to 1.19.
_ any hope of a 340.xxx release with xorg 1.20 support?
_ Yes, we'll get one out eventually. I just can't promise a particular timeframe. One thing to note is that driver support for the multi-vendor dispatch interface in the new server wasn't quite ready, so these drivers still require replacing the server's libglx.so with ours. Support for loading our glx extension into the server's new glvnd interface is being worked on and should show up in a future release, but it's unlikely that we'll backport it to the legacy branches.
Aaron Plattner (NVIDIA Linux Graphics)
https://www.archlinux.org/packages/testing/x86_64/nvidia-340xx-utils/
FS#58942. Please, report back, this issue should be fixed with this driver version release.https://bbs.archlinux.org/viewtopic.php?id=237338
Basically, optirun works correctly with the NVIDIA card, but Intel Graphics provide no acceleration whatsoever since the GLX extension is completely broken.
`NVIDIA Corporation GT218 [ION] [10de:0a64] (rev a2)'.
Thanks for your efforts.