Skip to contentSkip to conversation

New: Crash while displaying large image

Bug 61069 [email protected] 1 participant 13 messages Feb 18, 2013 – Aug 21, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=61069

Priority: medium
Bug ID: 61069
Assignee: [email protected]
Summary: Crash while displaying large image
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: unspecified
Component: Driver/nouveau
Product: xorg

Created attachment 75050
--> https://bugs.freedesktop.org/attachment.cgi?id=75050&action=edit
crash Xorg.0.log

Xorg crash

If i try to display a large (3200x2700) PNG file using the "display" tool from the "ImageMagick" package, X crashes at shown in the attached Xorg log file.

If i use the "old" nv driver on the same system and environment, image is displayed without problem. Therefore i assume a problem in the "nouveau" driver.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-61069-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 61069] Crash while displaying large image

https://bugs.freedesktop.org/show_bug.cgi?id=61069

--- Comment #1 from [email protected] --- Created attachment 75051
--> https://bugs.freedesktop.org/attachment.cgi?id=75051&action=edit
Image which causes the crash

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 61069] [NV17] Crash while displaying large image

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=61069

Marcin Slusarz <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Crash while displaying      |[NV17] Crash while
                   |large image                 |displaying large image
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 61069] [NV17] Crash while displaying large image

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=61069

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

           Hardware|Other                       |x86 (IA32)
                 OS|All                         |Linux (All)
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 61069] [NV17] Crash while displaying large image

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=61069

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Does this still happen? I just tried it with the latest kernel/ddx on a NV18, which is rather similar, and it all worked fine (albeit rather slowly). Please re-test.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 61069] [NV17] Crash while displaying large image

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=61069

--- Comment #3 from [email protected] --- What do you mean by "latest kernel"? If you mean 3.10, the answer is yes. Is there something in the upcoming 3.11 which may fix this issue?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 61069] [NV17] Crash while displaying large image

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=61069

--- Comment #4 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- I doubt there's anything in 3.11 to fix this, but the fact is that I'm currently running on top of the nouveau/linux-2.6 tree
(http://cgit.freedesktop.org/nouveau/linux-2.6/), which is 3.11-rc6 + some more commits. I have a couple of patches applied on top of that, but I don't think any of them would matter for this case.

What other differences are there? I'm using 1920x1200, you're on 1600x1200. I did get the "pan" thing from imagemagick's display command. I assume you would get that too (if it didn't crash)? Do you use a compositor of some sort? I don't. My NV18 has 64M VRAM, reports a 128M GART... how much does your card have?

Can you get debug libraries in place so that you get symbol resolution on nouveau_drv.so in the stacktrace printed by X?

BTW, if you don't want to constantly kill your "regular" X session, you can start up a second X session to do your testing in. (Might seem obvious, but it took me a little while before I thought of that.)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 61069] [NV17] Crash while displaying large image

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=61069

--- Comment #5 from [email protected] --- Perhaps you have to try with a bigger image (e.g. 4096x4096 pixel) to compensate for your larger screen resolution.

I didn't played with the compositor so far, just used the standard KDE settings.

I don't think that a second X session will do any good, as the system is quite unstable after the crash and needs to be rebooted.

My NV17 also has 64MiB VRAM as shown below:

nouveau  [  DEVICE][0000:01:00.0] BOOT0  : 0x017200a5
nouveau  [  DEVICE][0000:01:00.0] Chipset: NV17 (NV17)
nouveau  [  DEVICE][0000:01:00.0] Family : NV10
nouveau  [   VBIOS][0000:01:00.0] checking PRAMIN for image...
nouveau  [   VBIOS][0000:01:00.0] ... appears to be valid
nouveau  [   VBIOS][0000:01:00.0] using image from PRAMIN
nouveau  [   VBIOS][0000:01:00.0] BMP version 5.15
nouveau  [   VBIOS][0000:01:00.0] version 04.17.00.45.00
nouveau  [  PTIMER][0000:01:00.0] unknown input clock freq
nouveau  [     PFB][0000:01:00.0] RAM type: DDR1
nouveau  [     PFB][0000:01:00.0] RAM size: 64 MiB
nouveau  [     PFB][0000:01:00.0]    ZCOMP: 0 tags
nouveau  [     DRM] VRAM: 63 MiB
nouveau  [     DRM] GART: 128 MiB
nouveau  [     DRM] BMP version 5.21
nouveau  [     DRM] DCB version 2.0
nouveau  [     DRM] DCB outp 00: 01000100 000088b8
nouveau  [     DRM] DCB outp 01: 02010111 00000003
nouveau  [     DRM] DCB outp 02: 02010211 00000003
nouveau  [     DRM] Merging DCB entries 1 and 2
nouveau  [     DRM] Loading NV17 power sequencing microcode
nouveau  [     DRM] Saving VGA fonts
nouveau  [     DRM] 1 available performance level(s)
nouveau  [     DRM] 0: memory 332MHz
nouveau  [     DRM] c: core 249MHz memory 333MHz
nouveau  [     DRM] MM: using M2MF for buffer copies
nouveau  [     DRM] Setting dpms mode 3 on TV encoder (output 1)
nouveau  [     DRM] allocated 1600x1200 fb: 0x9000, bo f5a0c600
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 61069] [NV17] Crash while displaying large image

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=61069

--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- I still can't repro the issue. Another difference might be that I'm using xorg 1.13, whereas your original log is for 1.12. Is there anything in dmesg when the hangs occur?

I did notice that if I'm running with a compositor, e.g. xcompmgr, then things get REALLY slow when loading large images. Slow enough for watchdogs to fire, rcu to complain, etc. But the system does come into its own, esp if I kill xcompmgr. I don't know whether "standard KDE settings" include a compositor (wouldn't be surprised), but if they do, can you try turning that off?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#10 lore raw

[Bug 61069] [NV17] Crash while displaying large image

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=61069

--- Comment #7 from [email protected] --- In the meantime i updated my system (kernel 3.12, X Server 1.14.3, nouveau_drv.so module version = 1.0.9) and the crash with the 3200x2700 picture is gone.

But i see the following lines in the kernel logs:

nouveau E[ PFIFO][0000:01:00.0] DMA_PUSHER - ch 1 [X[1287]] get 0xbeef0200
put 0x00022a9c state 0xc000018c (err: MEM_FAULT) push 0x00000000 nouveau E[ X[1287]] reloc wait_idle failed: -16 nouveau E[ X[1287]] reloc apply: -16

which seems to be accompanied by a short "hang" of the GUI.

Unfortunately these "hangs" seem not only be triggered by my synthetic test case, but also by normal daily work.

The system seems to be able to recover from this state but from time to time (mostly if the system is under load) this results in a complete GUI freeze and i need to reboot the whole system.

But i am not sure if this is just a new symptom of the same problem or a totally unrelated new problem.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#11 lore raw

[Bug 61069] [NV17] Crash while displaying large image

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=61069

--- Comment #8 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Are you using a version of libdrm before 2.4.48 compiled with gcc-4.8? If so, upgrade. Or compile using an older gcc.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#12 lore raw

[Bug 61069] [NV17] Crash while displaying large image

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=61069

--- Comment #9 from [email protected] --- Thanks for the hint. I've upgraded to libdrm-2.4.50 and the errors lines in the kernel log are gone.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#13 lore raw

[Bug 61069] [NV17] Crash while displaying large image

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=61069

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- It appears that all the issues that were talked about here are resolved. Feel free to re-open if I missed something.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau