Xorg freeze after boot if use xorg.conf generated by nvidia-xconfig

Bug #1867352 reported by Igor Zubarev
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-440 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hello!

I have constant X crash if use xorg.conf generated by nvidia-xconfig.
Currently my xorg.conf is absent. Only if I have an empty conf file or it is absent I can start X.
The problem exists in 19.10 and 20.04 development version

Also I have strange messages if I run nvidia-xconfig:
$ sudo nvidia-xconfig

WARNING: Unable to locate/open X configuration file.

Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
New X configuration file written to '/etc/X11/xorg.conf'

Here is my xorg.conf generated by nvidia:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 440.64

Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    Option "DPMS"
EndSection

Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: xorg 1:7.7+19ubuntu14
ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
Uname: Linux 5.4.0-14-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia wl
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Это каталог: '/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.64 Fri Feb 21 01:17:26 UTC 2020
 GCC version: gcc version 9.2.1 20200304 (Ubuntu 9.2.1-31ubuntu1)
ApportVersion: 2.20.11-0ubuntu20
Architecture: amd64
BootLog: Error: [Errno 13] Отказано в доступе: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 13 16:44:45 2020
DistUpgraded: 2020-03-13 00:50:36,699 DEBUG Running PostInstallScript: './xorg_fix_proprietary.py'
DistroCodename: focal
DistroVariant: ubuntu
DkmsStatus:
 bcmwl, 6.30.223.271+bdcom, 5.3.0-40-generic, x86_64: installed
 bcmwl, 6.30.223.271+bdcom, 5.4.0-14-generic, x86_64: installed
 nvidia, 440.64, 5.4.0-14-generic, x86_64: installed
ExtraDebuggingInterest: Yes, if not too technical
GpuHangFrequency: Continuously
GpuHangReproducibility: Yes, I can easily reproduce it
GpuHangStarted: I don't know
GraphicsCard:
 Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Sony Corporation 3rd Gen Core processor Graphics Controller [104d:90b7]
   Subsystem: Sony Corporation GK208M [GeForce GT 735M] [104d:90b7]
MachineType: Sony Corporation SVF15A1S9RB
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-14-generic root=UUID=81c8a442-a191-4c83-b415-ee0f1f2b0b81 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
UpgradeStatus: Upgraded to focal on 2020-03-12 (0 days ago)
dmi.bios.date: 07/19/2016
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: R0250DA
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnInsydeCorp.:bvrR0250DA:bd07/19/2016:svnSonyCorporation:pnSVF15A1S9RB:pvrC10H9CDB:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.family: VAIO
dmi.product.name: SVF15A1S9RB
dmi.product.sku: 54581586
dmi.product.version: C10H9CDB
dmi.sys.vendor: Sony Corporation
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.100-4
version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.0-1ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.7-2ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20190815-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
Igor Zubarev (igor.zubarev) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please reproduce the crash/freeze again, and then on the very next reboot collect a log of the previous boot where it was happening:

  journalctl -b-1 > prevboot.txt

And then attach the file 'prevboot.txt' here.

Please also check /var/crash/ for any files and if you find some then follow these instructions:

  https://wiki.ubuntu.com/Bugs/Responses#Missing_a_crash_report_or_having_a_.crash_attachment

affects: xorg (Ubuntu) → nvidia-graphics-drivers-440 (Ubuntu)
Changed in nvidia-graphics-drivers-440 (Ubuntu):
status: New → Incomplete
Revision history for this message
Igor Zubarev (igor.zubarev) wrote :

Hello, Daniel

I reproduce the crash.

$ journalctl -b-1 > prevboot.txt
Specifying boot ID or boot offset has no effect, no persistent journal was found.

Also I found gnome-shell crash report files on the next boot in the /var/crash/. I attached them

Revision history for this message
Igor Zubarev (igor.zubarev) wrote :

File _usr_bin_gnome-shell.1000.uploaded contains only:

973eabcc-6b3c-11ea-9874-fa163e102db1

Revision history for this message
Igor Zubarev (igor.zubarev) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Those crashes look like they might be bug 1866044. Try re-enabling animations :)

Revision history for this message
Igor Zubarev (igor.zubarev) wrote :

Hi Daniel! I re-enabled animations and tried to boot with x.org by nvidia.
Still crash :(

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please update your system:

  sudo apt update
  sudo apt full-upgrade
  sudo reboot

and then if the problem persists follow (all of) these instructions:

  https://wiki.ubuntu.com/Bugs/Responses#Missing_a_crash_report_or_having_a_.crash_attachment

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for nvidia-graphics-drivers-440 (Ubuntu) because there has been no activity for 60 days.]

Changed in nvidia-graphics-drivers-440 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.