Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-16-11, 12:11 AM   #1
adamm
Registered User
 
Join Date: Jul 2011
Posts: 2
Default crash after sleeping and switching back to X

X crashes via nvidia driver sometimes, after the computer is resumed from sleep. The backtrace from X.org log for the latest crash is below.

Typical procedure I follow to initiate sleep and to resume is,

1. switch to virtual console vt2
2. acpitool -s
3. resume
4. switch X (vt7) <--- crash here

The nvidia driver version is,

NVRM version: NVIDIA UNIX x86_64 Kernel Module 275.09.07 Wed Jun 8 14:16:46 PDT 2011
GCC version: gcc version 4.6.1 20110526 (prerelease) (Debian 4.6.0-10)

GPU information from the driver,

mira:/proc/driver/nvidia/gpus# cat 0/information
Model: GeForce 6150
IRQ: 16
Video BIOS: 05.51.22.33.07
Card Type: PCI
DMA Size: 39 bits
DMA Mask: 0x7fffffffff
Bus Location: 0000:00.05.0

mira:/proc/driver/nvidia/gpus# cat 1/information
Model: GeForce 9400 GT
IRQ: 16
Video BIOS: 62.94.29.00.40
Card Type: PCI-E
DMA Size: 40 bits
DMA Mask: 0xffffffffff
Bus Location: 0000:01.00.0


------------------------------

[1034928.301] (II) No input driver/identifier specified (ignoring)
[1034929.009] (II) NVIDIA(0): Setting mode "1280x1024_60+0+0"
[1034929.184] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[1046508.638] (II) Open ACPI successful (/var/run/acpid.socket)
[1046508.785] (II) NVIDIA(0): Setting mode "1280x1024_60+0+0"
[1046508.973] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[1052216.561] (II) Open ACPI successful (/var/run/acpid.socket)
[1052216.702] (II) NVIDIA(0): Setting mode "1280x1024_60+0+0"
[1052216.893] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[1067137.811] (II) Open ACPI successful (/var/run/acpid.socket)
[1067137.945] (II) NVIDIA(0): Setting mode "1280x1024_60+0+0"
[1067138.119] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[1078907.891] (II) NVIDIA(1): Setting mode "720x400"
[1089317.132] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[1115909.550] (II) Open ACPI successful (/var/run/acpid.socket)
[1115909.684] (II) NVIDIA(0): Setting mode "1280x1024_60+0+0"
[1115909.856] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[1116127.341] (II) NVIDIA(1): Setting mode "720x400"
[1118489.582] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[1118540.748] (II) NVIDIA(1): Setting mode "720x400"
[1118589.698] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[1118653.414] (II) NVIDIA(1): Setting mode "720x400"
[1118834.530] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[1174102.617] (II) Open ACPI successful (/var/run/acpid.socket)
[1174102.753] (II) NVIDIA(0): Setting mode "1280x1024_60+0+0"
[1174102.925] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[1207115.562] (II) Open ACPI successful (/var/run/acpid.socket)
[1207115.697] (II) NVIDIA(0): Setting mode "1280x1024_60+0+0"
[1207115.885] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[1207115.562] (II) Open ACPI successful (/var/run/acpid.socket)
[1207115.697] (II) NVIDIA(0): Setting mode "1280x1024_60+0+0"
[1207115.885] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[1207115.905] (EE) NVIDIA(1): Failed to allocate primary buffer: error
[1207115.905] (EE) NVIDIA(1): *** Aborting ***
[1207115.927]
Backtrace:
[1207116.026] 0: /usr/bin/X (xorg_backtrace+0x26) [0x4a3866]
[1207116.026] 1: /usr/bin/X (0x400000+0x65059) [0x465059]
[1207116.026] 2: /lib/libpthread.so.0 (0x7f02f3675000+0xf020) [0x7f02f3684020]
[1207116.026] 3: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f02ed72e000+0xa17a1) [0x7f02ed7cf7a1]
[1207116.026] 4: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f02ed72e000+0x420c00) [0x7f02edb4ec00]
[1207116.026] 5: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f02ed72e000+0x4211a3) [0x7f02edb4f1a3]
[1207116.026] 6: /usr/bin/X (xf86Wakeup+0x42e) [0x46e74e]
[1207116.026] 7: /usr/bin/X (WakeupHandler+0x5b) [0x436bcb]
[1207116.026] 8: /usr/bin/X (WaitForSomething+0x1b6) [0x45e8a6]
[1207116.027] 9: /usr/bin/X (0x400000+0x32a92) [0x432a92]
[1207116.027] 10: /usr/bin/X (0x400000+0x26fae) [0x426fae]
[1207116.027] 11: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f02f23aeead]
[1207116.027] 12: /usr/bin/X (0x400000+0x2729d) [0x42729d]
[1207116.027] Segmentation fault at address 0x25
[1207116.027]
Fatal server error:
[1207116.027] Caught signal 11 (Segmentation fault). Server aborting
[1207116.027]
[1207116.027]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[1207116.027] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[1207116.027]
adamm is offline   Reply With Quote
Old 10-30-11, 01:02 PM   #2
adamm
Registered User
 
Join Date: Jul 2011
Posts: 2
Default Re: crash after sleeping - Failed to allocate primary buffer

Crash continues with the latest version of drivers. 290.03.

I have noticed that crash *requires* use of 3D application, most likely requires shader usage. There is no crashes using regular desktop application. But if I run a game, like EVE Online, then quit the game and put computer to sleep, X crashes in nVidia driver. I only run EVE Online on the 9400 GT card, which is 2nd display.

Below is more complete output from Xorg log.

[ 26786.015] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 26786.015] (==) NVIDIA(0): RGB weight 888
[ 26786.015] (==) NVIDIA(0): Default visual is TrueColor
[ 26786.015] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 26786.015] (**) NVIDIA(0): Option "TwinView" "0"
[ 26786.015] (**) NVIDIA(0): Option "MetaModes" "1280x1024_60 +0+0"
[ 26786.015] (**) NVIDIA(0): Option "RandRRotation" "true"
[ 26786.015] (**) NVIDIA(0): Option "Rotate" "left"
[ 26786.015] (**) NVIDIA(0): Using static 90-degree counterclockwise screen rotation.
[ 26786.015] (**) NVIDIA(0): Enabling 2D acceleration
[ 26786.998] (II) NVIDIA(GPU-0): Display (HP L1955 (DFP-0)) does not support NVIDIA 3D Vision
[ 26786.998] (II) NVIDIA(GPU-0): stereo.
[ 26787.000] (II) NVIDIA(0): NVIDIA GPU GeForce 6150 (C51) at PCI:0:5:0 (GPU-0)
[ 26787.000] (--) NVIDIA(0): Memory: 524288 kBytes
[ 26787.000] (--) NVIDIA(0): VideoBIOS: 05.51.22.33.07
[ 26787.000] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[ 26787.000] (--) NVIDIA(0): Connected display device(s) on GeForce 6150 at PCI:0:5:0
[ 26787.000] (--) NVIDIA(0): HP L1955 (DFP-0)
[ 26787.000] (--) NVIDIA(0): HP L1955 (DFP-0): 310.0 MHz maximum pixel clock
[ 26787.000] (--) NVIDIA(0): HP L1955 (DFP-0): Internal Dual Link TMDS
[ 26787.000] (II) NVIDIA(0): Display Device found referenced in MetaMode: DFP-0
[ 26787.000] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID has been
[ 26787.000] (**) NVIDIA(0): enabled on all display devices.
[ 26787.001] (II) NVIDIA(0): Assigned Display Device: DFP-0
[ 26787.001] (II) NVIDIA(0): Validated modes:
[ 26787.001] (II) NVIDIA(0): "1280x1024_60+0+0"
[ 26787.001] (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
[ 26787.004] (--) NVIDIA(0): DPI set to (85, 86); computed from "UseEdidDpi" X config
[ 26787.004] (--) NVIDIA(0): option
[ 26787.004] (WW) NVIDIA(0): RandR rotation is not compatible with the Rotate option.
[ 26787.004] (II) NVIDIA(0): The RandR extension is not compatible with the Rotate option.
[ 26787.004] (II) NVIDIA(0): Disabling RandR.
[ 26787.004] (**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
[ 26787.004] (==) NVIDIA(1): RGB weight 888
[ 26787.004] (==) NVIDIA(1): Default visual is TrueColor
[ 26787.004] (==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
[ 26787.005] (**) NVIDIA(1): Option "TwinView" "0"
[ 26787.005] (**) NVIDIA(1): Option "MetaModes" "1920x1080_60 +0+0; 720x400"
[ 26787.005] (**) NVIDIA(1): Option "RandRRotation" "false"
[ 26787.005] (**) NVIDIA(1): Option "UseEdidDpi" "FALSE"
[ 26787.005] (**) NVIDIA(1): Option "DPI" "85 x 85"
[ 26787.005] (**) NVIDIA(1): Enabling 2D acceleration
[ 26789.417] (II) NVIDIA(GPU-1): Display (LG Electronics LG TV (DFP-0)) supports NVIDIA 3D
[ 26789.417] (II) NVIDIA(GPU-1): Vision stereo.
[ 26789.419] (II) NVIDIA(1): NVIDIA GPU GeForce 9400 GT (G96) at PCI:1:0:0 (GPU-1)
[ 26789.419] (--) NVIDIA(1): Memory: 524288 kBytes
[ 26789.419] (--) NVIDIA(1): VideoBIOS: 62.94.29.00.40
[ 26789.419] (II) NVIDIA(1): Detected PCI Express Link width: 16X
[ 26789.419] (--) NVIDIA(1): Interlaced video modes are supported on this GPU
[ 26789.419] (--) NVIDIA(1): Connected display device(s) on GeForce 9400 GT at PCI:1:0:0
[ 26789.419] (--) NVIDIA(1): LG Electronics LG TV (DFP-0)
[ 26789.419] (--) NVIDIA(1): LG Electronics LG TV (DFP-0): 330.0 MHz maximum pixel clock
[ 26789.419] (--) NVIDIA(1): LG Electronics LG TV (DFP-0): Internal Dual Link TMDS
[ 26789.423] (II) NVIDIA(1): Display Device found referenced in MetaMode: DFP-0
[ 26789.423] (**) NVIDIA(1): Using HorizSync/VertRefresh ranges from the EDID has been
[ 26789.423] (**) NVIDIA(1): enabled on all display devices.
[ 26789.423] (WW) NVIDIA(1): The EDID for LG Electronics LG TV (DFP-0) contradicts itself:
[ 26789.424] (WW) NVIDIA(1): mode "1920x1080" is specified in the EDID; however, the
[ 26789.424] (WW) NVIDIA(1): EDID's valid HorizSync range (31.000-100.000 kHz) would
[ 26789.424] (WW) NVIDIA(1): exclude this mode's HorizSync (27.0 kHz); ignoring
[ 26789.424] (WW) NVIDIA(1): HorizSync check for mode "1920x1080".
[ 26789.424] (WW) NVIDIA(1): The EDID for LG Electronics LG TV (DFP-0) contradicts itself:
[ 26789.424] (WW) NVIDIA(1): mode "1920x1080" is specified in the EDID; however, the
[ 26789.424] (WW) NVIDIA(1): EDID's valid VertRefresh range (48.000-88.000 Hz) would
[ 26789.424] (WW) NVIDIA(1): exclude this mode's VertRefresh (24.0 Hz); ignoring
[ 26789.424] (WW) NVIDIA(1): VertRefresh check for mode "1920x1080".
[ 26789.424] (WW) NVIDIA(1): The EDID for LG Electronics LG TV (DFP-0) contradicts itself:
[ 26789.424] (WW) NVIDIA(1): mode "1920x1080" is specified in the EDID; however, the
[ 26789.424] (WW) NVIDIA(1): EDID's valid VertRefresh range (48.000-88.000 Hz) would
[ 26789.424] (WW) NVIDIA(1): exclude this mode's VertRefresh (30.0 Hz); ignoring
[ 26789.424] (WW) NVIDIA(1): VertRefresh check for mode "1920x1080".
[ 26789.432] (WW) NVIDIA(1): The EDID for LG Electronics LG TV (DFP-0) contradicts itself:
[ 26789.432] (WW) NVIDIA(1): mode "1920x1080" is specified in the EDID; however, the
[ 26789.432] (WW) NVIDIA(1): EDID's valid HorizSync range (31.000-100.000 kHz) would
[ 26789.432] (WW) NVIDIA(1): exclude this mode's HorizSync (27.0 kHz); ignoring
[ 26789.432] (WW) NVIDIA(1): HorizSync check for mode "1920x1080".
[ 26789.432] (WW) NVIDIA(1): The EDID for LG Electronics LG TV (DFP-0) contradicts itself:
[ 26789.432] (WW) NVIDIA(1): mode "1920x1080" is specified in the EDID; however, the
[ 26789.432] (WW) NVIDIA(1): EDID's valid VertRefresh range (48.000-88.000 Hz) would
[ 26789.432] (WW) NVIDIA(1): exclude this mode's VertRefresh (24.0 Hz); ignoring
[ 26789.432] (WW) NVIDIA(1): VertRefresh check for mode "1920x1080".
[ 26789.432] (WW) NVIDIA(1): The EDID for LG Electronics LG TV (DFP-0) contradicts itself:
[ 26789.432] (WW) NVIDIA(1): mode "1920x1080" is specified in the EDID; however, the
[ 26789.432] (WW) NVIDIA(1): EDID's valid VertRefresh range (48.000-88.000 Hz) would
[ 26789.432] (WW) NVIDIA(1): exclude this mode's VertRefresh (30.0 Hz); ignoring
[ 26789.432] (WW) NVIDIA(1): VertRefresh check for mode "1920x1080".
[ 26789.489] (II) NVIDIA(1): Assigned Display Device: DFP-0
[ 26789.489] (II) NVIDIA(1): Validated modes:
[ 26789.489] (II) NVIDIA(1): "1920x1080_60+0+0"
[ 26789.489] (II) NVIDIA(1): "720x400"
[ 26789.489] (II) NVIDIA(1): Virtual screen size determined to be 1920 x 1080
[ 26789.496] (**) NVIDIA(1): DPI set to (85, 85); computed from "DPI" X config option
[ 26789.496] (--) Depth 24 pixmap format is 32 bpp
[ 26789.496] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[ 26789.502] (II) NVIDIA(0): Setting mode "1280x1024_60+0+0"
[ 26789.653] (II) Loading extension NV-GLX
[ 26789.685] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 26789.685] (==) NVIDIA(0): Backing store disabled
[ 26789.685] (==) NVIDIA(0): Silken mouse enabled
[ 26789.685] (**) NVIDIA(0): DPMS enabled
[ 26789.685] (II) Loading extension NV-CONTROL
[ 26789.686] (WW) NVIDIA(0): Option "TwinViewXineramaInfoOrder" requested "CRT", but no
[ 26789.686] (WW) NVIDIA(0): such display device could be found, or all display devices
[ 26789.686] (WW) NVIDIA(0): by that name are currently unavailable.
[ 26789.686] (WW) NVIDIA(0): Option "TwinViewXineramaInfoOrder" requested "TV", but no such
[ 26789.686] (WW) NVIDIA(0): display device could be found, or all display devices by
[ 26789.686] (WW) NVIDIA(0): that name are currently unavailable.
[ 26789.686] (II) Loading extension XINERAMA
[ 26789.686] (II) Loading sub module "dri2"
[ 26789.686] (II) LoadModule: "dri2"
[ 26789.687] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 26789.687] (II) Module dri2: vendor="X.Org Foundation"
[ 26789.687] compiled for 1.11.1.901, module version = 1.2.0
[ 26789.687] ABI class: X.Org Server Extension, version 6.0
[ 26789.687] (II) NVIDIA(0): [DRI2] Setup complete
[ 26789.687] (--) RandR disabled
[ 26789.700] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[ 26789.772] (==) NVIDIA(1): Disabling shared memory pixmaps
[ 26789.772] (==) NVIDIA(1): Backing store disabled
[ 26789.772] (==) NVIDIA(1): Silken mouse enabled
[ 26789.772] (**) NVIDIA(1): DPMS enabled
[ 26789.792] (II) Loading sub module "dri2"
[ 26789.792] (II) LoadModule: "dri2"
[ 26789.793] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 26789.793] (II) Module dri2: vendor="X.Org Foundation"
[ 26789.793] compiled for 1.11.1.901, module version = 1.2.0
[ 26789.793] ABI class: X.Org Server Extension, version 6.0
[ 26789.793] (II) NVIDIA(1): [DRI2] Setup complete
[ 26789.793] (--) RandR disabled
... input initialization ....
[ 26790.694] (II) NVIDIA(0): Setting mode "1280x1024_60+0+0"
[ 45879.425] (II) NVIDIA(1): Setting mode "720x400"
[ 53070.895] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[ 53246.494] (II) NVIDIA(1): Setting mode "720x400"
[ 53449.443] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[ 54668.855] (II) NVIDIA(1): Setting mode "720x400"
[ 58045.741] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"

<<<<------ SLEEP HERE

[ 75046.590] (II) Open ACPI successful (/var/run/acpid.socket)
[ 75046.718] (II) NVIDIA(0): Setting mode "1280x1024_60+0+0"
[ 75046.907] (II) NVIDIA(1): Setting mode "1920x1080_60+0+0"
[ 75046.930] (EE) NVIDIA(1): Failed to allocate primary buffer: error
[ 75046.930] (EE) NVIDIA(1): *** Aborting ***
[ 75046.954]
Backtrace:
[ 75047.017] 0: /usr/bin/X (xorg_backtrace+0x26) [0x7f862fc148f6]
[ 75047.017] 1: /usr/bin/X (0x7f862fa90000+0x188569) [0x7f862fc18569]
[ 75047.017] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f862edb8000+0xf020) [0x7f862edc7020]
[ 75047.017] 3: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f8628831000+0xad053) [0x7f86288de053]
[ 75047.017] 4: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f8628831000+0x48b880) [0x7f8628cbc880]
[ 75047.017] 5: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f8628831000+0x48be63) [0x7f8628cbce63]
[ 75047.017] 6: /usr/bin/X (xf86Wakeup+0x3dc) [0x7f862fb1b68c]
[ 75047.018] 7: /usr/bin/X (WakeupHandler+0x6b) [0x7f862fae5e6b]
[ 75047.018] 8: /usr/bin/X (WaitForSomething+0x1b6) [0x7f862fc11cf6]
[ 75047.018] 9: /usr/bin/X (0x7f862fa90000+0x51ce2) [0x7f862fae1ce2]
[ 75047.018] 10: /usr/bin/X (0x7f862fa90000+0x411ba) [0x7f862fad11ba]
[ 75047.018] 11: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xfd) [0x7f862daf7ead]
[ 75047.018] 12: /usr/bin/X (0x7f862fa90000+0x414ad) [0x7f862fad14ad]
[ 75047.018] Segmentation fault at address 0x25
[ 75047.018]
Fatal server error:
[ 75047.018] Caught signal 11 (Segmentation fault). Server aborting
[ 75047.018]


Please let me know if additional information is required.
adamm is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:25 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.