Skip to contentSkip to conversation

New: Xorg crash on KDE init

Bug 70510 [email protected] 1 participant 23 messages Oct 15, 2013 – Aug 27, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 70510
Assignee: [email protected]
Summary: Xorg crash on KDE init
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: All
Reporter: estellnb-7Km2I/[email protected]
Hardware: Other
Status: NEW
Version: 7.6 (2010.12)
Component: Driver/nouveau
Product: xorg

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

During KDE init my computer crashes regularely with nouveau and xorg-x11-server-7.6_1.14.3-2.1.3.

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-70510-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 70510] Xorg crash on KDE init

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

--- Comment #1 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Created attachment 87695
--> https://bugs.freedesktop.org/attachment.cgi?id=87695&action=edit
/var/log/messages

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 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #2 from Emil Velikov <[email protected]> --- Elmar

Please try to provide more comprehensive picture of the issue rather than just "crashes regularely"
* output of dmesg as the issue happens. if X crashes you should be able to get back to VT and retrieve it :) Possibly even over ssh (if you prefer using gui)
* is this a regression ?
* "crashes regularely" is quite vague. Some steps to reproduce/trigger would be great
* to eliminate 3d/opengl interaction {re,}move the nouveau_vieux_dri.so

It would be great if you can spend a couple of minutes going through the bugs[1], faq[2] and trouble shooting[3] sections in the wiki

Cheers

[1] http://nouveau.freedesktop.org/wiki/Bugs/
[2] http://nouveau.freedesktop.org/wiki/FAQ/
[3] http://nouveau.freedesktop.org/wiki/TroubleShooting/

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 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #3 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Well the crash has to do with enabling an external screen via the xrandr extension. If I boot from xinit via startkde into KDE then it does not crash unless I enable an external monitor (as done at me by default). Since enabling an external monitor is not supported until long (Bug 47556) this is not a regression; "crashes regularely" should mean "always; in any case.". Xorg.0.log and dmesg will follow; can and will also re-test without nouveau_vieux_dri.so.

kernel-3.11.3-1.1-default
libdmr2-2.4.46-3.2.2
libdrm-nouveau2-2.4.46-3.2.2
Mesa-9.2.1-61.4.1
Mesa-libGLESv2-2-9.2.1-61.4.1
DirectFB-Mesa-1.6.3-4.1.3

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 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #4 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Created attachment 87737
--> https://bugs.freedesktop.org/attachment.cgi?id=87737&action=edit
dmesg (log_buf_len=1M)

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 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #5 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Created attachment 87738
--> https://bugs.freedesktop.org/attachment.cgi?id=87738&action=edit
Xorg.0.log for dmesg

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 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #6 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Well, without nouveau_vieux_dri.so it even crashes immediately on startkde rather than at the end of startkde as usual (can`t do without that file).

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 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #7 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Can you get symbols + disassembly for that backtrace? Specifically the nouveau_drv bit of it. If you're unsure how to do that, let us know, and what distribution you're using, and we'll attempt to come up with some instructions.

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 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #8 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- damn openSUSE! It always installs outdated -debuginfo packages
(https://bugzilla.novell.com/show_bug.cgi?id=845626). Can`t you recommend me another distribution with up-to-date factory and working debuginfo?

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 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #9 from Johannes Obermayr <[email protected]> --- (In reply to comment #8)

Quoted 3 lines

damn openSUSE! It always installs outdated -debuginfo packages
(https://bugzilla.novell.com/show_bug.cgi?id=845626). Can`t you recommend me another distribution with up-to-date factory and working debuginfo?

$ osc getbinaries -d $DIR openSUSE:13.1 $PACKAGE standard $ARCHITECTURE $FILE
$ cd $DIR
$ sudo zypper in $(ls)
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 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #10 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> ---
Unfortunately that did not work as expected:

Quoted 1 line

osc getbinaries openSUSE:13.1 $PACKAGE standard $ARCHITECTURE $FILE

gives me the error message: Need either 1, 2 or 4 arguments (seems not implemented)

Quoted 1 line

osc getbinaries openSUSE:13.1 $PACKAGE standard $ARCHITECTURE

however re-downloads the whole package which can be installed via

Quoted 1 line

rpm -Uvh --force $PACKAGE

Nonetheless this does not give me debuginfo yet.
If I do an nm -s on the specified files it returns 'no symbols'; an rpm -ql shows that these packages do also not contain external debuginfo.

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 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #11 from Johannes Obermayr <[email protected]> --- (In reply to comment #10)

Quoted 1 line

Unfortunately that did not work as expected:

[...]

Quoted 1 line

Nonetheless this does not give me debuginfo yet.

Maybe you should provide valid values for variables:

osc getbinaries --debug -d debuginfo openSUSE:13.1 Mesa standard i586 Mesa-debuginfo-9.2.1-61.4.1.i586.rpm
osc getbinaries --debug -d debuginfo openSUSE:13.1 xorg-x11-driver-video-nouveau standard i586 xorg-x11-driver-video-nouveau-debuginfo-1.0.9-3.1.2.i586.rpm osc getbinaries --debug -d debuginfo openSUSE:13.1 xorg-x11-server standard i586 xorg-x11-server-debuginfo-7.6_1.14.3-2.1.3.i586.rpm
osc getbinaries --debug -d debuginfo openSUSE:13.1 libdrm standard i586 libdrm2-debuginfo-2.4.46-3.2.2.i586.rpm
osc getbinaries --debug -d debuginfo openSUSE:13.1 libdrm standard i586 libdrm_nouveau2-debuginfo-2.4.46-3.2.2.i586.rpm
osc getbinaries --debug -d debuginfo openSUSE:13.1 libdrm standard i586 libkms1-debuginfo-2.4.46-3.2.2.i586.rpm

cd debuginfo

sudo zypper in $(ls)

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 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #12 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Created attachment 87791
--> https://bugs.freedesktop.org/attachment.cgi?id=87791&action=edit
installed (debug) packages

debuginfo is installed now though the backtrace seems still little meaningful

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

#14 lore raw

[Bug 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #13 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Created attachment 87792
--> https://bugs.freedesktop.org/attachment.cgi?id=87792&action=edit
Xorg.0.log

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

#15 lore raw

[Bug 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #14 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Created attachment 87793
--> https://bugs.freedesktop.org/attachment.cgi?id=87793&action=edit
dmesg (log_buf_len=1M)

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

#16 lore raw

[Bug 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #15 from Johannes Obermayr <[email protected]> --- Please try this script to get a gdb backtrace:
http://www.x.org/wiki/Development/Documentation/ServerDebugging/#index6h2

Attach then only the file "Log written to: ..."

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

#17 lore raw

[Bug 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #16 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Created attachment 87830
--> https://bugs.freedesktop.org/attachment.cgi?id=87830&action=edit
gdb output of running Xorg (kernel 3.12.0-rc5-1-default)

Now that seems somehow useful though gdb still recommended more debuginfo.

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

#18 lore raw

[Bug 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #17 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- did not succeed to install any of these additional debuginfos anyway except glibc, libstc++ and libudev which won`t help much.

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

#19 lore raw

[Bug 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #18 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- To me it looks like a memory allocation issue as re-testing with a smaller external screen with low resolution did not yield any 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

#20 lore raw

[Bug 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

Hilmar Preuße <hille42-S0/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |hille42-S0/[email protected]

--- Comment #19 from Hilmar Preuße <hille42-S0/[email protected]> --- I /think/ I look @the same problem, during a different operation. I try to display an image larger than the screen using "display" (from imagemagick). The gdb backtrace from the core dump looks very similar just before it crashes:

#12 nouveau_exa_upload_to_screen (pdpix=0xb86cb578, x=0, y=0, w=4000, h=16,

    src=0xb87b5268 "", src_pitch=16000) at ../../src/nouveau_exa.c:389
        pScrn = <optimized out>
        pNv = 0xb84516c0
        dst_pitch = 16000
        tmp_pitch = 16000
        cpp = 4
        i = <optimized out>
        bo = 0xb87da000
        dst = <optimized out>
        ret = 256000
        __func__ = "nouveau_exa_upload_to_screen"

(full bt will be uploaded). The display program does not scale down the image to screen resolution but displays the picture @original resolution and offers a thumbnail to select the part of the image to display.

I initially noticed this problem on debian stable (nouveau 1.0.1), I upgraded to nouveau 1.0.10, the bt now looks different, but the crash still happens.

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

#21 lore raw

[Bug 70510] Xorg crash on KDE init

In reply to a message not in the archive

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

--- Comment #20 from Hilmar Preuße <hille42-S0/[email protected]> --- Created attachment 94429
--> https://bugs.freedesktop.org/attachment.cgi?id=94429&action=edit
Backtrace for Comment #19

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

#22 lore raw

[Bug 70510] nouveau fails to handle/set resolutions over certain size: Xorg crash on KDE init

In reply to a message not in the archive

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

Elmar Stellnberger <estellnb-7Km2I/[email protected]> changed:

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

            Summary|Xorg crash on KDE init      |nouveau fails to handle/set
                   |                            |resolutions over certain
                   |                            |size: Xorg crash on KDE
                   |                            |init

--- Comment #21 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Will re-test this when you would give me a request to do so.

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

#23 lore raw

[Bug 70510] nouveau fails to handle/set resolutions over certain size: Xorg crash on KDE init

In reply to a message not in the archive

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

Elmar Stellnberger <estellnb-7Km2I/[email protected]> changed:

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

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #22 from Elmar Stellnberger <estellnb-7Km2I/[email protected]> --- Resolved with x11-server-xorg-1.18.4-1.mga6(sta1) / 4.7.2.-desktop-1. Nouveau now succeeds in xinerama-ing two screens with 1024x768 and another with more than FullHD on my NV17M (GeForce4 420 Go).

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

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