Bug 1369508

Summary: kernel: [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream ! in Fedora 24 workstation upgrade
Product: [Fedora] Fedora Reporter: RobbieTheK <rkudyba>
Component: xorg-x11-drv-atiAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 25CC: gansalmon, ichavero, itamar, jonathan, kernel-maint, labbott, madhu.chinakonda, mchehab, rkudyba, tuju, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:24:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RobbieTheK 2016-08-23 15:12:27 UTC
Description of problem:
Can't login to GDM

Version-Release number of selected component (if applicable):

lspci | grep -i "Radeon"
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]

uname -r
4.6.6-300.fc24.x86_64

Additional info:
/var/log/messages:
Aug 22 18:06:03 linux-user-101 /usr/libexec/gdm-x-session: (II) RADEON(0): Setting screen physical size to 423 x 238
Aug 22 18:06:03 linux-user-101 kernel: radeon 0000:01:00.0: evergreen_surface_check_2d:281 texture pitch 1600 invalid must be aligned with 128
Aug 22 18:06:03 linux-user-101 kernel: radeon 0000:01:00.0: evergreen_cs_track_validate_texture:830 texture invalid 0x18fc31c1 0x40000383 0x060a0000 0x00000000 0x80000000 0x800204da
Aug 22 18:06:03 linux-user-101 kernel: [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream !
Aug 22 18:06:03 linux-user-101 /usr/libexec/gdm-x-session: (EE) RADEON(0): drmmode_do_crtc_dpms cannot get last vblank counter
Aug 22 18:06:03 linux-user-101 /usr/libexec/gdm-x-session: (EE) RADEON(0): drmmode_do_crtc_dpms cannot get last vblank counter
Aug 22 18:06:03 linux-user-101 /usr/libexec/gdm-x-session: (EE) RADEON(0): drmmode_do_crtc_dpms cannot get last vblank counter

Comment 1 Juha Tuomala 2016-09-13 07:31:27 UTC
I confirm.

Comment 2 Juha Tuomala 2016-09-13 08:48:32 UTC
Ad-hoc workaround from bug #1336959, use startx as enduser. I also had to put my desktop into /etc/sysconfig/desktop (DESKTOP=KDE).

Release shouldn't go out with this kind of showstoppers.

% lspci |grep VG
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV710 [Radeon HD 4550]
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV710 [Radeon HD 4550]
[tuju@wasa]~%

Comment 3 Laura Abbott 2016-09-23 19:17:53 UTC
*********** MASS BUG UPDATE **************
 
We apologize for the inconvenience.  There is a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 24 kernel bugs.
 
Fedora 24 has now been rebased to 4.7.4-200.fc24.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.
 
If you have moved on to Fedora 25, and are still experiencing this issue, please change the version to Fedora 25.
 
If you experience different issues, please open a new bug report for those.

Comment 4 RobbieTheK 2016-10-03 13:52:35 UTC
After a reboot it takes about 2 minutes but at least we can get to GDM. Here are the errors we're getting now.

lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 7350/8350 / R5 220]

uname -r
4.7.4-200.fc24.x86_64

Sep 21 16:25:08 ourcomputer /usr/libexec/gdm-x-session: (II) RADEON(0): Setting screen physical size to 423 x 238
Sep 21 16:25:08 ourcomputer kernel: radeon 0000:01:00.0: evergreen_surface_check_2d:281 texture pitch 1600 invalid must be aligned with 128
Sep 21 16:25:08 ourcomputer kernel: radeon 0000:01:00.0: evergreen_cs_track_validate_texture:830 texture invalid 0x18fc31c1 0x40000383 0x060a0000 0x00000000 0x80000000 0x800204da
Sep 21 16:25:08 ourcomputer kernel: [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream !
Sep 21 16:25:09 ourcomputer /usr/libexec/gdm-x-session: (EE) RADEON(0): drmmode_do_crtc_dpms cannot get last vblank counter

Sep 13 14:51:43 ourcomputer kernel: radeon 0000:01:00.0: ring 0 stalled for more than 10020msec
Sep 13 14:51:43 ourcomputer kernel: radeon 0000:01:00.0: GPU lockup (current fence id 0x0000000000000001 last fence id 0x0000000000000005 on ring 0)
Sep 13 14:51:43 ourcomputer kernel: radeon 0000:01:00.0: Saved 119 dwords of commands on ring 0.
Sep 13 14:51:43 ourcomputer kernel: radeon 0000:01:00.0: GPU softreset: 0x00000008
Sep 13 14:51:43 ourcomputer kernel: radeon 0000:01:00.0:   GRBM_STATUS               = 0xA0003828
Sep 13 14:51:43 ourcomputer kernel: radeon 0000:01:00.0:   GRBM_STATUS_SE0           = 0x00000007
Sep 13 14:51:43 ourcomputer kernel: radeon 0000:01:00.0:   GRBM_STATUS_SE1           = 0x00000007
Sep 13 14:51:43 ourcomputer kernel: radeon 0000:01:00.0:   SRBM_STATUS               = 0x200000C0
Sep 13 14:54:45 ourcomputer kernel: [drm] radeon kernel modesetting enabled.
Sep 13 14:54:46 ourcomputer kernel: fb: switching to radeondrmfb from EFI VGA
Sep 13 14:54:46 ourcomputer kernel: radeon 0000:01:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
Sep 13 14:54:46 ourcomputer kernel: radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
Sep 13 14:54:46 ourcomputer kernel: radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
Sep 13 14:54:46 ourcomputer kernel: [drm] radeon: 1024M of VRAM memory ready

Comment 5 Laura Abbott 2016-10-03 14:56:44 UTC
Changing the component to graphics for tracking. The xorg-x11-drv-ati package is being set intentionally even though the reported issues are in the kernel.

Comment 6 Fedora End Of Life 2017-07-25 22:35:59 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 7 Fedora End Of Life 2017-11-16 19:28:25 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2017-12-12 10:24:43 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.