[nvidia] Xorg crashes in (EE) NVIDIA(0): Failed to allocate software rendering cache surface: out of memory

Bug #1871303 reported by Kenneth
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Boot hangs up on initiating graphics. I can only finish the boot if I use the recovery mode.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7.1
ProcVersionSignature: Ubuntu 4.15.0-91.92-generic 4.15.18
Uname: Linux 4.15.0-91-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 390.116 Sun Jan 27 07:21:36 PST 2019
 GCC version: gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
.tmp.unity_support_test.0:

ApportVersion: 2.20.9-0ubuntu7.14
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Tue Apr 7 09:02:40 2020
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
DkmsStatus:
 nvidia, 390.116, 4.15.0-88-generic, x86_64: installed
 nvidia, 390.116, 4.15.0-91-generic, x86_64: installed
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 NVIDIA Corporation GK208B [GeForce GT 710] [10de:128b] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. GK208B [GeForce GT 710] [1043:8572]
InstallationDate: Installed on 2017-07-14 (997 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
MachineType: ASUS All Series
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-91-generic root=UUID=671dec46-62d2-4163-a941-c528578feb4d ro recovery nomodeset
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/14/2015
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1103
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H81M-K
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1103:bd05/14/2015:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnH81M-K:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.family: ASUS MB
dmi.product.name: All Series
dmi.product.version: System Version
dmi.sys.vendor: ASUS
version.compiz: compiz 1:0.9.13.1+18.04.20180302-0ubuntu1
version.libdrm2: libdrm2 2.4.99-1ubuntu1~18.04.2
version.libgl1-mesa-dri: libgl1-mesa-dri 19.2.8-0ubuntu0~18.04.3
version.libgl1-mesa-glx: libgl1-mesa-glx 19.2.8-0ubuntu0~18.04.3
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4.3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.5-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2
xserver.bootTime: Tue Apr 7 07:18:59 2020
xserver.configfile: default
xserver.devices:
 input Power Button KEYBOARD, id 6
 input Power Button KEYBOARD, id 7
 input SIGMACHIP Usb Mouse MOUSE, id 8
 input Eee PC WMI hotkeys KEYBOARD, id 9
 input AT Translated Set 2 keyboard KEYBOARD, id 10
xserver.errors: open /dev/fb0: No such file or directory
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.19.6-1ubuntu4.3

Revision history for this message
Kenneth (kwbetts) wrote :
affects: ubuntu → xorg (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: [nvidia] Boot hangs up on initiating graphics. I can only finish the boot if I use the recovery mode.

Please:

1. Reproduce the hang again so the system creates new log files of the problem.

2. On the very next boot (in recovery mode now) run:

   journalctl -b-1 > prevboot.txt

   and then attach the resulting file here.

tags: added: nvidia
summary: - Problem Initiating Graphics Card
+ [nvidia] Boot hangs up on initiating graphics. I can only finish the
+ boot if I use the recovery mode.
affects: xorg (Ubuntu) → nvidia-graphics-drivers-390 (Ubuntu)
Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Incomplete
Revision history for this message
Kenneth (kwbetts) wrote : Re: [Bug 1871303] Re: [nvidia] Boot hangs up on initiating graphics. I can only finish the boot if I use the recovery mode.
  • prevboot.txt Edit (1.1 MiB, text/plain; charset="US-ASCII"; name="prevboot.txt")
Download full text (4.6 KiB)

Thanks for the response.

Here is the file.

Ken

On Tue, Apr 7, 2020 at 11:50 AM Daniel van Vugt <
<email address hidden>> wrote:

> Please:
>
> 1. Reproduce the hang again so the system creates new log files of the
> problem.
>
> 2. On the very next boot (in recovery mode now) run:
>
> journalctl -b-1 > prevboot.txt
>
> and then attach the resulting file here.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1871303
>
> Title:
> [nvidia] Boot hangs up on initiating graphics. I can only finish the
> boot if I use the recovery mode.
>
> Status in nvidia-graphics-drivers-390 package in Ubuntu:
> Incomplete
>
> Bug description:
> Boot hangs up on initiating graphics. I can only finish the boot if I
> use the recovery mode.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: xorg 1:7.7+19ubuntu7.1
> ProcVersionSignature: Ubuntu 4.15.0-91.92-generic 4.15.18
> Uname: Linux 4.15.0-91-generic x86_64
> NonfreeKernelModules: nvidia_modeset nvidia
> .proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory:
> '/proc/driver/nvidia/gpus/0000:01:00.0'
> .proc.driver.nvidia.registry: Binary: ""
> .proc.driver.nvidia.version:
> NVRM version: NVIDIA UNIX x86_64 Kernel Module 390.116 Sun Jan 27
> 07:21:36 PST 2019
> GCC version: gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
> .tmp.unity_support_test.0:
>
> ApportVersion: 2.20.9-0ubuntu7.14
> Architecture: amd64
> CompizPlugins: No value set for
> `/apps/compiz-1/general/screen0/options/active_plugins'
> CompositorRunning: None
> Date: Tue Apr 7 09:02:40 2020
> DistUpgraded: Fresh install
> DistroCodename: bionic
> DistroVariant: ubuntu
> DkmsStatus:
> nvidia, 390.116, 4.15.0-88-generic, x86_64: installed
> nvidia, 390.116, 4.15.0-91-generic, x86_64: installed
> ExtraDebuggingInterest: Yes, if not too technical
> GraphicsCard:
> NVIDIA Corporation GK208B [GeForce GT 710] [10de:128b] (rev a1)
> (prog-if 00 [VGA controller])
> Subsystem: ASUSTeK Computer Inc. GK208B [GeForce GT 710] [1043:8572]
> InstallationDate: Installed on 2017-07-14 (997 days ago)
> InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64
> (20170215.2)
> MachineType: ASUS All Series
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-91-generic
> root=UUID=671dec46-62d2-4163-a941-c528578feb4d ro recovery nomodeset
> SourcePackage: xorg
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 05/14/2015
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: 1103
> dmi.board.asset.tag: To be filled by O.E.M.
> dmi.board.name: H81M-K
> dmi.board.vendor: ASUSTeK COMPUTER INC.
> dmi.board.version: Rev X.0x
> dmi.chassis.asset.tag: Asset-1234567890
> dmi.chassis.type: 3
> dmi.chassis.vendor: Chassis Manufacture
> dmi.chassis.version: Chassis Version
> dmi.modalias:
> dmi:bvnAmericanMegatrendsInc.:bvr1103:bd05/14/2015:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnH81M-K:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
> dmi.product.family: ASUS MB
> ...

Read more...

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: [nvidia] Boot hangs up on initiating graphics. I can only finish the boot if I use the recovery mode.

Thanks. The problem indeed looks like it's confined to the Nvidia driver:

Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE) NVIDIA(0): Failed to allocate software rendering cache surface: out of
Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE) NVIDIA(0): memory.
Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE) NVIDIA(0): *** Aborting ***
Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE)
Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: Fatal server error:
Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE) NVIDIA: A GPU exception occurred during X server initialization(EE)
Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE)
Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: Please consult the The X.Org Foundation support
Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: at http://wiki.x.org
Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: for help.
Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE)
Apr 07 13:05:05 Kens-computer kernel: NVRM: GPU at PCI:0000:01:00: GPU-0cbf6562-d7da-f433-1671-3edebe83dd01
Apr 07 13:05:05 Kens-computer kernel: NVRM: Xid (PCI:0000:01:00): 31, Ch 00000008, engmask 00000101, intr 10000000
Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE) Server terminated with error (1). Closing log file.

Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: Incomplete → New
summary: - [nvidia] Boot hangs up on initiating graphics. I can only finish the
- boot if I use the recovery mode.
+ [nvidia] Xorg crashes in (EE) NVIDIA(0): Failed to allocate software
+ rendering cache surface: out of memory
Revision history for this message
Kenneth (kwbetts) wrote : Re: [Bug 1871303] Re: [nvidia] Boot hangs up on initiating graphics. I can only finish the boot if I use the recovery mode.
Download full text (6.3 KiB)

Thank you have locating the error for me.

What should I do?

Ken

On Wed, Apr 8, 2020 at 6:01 AM Daniel van Vugt <
<email address hidden>> wrote:

> Thanks. The problem indeed looks like it's confined to the Nvidia
> driver:
>
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE)
> NVIDIA(0): Failed to allocate software rendering cache surface: out of
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE)
> NVIDIA(0): memory.
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE)
> NVIDIA(0): *** Aborting ***
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE)
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: Fatal
> server error:
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE)
> NVIDIA: A GPU exception occurred during X server initialization(EE)
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE)
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: Please
> consult the The X.Org Foundation support
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]:
> at http://wiki.x.org
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: for help.
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE)
> Please also check the log file at "/var/log/Xorg.0.log" for additional
> information.
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE)
> Apr 07 13:05:05 Kens-computer kernel: NVRM: GPU at PCI:0000:01:00:
> GPU-0cbf6562-d7da-f433-1671-3edebe83dd01
> Apr 07 13:05:05 Kens-computer kernel: NVRM: Xid (PCI:0000:01:00): 31, Ch
> 00000008, engmask 00000101, intr 10000000
> Apr 07 13:05:05 Kens-computer /usr/lib/gdm3/gdm-x-session[3091]: (EE)
> Server terminated with error (1). Closing log file.
>
> ** Changed in: nvidia-graphics-drivers-390 (Ubuntu)
> Status: Incomplete => New
>
> ** Summary changed:
>
> - [nvidia] Boot hangs up on initiating graphics. I can only finish the
> boot if I use the recovery mode.
> + [nvidia] Xorg crashes in (EE) NVIDIA(0): Failed to allocate software
> rendering cache surface: out of memory
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1871303
>
> Title:
> [nvidia] Xorg crashes in (EE) NVIDIA(0): Failed to allocate software
> rendering cache surface: out of memory
>
> Status in nvidia-graphics-drivers-390 package in Ubuntu:
> New
>
> Bug description:
> Boot hangs up on initiating graphics. I can only finish the boot if I
> use the recovery mode.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: xorg 1:7.7+19ubuntu7.1
> ProcVersionSignature: Ubuntu 4.15.0-91.92-generic 4.15.18
> Uname: Linux 4.15.0-91-generic x86_64
> NonfreeKernelModules: nvidia_modeset nvidia
> .proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory:
> '/proc/driver/nvidia/gpus/0000:01:00.0'
> .proc.driver.nvidia.registry: Binary: ""
> .proc.driver.nvidia.version:
> NVRM version: NVIDIA UNIX x86_64 Kernel Module 390.116 Sun Jan 27
> 07:21:36 PST 2019
> GCC version: gcc version 7.5.0 (Ubuntu 7....

Read more...

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

It looks like a bug in an old driver, possibly relating only to old video cards. So a fix is unlikely to arrive in that particular driver version.

You might want to try uninstalling the Nvidia driver version 390 and then either:

  * Do nothing -- the built-in open source driver should work; or

  * sudo apt install nvidia-driver-435

Revision history for this message
Kenneth (kwbetts) wrote : Re: [Bug 1871303] Re: [nvidia] Xorg crashes in (EE) NVIDIA(0): Failed to allocate software rendering cache surface: out of memory
Download full text (5.0 KiB)

Thanks,

I tried the nvidia driver 435. seems that Umbuntu rejects and and reverted
to the nouveau
 driver. But the resolution is very low and the rendering quality is bad.
In the ubuntu settings/displays/resolution it does not give me a high
resolution option.

My eyes are just about burned out getting this far, the rendering is bad,
like a really bad focus, blurry.

Ken

On Wed, Apr 8, 2020 at 9:06 AM Daniel van Vugt <
<email address hidden>> wrote:

> It looks like a bug in an old driver, possibly relating only to old
> video cards. So a fix is unlikely to arrive in that particular driver
> version.
>
> You might want to try uninstalling the Nvidia driver version 390 and
> then either:
>
> * Do nothing -- the built-in open source driver should work; or
>
> * sudo apt install nvidia-driver-435
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1871303
>
> Title:
> [nvidia] Xorg crashes in (EE) NVIDIA(0): Failed to allocate software
> rendering cache surface: out of memory
>
> Status in nvidia-graphics-drivers-390 package in Ubuntu:
> New
>
> Bug description:
> Boot hangs up on initiating graphics. I can only finish the boot if I
> use the recovery mode.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.04
> Package: xorg 1:7.7+19ubuntu7.1
> ProcVersionSignature: Ubuntu 4.15.0-91.92-generic 4.15.18
> Uname: Linux 4.15.0-91-generic x86_64
> NonfreeKernelModules: nvidia_modeset nvidia
> .proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] Is a directory:
> '/proc/driver/nvidia/gpus/0000:01:00.0'
> .proc.driver.nvidia.registry: Binary: ""
> .proc.driver.nvidia.version:
> NVRM version: NVIDIA UNIX x86_64 Kernel Module 390.116 Sun Jan 27
> 07:21:36 PST 2019
> GCC version: gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
> .tmp.unity_support_test.0:
>
> ApportVersion: 2.20.9-0ubuntu7.14
> Architecture: amd64
> CompizPlugins: No value set for
> `/apps/compiz-1/general/screen0/options/active_plugins'
> CompositorRunning: None
> Date: Tue Apr 7 09:02:40 2020
> DistUpgraded: Fresh install
> DistroCodename: bionic
> DistroVariant: ubuntu
> DkmsStatus:
> nvidia, 390.116, 4.15.0-88-generic, x86_64: installed
> nvidia, 390.116, 4.15.0-91-generic, x86_64: installed
> ExtraDebuggingInterest: Yes, if not too technical
> GraphicsCard:
> NVIDIA Corporation GK208B [GeForce GT 710] [10de:128b] (rev a1)
> (prog-if 00 [VGA controller])
> Subsystem: ASUSTeK Computer Inc. GK208B [GeForce GT 710] [1043:8572]
> InstallationDate: Installed on 2017-07-14 (997 days ago)
> InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64
> (20170215.2)
> MachineType: ASUS All Series
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-91-generic
> root=UUID=671dec46-62d2-4163-a941-c528578feb4d ro recovery nomodeset
> SourcePackage: xorg
> UpgradeStatus: No upgrade log present (probably fresh install)
> dmi.bios.date: 05/14/2015
> dmi.bios.vendor: American Megatrends Inc.
> dmi.bios.version: 1103
> dmi.board.asset.tag: To be filled by O.E.M.
> dmi.board.name: H81M-K
> dmi.board.vendor...

Read more...

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

Being stuck in low resolution would be a different problem. But if I was to guess I would say that is due to the kernel options you have:

  recovery nomodeset

Those both need to be removed.

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.