Skip to contentSkip to conversation

Tonga agd5f drm-next-4.12-wip xorg segfault on startx

Bug 100673 [email protected] 1 participant 8 messages Apr 13, 2017 – Apr 21, 2017

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 100673
Summary: Tonga agd5f drm-next-4.12-wip xorg segfault on startx
Product: DRI
Version: DRI git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Created attachment 130829
--> https://bugs.freedesktop.org/attachment.cgi?id=130829&action=edit
xorg log with segfault

With current agd5f drm-next-4.12-wip I get a segfault on startx (xserver 1.19.3, git ddx,mesa,llvm. Log attached.

On the previous incarnation of the same kernel I can startx, but there are a lot of warnings in dmesg every time the screen is turned on - ie. startx or coming out of dpms. dmesg attached.

Don't know when I'll get time to bisect, so just getting these reported now.

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

--- Comment #1 from Andy Furniss <[email protected]> --- Created attachment 130830
--> https://bugs.freedesktop.org/attachment.cgi?id=130830&action=edit
dmesg with lots of warnings on startx (older kernel)

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Alex Deucher <[email protected]> --- (In reply to Andy Furniss from comment #1)

Quoted 2 lines

Created attachment 130830 [details]
dmesg with lots of warnings on startx (older kernel)

This was fixed here:
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-4.12-wip&id=53552d5df6694f68f276b2e86f8162d0ef7cad93

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

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

--- Comment #3 from Andres Rodriguez <[email protected]> --- Reverting the following commit fixes this branch for me:
eb8eb02 drm: Drop modeset_lock_all from the getproperty ioctl

Let me check if I can make a quick fix for it.

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Reviewed-by Maarten Lankhorst Reviewed-by Sean Paul
#4 lore raw
In reply to [email protected]

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

--- Comment #4 from Alex Deucher <[email protected]> --- Should be fixed by:

commit 8cb68c83ab99a474ae847602f0c514d0fe17cc82

Author: Daniel Vetter <[email protected]>
Date:   Mon Apr 10 13:54:45 2017 +0200

drm: Fix get_property logic fumble

Yet again I've proven that I can't negate conditions :(

Testcase: igt/kms_properties/get_property-sanity

Fixes eb8eb02ed850 ("drm: Drop modeset_lock_all from the getproperty

ioctl")

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

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

--- Comment #5 from Andy Furniss <[email protected]> --- (In reply to Alex Deucher from comment #4)

Quoted 8 lines

Should be fixed by:

commit 8cb68c83ab99a474ae847602f0c514d0fe17cc82

Author: Daniel Vetter <[email protected]>
Date:   Mon Apr 10 13:54:45 2017 +0200

drm: Fix get_property logic fumble

Quoted 7 lines

Yet again I've proven that I can't negate conditions :(

Testcase: igt/kms_properties/get_property-sanity

Fixes eb8eb02ed850 ("drm: Drop modeset_lock_all from the getproperty

ioctl")

Ok, but it doesn't seem to be anywhere in your tree.

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

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

--- Comment #6 from Alex Deucher <[email protected]> --- (In reply to Andy Furniss from comment #5)

Quoted 11 lines

(In reply to Alex Deucher from comment #4)

Quoted 10 lines

Should be fixed by:

commit 8cb68c83ab99a474ae847602f0c514d0fe17cc82

Author: Daniel Vetter <[email protected]>
Date:   Mon Apr 10 13:54:45 2017 +0200

drm: Fix get_property logic fumble

Yet again I've proven that I can't negate conditions :(

Quoted 7 lines
Quoted 5 lines

Testcase: igt/kms_properties/get_property-sanity

Fixes eb8eb02ed850 ("drm: Drop modeset_lock_all from the getproperty

ioctl")

Ok, but it doesn't seem to be anywhere in your tree.

It hasn't been pulled into drm-next yet.

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

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

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

--- Comment #7 from Alex Deucher <[email protected]> --- Patch is in drm-next now.

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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel