View Single Post
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