[Bug 105381] [RV710][DRM] Invalid command stream

2018-09-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

Michel Dänzer  changed:

   What|Removed |Added

 CC||lukasz.krotow...@gmail.com

--- Comment #31 from Michel Dänzer  ---
*** Bug 107876 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

Michel Dänzer  changed:

   What|Removed |Added

 CC||egdf...@opensuse.org

--- Comment #30 from Michel Dänzer  ---
*** Bug 107819 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-08-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

Michel Dänzer  changed:

   What|Removed |Added

 CC||mc...@cepl.eu

--- Comment #29 from Michel Dänzer  ---
*** Bug 107528 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-07-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #28 from James  ---
Oops - I apologize for misspelling your name.  Thank you Michel.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-07-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #27 from James  ---
Yes!  That fixed it.  Michael, thank you very much for your work.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-07-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

Michel Dänzer  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #26 from Michel Dänzer  ---
(In reply to James from comment #25)
>  kernel: radeon :05:00.0: No GEM object associated to handle 0x000C,
> can't create framebuffer

That's bug 107297, a regression due to the fix for this bug, which is now fixed
in upstream Git master as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-07-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

James  changed:

   What|Removed |Added

 CC||ja...@nurealm.net
 Resolution|FIXED   |---
 Status|RESOLVED|REOPENED

--- Comment #25 from James  ---
Sorry - I don't seem to have been on the CC list.  I just tested this Sunday,
July 22.

I am running with the mkkot Arch Linux package, xf86-video-ati-git,
1:18.0.1.r12.g3c4c0213-1, 22 Jul 2018.  I have the HD 5570 / Redwood PRO
running three displays.

Starting lxqt with openbox, the original "Invalid command stream" errors are
not seen, but I still see:

 kernel: radeon :05:00.0: No GEM object associated to handle 0x000C,
can't create framebuffer
 kernel: radeon :05:00.0: No GEM object associated to handle 0x0400,
can't create framebuffer

The 1st display will receive sync, but the screen is black with no cursor, and
the 2nd and 3rd displays receive nothing and go to suspend.

Repeatedly stopping and re-starting lxqt seems to always produce the same
result, where before, sometimes the screens would light, with various kinds of
display corruption, in addition to the the black screen result described.  Now,
just the black screens.

I can run weston and kwin_wayland, but the regular X11 server is unusable.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-07-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #24 from mkkot  ---
*** Bug 106913 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-07-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #23 from mkkot  ---
Another test from me:
I created a package for Archlinux using commit
3c4c0213c11d623cba7adbc28dde652694f2f758 and it seems that this error is fixed!
https://bugs.archlinux.org/task/58874

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-07-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

Michel Dänzer  changed:

   What|Removed |Added

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

--- Comment #22 from Michel Dänzer  ---
Thanks for the report and for testing the patches, fixed in Git master:

commit 3c4c0213c11d623cba7adbc28dde652694f2f758
Author: Michel Dänzer 
Date:   Fri Jun 29 17:57:03 2018 +0200

glamor: Use GBM for BO allocation when possible

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-07-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #21 from Hi-Angel  ---
(In reply to Michel Dänzer from comment #20)
> This patch series should fix it:
> https://patchwork.freedesktop.org/series/45979/

Thank you, works for me! (I'm not the OP though) I've been using it for the
weekend, everything been fine, and I didn't see cursor or sddm corruptions
anymore.

Tested-by: Konstantin Kharlamov 

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #20 from Michel Dänzer  ---
This patch series should fix it:
https://patchwork.freedesktop.org/series/45979/

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-06-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #19 from James  ---
An odd thing I've noticed, maybe representing the same underlying issue,
emerging at the  same time as the "Invalid command stream" problem, with the
upgrade from xorg-server 1.19 to 1.20, I see differing kinds of display
corruption with successive restarts of the X server.  For instance, sometimes
the cursor is normal but the remainder of the display is corrupted, but other
times, only the cursor is corrupted and the remainder of the display is normal.
 In particular, in the session I currently have running, the cursor is
corrupted on the desktop, but normal over any application window, and the
interesting thing is that there are none of the "Invalid command stream" errors
to be seen in the log.

Additionally, I upgraded Arch Linux on an old laptop with NVidia  "GeForce
7150M / nForce 630M" hardware, and started seeing similar different results
when restarting the X server, for instance, after trying kwin_wayland and
Xwayland, and then restarting the X11 server running with nouveau.  And so,
this display corruption seems not tied to just the radeon driver.

I am given the impression that there is a connection between the "Invalid
command stream" errors and these screen corruption errors.

Also, I was reading at https://en.wikipedia.org/wiki/Direct_Rendering_Manager
"In 2014 Matt Roper (Intel) developed the universal planes (or unified planes)
concept by which framebuffers (primary planes), overlays (secondary planes) and
cursors (cursor planes) are all treated as a single type of object with an
unified API.[151] Universal planes support provides a more consistent DRM API
with fewer, more generic ioctls.[33]"

In that sense, it appears that the display corruption may be moving between
"primary planes" and "cursor planes", as a naive interpretation.

Michel, if you think that these two issues, the "Invalid command stream" errors
and the differing forms of display corruption with X server restarts, please
let me know, and I will avoid filing a separate bug report for the display
corruption, though I don't know if this is hardware driver related, DRM/render
related, or KMS related.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #18 from mkkot  ---
Hello,
is this the same issue: https://bugs.freedesktop.org/show_bug.cgi?id=106913
?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-06-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #17 from James  ---
I'm also watching this thread.

I have an HD 5570 / Redwood PRO running three displays with Arch Linux. 
Upgrading xorg-server from 1.19.6-2 to 1.20.0-7 and xf86-video-ati from 
1:7.10.0-1 to 1:18.0.1-2 causes display corruption with scan-out in the wrong
sequence, cursor disappearing, failure to configure all three displays, and
gigabytes of repetitive warnings in the system log, in the nature of:

 kernel: radeon :05:00.0: evergreen_cs_track_validate_cb:481 cb[0] bo too
small (layer size 15728640, offset 0, max layer 1, bo size 5242880, slice
61439)
 kernel: radeon :05:00.0: evergreen_cs_track_validate_cb:485 problematic
surf: (3840 1024) (4 4 1 1 2 1024 2)
 kernel: radeon :05:00.0: evergreen_packet3_check:1948 invalid cmd stream
666
 kernel: [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream !

and

 kernel: [drm:radeon_cs_parser_relocs [radeon]] *ERROR* gem object lookup
failed 0xa
 kernel: [drm:radeon_cs_ioctl [radeon]] *ERROR* Failed to parse relocation -2!
 kernel: radeon :05:00.0: No GEM object associated to handle 0x000A,
can't create framebuffer

Sometimes the display can be made clear by switching to a virtual terminal and
back to X, but generally, the display corruption will vary each time the X
server is restarted, suggesting that the hardware configuration is not being
set consistently or properly.  Downgrading mesa does not resolve the problem,
and the problem tracks with the X server version.

The Xorg log showed:

[ 82831.532] (WW) RADEON(0): get vblank counter failed: Invalid argument
[ 82831.532] (WW) RADEON(0): flip queue failed: Invalid argument
[ 82831.532] (WW) RADEON(0): Page flip failed: Invalid argument
[ 82831.532] (EE) RADEON(0): present flip failed

but then, blindly trying

~/.drirc









seem to resolve these errors - which makes no sense to me, since the driver is
suppose to default to dri3.

For reference, the openbox window manager, commonly used with lxqt, cannot be
made to display correctly, but kwin will work sometimes, and the wayland
compositors do not seem to be affected.

I also have another machine with an HD 4350 / RV710 running a single display
which does _not_ show any of these problems at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #16 from Michel Dänzer  ---
(In reply to Matt Turner from comment #15)
> Daniel said everything is working in the downstream bug report

He must be getting lucky; I'm also not running into the issue (fundamentatlly a
BO lifetime mismatch between the Xorg driver and Mesa) on my work laptop, but
it's still there.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #15 from Matt Turner  ---
Daniel said everything is working in the downstream bug report
(https://bugs.gentoo.org/649736#c7)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-06-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #14 from Michel Dänzer  ---
(In reply to Ian Kidd from comment #13)
> Submitter of this duplicate bug (since it seemed different in some ways).

Does your issue happen with the Xorg modesetting driver as well? If yes, it's
probably a different issue after all; otherwise it's probably the same root
cause.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-06-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #13 from Ian Kidd  ---
(In reply to Michel Dänzer from comment #12)
> *** Bug 106797 has been marked as a duplicate of this bug. ***

Submitter of this duplicate bug (since it seemed different in some ways).

For the record, I don't see any issues until after the SDDM greeter, after KDE
initiates.  Then it consistently garbles the screens under Mesa 18.0.4-1, under
earlier version it just makes getting the other monitors up impossible but the
first GPU monitors are usuable.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-06-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

Michel Dänzer  changed:

   What|Removed |Added

 CC||ikidd3...@gmail.com

--- Comment #12 from Michel Dänzer  ---
*** Bug 106797 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-05-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #11 from Michel Dänzer  ---
(In reply to chris0033547 from comment #10)
> I opened a discussion about a similar error here. Or maybe this is the same
> error?
> 
> https://bbs.archlinux.org/viewtopic.php?id=237291

Looks like it's the same.


I think I know what the issue is, and have been slowly working towards a
solution, but I don't know when it'll be ready for testing. Meanwhile, the
options to avoid this issue with Xorg 1.20 are using EXA or the modesetting
driver.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #9 from Petrus  ---
Downgrading to xorg-server-1.19.5 solves the problem, too.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-03-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #7 from Daniel  ---
I can't seem to reproduce the crash atm, so I am posting a snippet of the
syslog of the time this crash probably appeared.

Both EXA or the modesetting driver are indeed avoiding the problem and
compositor and framebuffers work fine then.

It will take me some more time before I can try a bisect though, as I don't
have permanent access to this box.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-03-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #6 from Daniel  ---
Created attachment 137934
  --> https://bugs.freedesktop.org/attachment.cgi?id=137934=edit
/var/log/messages during X crash

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #5 from Michel Dänzer  ---
The Xorg log file shows a crash 1734 seconds after boot. Does anything appear
in dmesg around the same time?

Can you bisect xserver to find the first commit this happens with? Note that
you may need rebuild the xf86-video-ati and xf86-input-libinput drivers after
moving to a different xserver Git snapshot.

Presumably you can avoid the problem with

 Option "AccelMethod" "EXA"

?

Does the problem also occur with the modesetting driver instead of radeon?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #4 from Daniel  ---
Created attachment 137861
  --> https://bugs.freedesktop.org/attachment.cgi?id=137861=edit
Xorg.0.log

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #3 from Michel Dänzer  ---
Please attach the Xorg log file corresponding to a failure.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #2 from Daniel  ---
Kernel 4.15.7, mesa 18.0.0_rc4, libdrm 2.4.91

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati


[Bug 105381] [RV710][DRM] Invalid command stream

2018-03-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105381

--- Comment #1 from Daniel  ---
Created attachment 137860
  --> https://bugs.freedesktop.org/attachment.cgi?id=137860=edit
dmesg

-- 
You are receiving this mail because:
You are the assignee for the bug.___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
https://lists.x.org/mailman/listinfo/xorg-driver-ati