https://bugs.freedesktop.org/show_bug.cgi?id=83505
Priority: medium
Bug ID: 83505
Assignee: dri-devel(a)lists.freedesktop.org
Summary: AMD A4-5300 APU : only radeon.dpm=1 prevents random
reboots with 3.16.1 kernel.
Severity: minor
Classification: Unclassified
OS: Linux (All)
Reporter: rpnpif(a)free.fr
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: DRM/Radeon
Product: DRI
Created attachment 105760
--> https://bugs.freedesktop.org/attachment.cgi?id=105760&action=edit
dmesg with radeon.dpm=1
I have read that for this AMD A4-5300 APU (Aruba), radeon.dpm=1 on the grub
command line of the kernel booting is useless because this option is already
per default in the kernel.
But if I don't use this option, Debian 7.6 reboots randomly after some minutes,
hours or days of work when I use Iceweasel/Firefox and some flash animation,
Libreoffice or other heavy application.
With this option, no reboots. All work fine after several days.
This issue seems about the same as
https://bugs.freedesktop.org/show_bug.cgi?id=82201#c26 but I am not sure.
I report this issue because dpm=1 should be useless.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=84145
Priority: medium
Bug ID: 84145
Assignee: dri-devel(a)lists.freedesktop.org
Summary: UE4: Realistic Rendering Demo render blue
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: smoki00790(a)gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/radeonsi
Product: Mesa
Bisected to d82bd7eb060cf2fbb7282da38f28f6e7ea705e12
mesa/st: add ARB_texture_view support
Before and after screenshots attached, happens in today git too.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=83996
Priority: medium
Bug ID: 83996
Assignee: dri-devel(a)lists.freedesktop.org
Summary: [drm:r100_ring_test] *ERROR* radeon: ring test failed
- since linux-3.17_rc1 on RS690/RS740 [Radeon 2100]
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: jospezial(a)gmx.de
Hardware: Other
Status: NEW
Version: DRI CVS
Component: DRM/Radeon
Product: DRI
This bug report is a fork of https://bugs.freedesktop.org/show_bug.cgi?id=82588
This do I get on a AMD64 Gentoo linux with xf86-video-ati-7.4.0 since
linux-3.17_rc1.
X starts but GPU acceleration is disabled.
[ 6.787592] [drm] Initialized drm 1.1.0 20060810
[ 7.007890] [drm] radeon kernel modesetting enabled.
[ 7.008441] [drm] initializing kernel modesetting (RS740 0x1002:0x796E
0x105B:0x0E13).
[ 7.008456] [drm] register mmio base: 0xFEAF0000
[ 7.008457] [drm] register mmio size: 65536
[ 7.009087] ATOM BIOS: ATI
[ 7.009102] radeon 0000:01:05.0: VRAM: 128M 0x0000000038000000 -
0x000000003FFFFFFF (128M used)
[ 7.009104] radeon 0000:01:05.0: GTT: 512M 0x0000000040000000 -
0x000000005FFFFFFF
[ 7.009117] [drm] Detected VRAM RAM=128M, BAR=128M
[ 7.009118] [drm] RAM width 128bits DDR
[ 7.009204] [TTM] Zone kernel: Available graphics memory: 443784 kiB
[ 7.009206] [TTM] Initializing pool allocator
[ 7.009212] [TTM] Initializing DMA pool allocator
[ 7.009235] [drm] radeon: 128M of VRAM memory ready
[ 7.009236] [drm] radeon: 512M of GTT memory ready.
[ 7.009251] [drm] GART: num cpu pages 131072, num gpu pages 131072
[ 7.025657] [drm] radeon: 1 quad pipes, 1 z pipes initialized.
[ 7.025670] [drm] PCIE GART of 512M enabled (table at 0x0000000032F00000).
[ 7.025726] radeon 0000:01:05.0: WB enabled
[ 7.025730] radeon 0000:01:05.0: fence driver on ring 0 use gpu addr
0x0000000040000000 and cpu addr 0xffff880032ea5000
[ 7.025733] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 7.025734] [drm] Driver supports precise vblank timestamp query.
[ 7.025744] [drm] radeon: irq initialized.
[ 7.025753] [drm] Loading RS690/RS740 Microcode
[ 7.071137] [drm] radeon: ring at 0x0000000040001000
[ 7.228868] [drm:r100_ring_test] *ERROR* radeon: ring test failed
(scratch(0x15E4)=0xCAFEDEAD)
[ 7.228875] [drm:r100_cp_init] *ERROR* radeon: cp isn't working (-22).
[ 7.228883] radeon 0000:01:05.0: failed initializing CP (-22).
[ 7.228888] radeon 0000:01:05.0: Disabling GPU acceleration
[ 7.375499] [drm:r100_cp_fini] *ERROR* Wait for CP idle timeout, shutting
down CP.
[ 7.521222] Failed to wait GUI idle while programming pipes. Bad things
might happen.
[ 7.521467] [drm] radeon: cp finalized
With linux-3.16.x it works.
lspci:
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS740
[Radeon 2100]
some messages from Xorg.log:
[ 24.729] (--) RADEON(0): Chipset: "ATI RS740" (ChipID = 0x796e)
[ 24.729] (II) RADEON(0): GPU accel disabled or not working, using shadowfb
for KMS
[ 24.869] (WW) RADEON(0): Direct rendering disabled
[ 24.869] (II) RADEON(0): Acceleration disabled
[ 24.871] (WW) RADEON(0): Option "AccelMethod" is not used
[ 24.879] (II) AIGLX: Screen 0 is not DRI2 capable
[ 24.879] (EE) AIGLX: reverting to software rendering
[ 25.578] (II) AIGLX: Loaded and initialized swrast
[ 25.578] (II) GLX: Initialized DRISWRAST GL provider for screen 0
Result of bisecting between v3.16 and v3.17-rc1:
77497f2735ad6e29c55475e15e9790dbfa2c2ef8 is the first bad commit
commit 77497f2735ad6e29c55475e15e9790dbfa2c2ef8
Author: Michel Dänzer <michel.daenzer(a)amd.com>
Date: Thu Jul 17 19:01:07 2014 +0900
drm/radeon: Pass GART page flags to radeon_gart_set_page() explicitly
Signed-off-by: Michel Dänzer <michel.daenzer(a)amd.com>
Reviewed-by: Christian König <christian.koenig(a)amd.com>
Signed-off-by: Alex Deucher <alexander.deucher(a)amd.com>
:040000 040000 7da27ed892f4ea02ef8e758eda7165ce336d19cc
369d9e0ff185b6e6c9614de87296fc60072f56b9 M drivers
:040000 040000 c3203bef4546e1781ba218fa5232c12cd2a883a2
b655879d0fefad7b591333930fddfd3cc67afa8d M include
Reverting that whole patch on v3.17-rc5 is not as easy because then compile
fails.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=73338
--- Comment #38 from Martin Peres <martin.peres(a)ensi-bourges.fr> ---
(In reply to comment #37)
> Created attachment 106588 [details] [review]
> experimental patch for CI (BONAIRE tested) for enabling fan control with
> hwmon interface
Good, I left some comments on the patch :)
>
> (In reply to comment #35)
> > Have fun ;)
>
> So here's the final version of what I've done. I found existing radeon hwmon
> interface and added pwm1* sysfs files to it, so it exposes needed values
> (some like pwm1_max are RO though).
>
> I need someone aware of radeon driver workflow to review this patch (maybe
> Alex) and to point in a right direction.
Posting the patch on radeon's ML (if there is none, then use dri-devel) and CC
Alex or any other radeon dev working on PM.
>
> When all is good, I'll request some help from public (reddit maybe, or local
> LUG) to test it extensively.
When the radeon devs will think the patch is in good-enough shape, they will
likely commit it. Make sure your patch does not change the default behavior and
that should be fine.
Users willing to have manual fan management will be the testers ;)
--
You are receiving this mail because:
You are the assignee for the bug.
So, lucky me, I have a scenario where I get to deal with NV12MT. Hurray!
I know there has been some reluctance in the past to combine tiling
and color format, since in theory that could lead to a combinatorial
explosion in formats. And, as long as the buffer usage is entirely
within a single driver, you can approximately hide tiling (or
compressed, etc) permutations of a color format. On the other hand,
there is already some precedence for fourcc or format values to
represent tiled formats at the interface level (in kernel, v4l, and in
userspace, and gstreamer and openmax).
But in this scenario, sharing buffer between other devices (video
decoder/encoder) and drm/kms (msm) and mesa (freedreno) via
EGL_EXT_image_dma_buf_import[1], I sort of don't really have any other
way to pass around tiling flags. So I would propose adding custom
fourcc's only in the more limited cases where formats are exchanged
between devices. This should avoid an explosion of color_format *
tiling_format.
For the kms part, it would mean merging a small patch to allow addfb2
for NV12MT[2].
For the mesa part, it looks like there is a bit of work needed to
teach egl about multi-planar buffers, buffers where offset[n] != 0,
etc. I'll start with patches to teach egl how to import plain NV12
buffers. But once that is done, for it to be much use to me I'll need
NV12MT, which means adding a new gallium format and
__DRI_IMAGE_FOURCC_NV12MT.
Also, I'm still a bit undecided on how to represent multi-planar
formats (ie. single pipe_resource encapsulating each of the planes?
or pipe_resource per plane but teach pipe_sampler_view about textures
which have multiple pipe_resource's, one for per plane).
Anyways, I'll start working on the mesa egl bits next week. First
step is just add an 'offset' parameter to 'struct winsys_handle',
which should hopefully be non-controversial. After that, I need to
decide how to handle multi-planar, and I think that hinges on how
folks want to handle multi-planar in gallium. Ie. if one
pipe_resource per plane, then winsys_handle doesn't need any further
change (but we need changes elsewhere), otherwise winsys_handle needs
to have an array of handles.
Anyways, I'd appreciate feedback.
BR,
-R
[1] https://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_image_dma_buf_i…
[2] http://lists.freedesktop.org/archives/dri-devel/2014-July/064828.html
https://bugs.freedesktop.org/show_bug.cgi?id=73338
Chernovsky Oleg <adonai(a)xaker.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #105853|0 |1
is obsolete| |
--- Comment #37 from Chernovsky Oleg <adonai(a)xaker.ru> ---
Created attachment 106588
--> https://bugs.freedesktop.org/attachment.cgi?id=106588&action=edit
experimental patch for CI (BONAIRE tested) for enabling fan control with hwmon
interface
(In reply to comment #35)
> Have fun ;)
So here's the final version of what I've done. I found existing radeon hwmon
interface and added pwm1* sysfs files to it, so it exposes needed values (some
like pwm1_max are RO though).
I need someone aware of radeon driver workflow to review this patch (maybe
Alex) and to point in a right direction.
When all is good, I'll request some help from public (reddit maybe, or local
LUG) to test it extensively.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=73338
--- Comment #36 from Chernovsky Oleg <adonai(a)xaker.ru> ---
(In reply to comment #34)
> Created attachment 106260 [details]
> mmiotrace dump for radeon 7850
>
> Here is mmiotrace dump for my radeon 7850, in single-CPU mode.
Seems you have X loading in the background while performing test... It poisons
output with unneeded info :(
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.freedesktop.org/show_bug.cgi?id=74428
--- Comment #7 from David Heidelberger (okias) <david.heidelberger(a)ixit.cz> ---
kernel 3.16.2,
Mesa-3D today git,
HD 6550D on 3870K
R600_DEBUG=hyperz
Counter Strike Global Offensive (also Source engine) - worked without any
lockup.
--
You are receiving this mail because:
You are the assignee for the bug.
Hey Linus,
A bunch of radeon fixes for oops on module unload, and problems with
resetting the dma engine, one nouveau fix for black boxes in rendering on
my mbp retina, one sti fix, and a couple of intel fixes.
Dave.
The following changes since commit 37504a3be90b69438426d74ccf467a9fe192932b:
Merge tag 'gfs2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-fixes (2014-09-16 07:47:04 -0700)
are available in the git repository at:
git://people.freedesktop.org/~airlied/linux drm-fixes
for you to fetch changes up to fe3d9c4b87bb98222a502cc585844a0b950786fb:
drm/nouveau: ltc/gf100-: fix cbc issues on certain boards (2014-09-20 17:42:25 +1000)
----------------------------------------------------------------
Alex Deucher (7):
drm/radeon/dpm: fix resume on mullins
drm/radeon: don't reset dma on NI/SI init
drm/radeon: don't reset sdma on CIK init
drm/radeon: don't reset dma on r6xx-evergreen init
vgaswitcheroo: add vga_switcheroo_fini_domain_pm_ops
drm/radeon/px: fix module unload
drm/nouveau/runpm: fix module unload
Ben Skeggs (1):
drm/nouveau: ltc/gf100-: fix cbc issues on certain boards
Benjamin Gaignard (1):
drm: sti: do not iterate over the info frame array
Chris Wilson (1):
drm/i915: Fix SRC_COPY width on 830/845g
Dave Airlie (3):
Merge branch 'drm-fixes-3.17' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
Merge tag 'drm-intel-fixes-2014-09-18' of git://anongit.freedesktop.org/drm-intel into drm-fixes
Merge branch 'drm-fixes-3.17' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
Gerd Hoffmann (2):
drm/cirrus: add missing drm_connector_register call
drm/bochs: add missing drm_connector_register call
Kyle McMartin (1):
drm/radeon: delete unused PTE_* defines
Michel Dänzer (2):
drm/radeon: Disable HDP flush before every CS again for < r600
drm/radeon: Fix typo 'addr' -> 'entry' in rs400_gart_set_page
Ville Syrjälä (1):
drm/i915: Add limited color range readout for HDMI/DP ports on g4x/vlv/chv
drivers/gpu/drm/bochs/bochs_kms.c | 1 +
drivers/gpu/drm/cirrus/cirrus_mode.c | 1 +
drivers/gpu/drm/i915/intel_dp.c | 4 ++++
drivers/gpu/drm/i915/intel_hdmi.c | 7 ++++++-
drivers/gpu/drm/i915/intel_ringbuffer.c | 2 +-
drivers/gpu/drm/nouveau/core/subdev/bar/nvc0.c | 1 -
drivers/gpu/drm/nouveau/core/subdev/fb/nvc0.c | 1 +
drivers/gpu/drm/nouveau/core/subdev/ltc/gf100.c | 2 ++
drivers/gpu/drm/nouveau/core/subdev/ltc/gk104.c | 2 ++
drivers/gpu/drm/nouveau/core/subdev/ltc/gm107.c | 2 ++
drivers/gpu/drm/nouveau/nouveau_vga.c | 9 ++++++++
drivers/gpu/drm/radeon/cik_sdma.c | 7 -------
drivers/gpu/drm/radeon/kv_dpm.c | 28 ++++++++++++++++++-------
drivers/gpu/drm/radeon/ni_dma.c | 6 ------
drivers/gpu/drm/radeon/r100.c | 28 ++++++++++++-------------
drivers/gpu/drm/radeon/r600_dma.c | 9 --------
drivers/gpu/drm/radeon/r600d.h | 7 -------
drivers/gpu/drm/radeon/radeon_asic.c | 2 --
drivers/gpu/drm/radeon/radeon_asic.h | 3 +--
drivers/gpu/drm/radeon/radeon_device.c | 11 ++++++++--
drivers/gpu/drm/radeon/radeon_drv.c | 2 +-
drivers/gpu/drm/radeon/rs400.c | 4 ++--
drivers/gpu/drm/sti/sti_hdmi.c | 1 -
drivers/gpu/vga/vga_switcheroo.c | 6 ++++++
include/linux/vga_switcheroo.h | 2 ++
25 files changed, 85 insertions(+), 63 deletions(-)