Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in package xf86-video-ati-18.0.1_2 #169

Closed
bugcrazy opened this issue Jun 17, 2018 · 4 comments
Closed

Bug in package xf86-video-ati-18.0.1_2 #169

bugcrazy opened this issue Jun 17, 2018 · 4 comments

Comments

@bugcrazy
Copy link
Contributor

System

  • xuname: Void 4.16.12_1 x86_64 AuthenticAMD notuptodate rrDF

  • package:
    xf86-video-ati-18.0.1_2
    xf86-video-amdgpu-18.0.1_2
    xorg-server-1.20.0_1

Expected behavior

The xf86-video-ati-18.0.1_2 package is bugged, it was downgrade to xf86-video-ati-18.0.1_1 and the error is in the new package!

Actual behavior

I uploaded my dmesg log here

Steps to reproduce the behavior

This is the bug, is a part of the log!

99.088369] radeon 0000:00:01.0: GPU lockup (current fence id 0x000000000000000d last fence id 0x000000000000006c on ring 0)
[ 99.592349] radeon 0000:00:01.0: ring 0 stalled for more than 71996msec
[ 99.592371] radeon 0000:00:01.0: GPU lockup (current fence id 0x000000000000000d last fence id 0x000000000000006d on ring 0)
[ 99.910604] radeon 0000:00:01.0: Saved 3090 dwords of commands on ring 0.
[ 99.910619] radeon 0000:00:01.0: GPU softreset: 0x00000019
[ 99.910623] radeon 0000:00:01.0: GRBM_STATUS = 0xE5703CA0
[ 99.910626] radeon 0000:00:01.0: GRBM_STATUS_SE0 = 0xFC000007
[ 99.910629] radeon 0000:00:01.0: GRBM_STATUS_SE1 = 0x00000007
[ 99.910633] radeon 0000:00:01.0: SRBM_STATUS = 0x20000040
[ 99.910636] radeon 0000:00:01.0: SRBM_STATUS2 = 0x00000000
[ 99.910639] radeon 0000:00:01.0: R_008674_CP_STALLED_STAT1 = 0x01000000
[ 99.910642] radeon 0000:00:01.0: R_008678_CP_STALLED_STAT2 = 0x00011000
[ 99.910645] radeon 0000:00:01.0: R_00867C_CP_BUSY_STAT = 0x00068406
[ 99.910648] radeon 0000:00:01.0: R_008680_CP_STAT = 0x80878647
[ 99.910651] radeon 0000:00:01.0: R_00D034_DMA_STATUS_REG = 0x44C83D57
[ 99.922458] radeon 0000:00:01.0: GRBM_SOFT_RESET=0x00007F6B
[ 99.922513] radeon 0000:00:01.0: SRBM_SOFT_RESET=0x00000100
[ 99.923731] radeon 0000:00:01.0: GRBM_STATUS = 0x00003828
[ 99.923735] radeon 0000:00:01.0: GRBM_STATUS_SE0 = 0x00000007
[ 99.923738] radeon 0000:00:01.0: GRBM_STATUS_SE1 = 0x00000007
[ 99.923742] radeon 0000:00:01.0: SRBM_STATUS = 0x20000040
[ 99.923745] radeon 0000:00:01.0: SRBM_STATUS2 = 0x00000000
[ 99.923748] radeon 0000:00:01.0: R_008674_CP_STALLED_STAT1 = 0x00000000
[ 99.923751] radeon 0000:00:01.0: R_008678_CP_STALLED_STAT2 = 0x00000000
[ 99.923754] radeon 0000:00:01.0: R_00867C_CP_BUSY_STAT = 0x00000000
[ 99.923757] radeon 0000:00:01.0: R_008680_CP_STAT = 0x00000000
[ 99.923760] radeon 0000:00:01.0: R_00D034_DMA_STATUS_REG = 0x44C83D57
[ 99.923770] radeon 0000:00:01.0: GPU reset succeeded, trying to resume
[ 99.939184] [drm] Found smc ucode version: 0x00010200
[ 99.948175] [drm] PCIE GART of 1024M enabled (table at 0x0000000000162000).
[ 99.948384] radeon 0000:00:01.0: WB enabled
[ 99.948392] radeon 0000:00:01.0: fence driver on ring 0 use gpu addr 0x0000000018000c00 and cpu addr 0x00000000caa1e429
[ 99.948396] radeon 0000:00:01.0: fence driver on ring 3 use gpu addr 0x0000000018000c0c and cpu addr 0x00000000172bcb9a
[ 99.948902] radeon 0000:00:01.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0x00000000920878af
[ 99.965489] [drm] ring test on 0 succeeded in 1 usecs
[ 99.965500] [drm] ring test on 3 succeeded in 3 usecs
[ 100.011559] [drm] ring test on 5 succeeded in 1 usecs
[ 100.031682] [drm] UVD initialized successfully.
[ 102.048433] [drm:r600_ib_test [radeon]] ERROR radeon: fence wait timed out.
[ 102.048539] [drm:radeon_ib_ring_tests [radeon]] ERROR radeon: failed testing IB on GFX ring (-110).

@bugcrazy
Copy link
Contributor Author

bugcrazy commented Jul 20, 2018

This problem has already been fixed, freedesktop link reporting has been fixed https://bugs.freedesktop.org/show_bug.cgi?id=105381#c11 and link the patches https://patchwork.freedesktop.org/series/45979/

@bugcrazy
Copy link
Contributor Author

bugcrazy commented Aug 1, 2018

I used xbps-src, to generate package with patches xf86-video-ati-18.0.1_3, I edited the makefiles to use aclocal-1.16 and automake-1.16.
Add automake m4 perl autoconf xorg-util-macros and changed checksum in template file.
This is my compilation log here
I added two more patches https://patchwork.freedesktop.org/patch/241377/ and https://patchwork.freedesktop.org/patch/239365/
List of patches applied to fix the bug:
01-10-Drop-unused-drmmode_create_bo_pixmap-surface-parameter.patch
02-10-EXA-Remove-old-RADEONEXACreatePixmap-hook.patch
03-10-Only-initialize-libdrm_radeon-surface-manager-for-R600.patch
04-10-glamor-Don-t-store-radeon_surfaces-in-pixmaps.patch
05-10-Factor-out-radeon_surface_initialize-helper.patch
06-10-Move-flush-from-radeon_scanout_do_update-to-its-callers.patch
07-10-Remove-throttling-from-radeon_dri2_copy_region2.patch
08-10-Refactor-radeon_finish-helper.patch
09-10-Add-struct-radeon_buffer.patch
10-10-glamor-Use-GBM-for-BO-allocation-when-possible.patch
glamor-Invalidate-cached-GEM-handle-in-radeon_set_pixmap_bo.patch
v2-glamor-Use-glamor_egl_create_textured_pixmap_from_gbm_bo-when-possible.patch

@bugcrazy bugcrazy reopened this Aug 1, 2018
@bugcrazy
Copy link
Contributor Author

bugcrazy commented Aug 1, 2018

Reopened so that the maintainer generates the package with the patches applied to fix the bug!

@bugcrazy
Copy link
Contributor Author

The package has been updated to fixed version 18.1.0, no more bugs! Link of the new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant