[Nouveau] [Bug 99995] Dirt showdown very low fps (~3fps) after update mesa

2017-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=5

--- Comment #4 from Ilia Mirkin  ---
The speed improvement on Maxwell is expected - Mesa 17.0 starts to add proper
shader instruction scheduling information. In various tests it has improved
overall perf ~2x (varies a lot based on how shader-computation-limited the
software is, vs memory bandwidth-limited).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [PATCH 3/3] gpu: drm: drivers: Convert printk(KERN_ to pr_

2017-02-28 Thread Rob Clark
On Tue, Feb 28, 2017 at 7:55 AM, Joe Perches  wrote:
> Use a more common logging style.
>
> Miscellanea:
>
> o Coalesce formats and realign arguments
> o Neaten a few macros now using pr_
>
> Signed-off-by: Joe Perches 

for drm/msm part:

Acked-by: Rob Clark 


> ---
>  drivers/gpu/drm/gma500/cdv_intel_lvds.c   |  9 -
>  drivers/gpu/drm/gma500/oaktrail_lvds.c| 18 +-
>  drivers/gpu/drm/gma500/psb_drv.h  |  5 ++---
>  drivers/gpu/drm/gma500/psb_intel_lvds.c   |  7 +++
>  drivers/gpu/drm/i915/i915_sw_fence.c  |  8 
>  drivers/gpu/drm/mgag200/mgag200_mode.c|  2 +-
>  drivers/gpu/drm/msm/msm_drv.c |  2 +-
>  drivers/gpu/drm/nouveau/nouveau_acpi.c|  7 ---
>  drivers/gpu/drm/nouveau/nouveau_vga.c |  4 ++--
>  drivers/gpu/drm/nouveau/nv50_display.c| 22 +++---
>  drivers/gpu/drm/nouveau/nvkm/core/mm.c| 10 +-
>  drivers/gpu/drm/omapdrm/dss/dsi.c | 17 -
>  drivers/gpu/drm/omapdrm/dss/dss.c |  3 +--
>  drivers/gpu/drm/omapdrm/dss/dss.h | 15 ++-
>  drivers/gpu/drm/omapdrm/omap_gem.c|  5 ++---
>  drivers/gpu/drm/r128/r128_cce.c   |  7 +++
>  drivers/gpu/drm/ttm/ttm_bo.c  |  2 +-
>  drivers/gpu/drm/vmwgfx/vmwgfx_fence.c |  6 ++
>  drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c |  3 +--
>  drivers/gpu/drm/vmwgfx/vmwgfx_resource.c  |  4 ++--
>  20 files changed, 72 insertions(+), 84 deletions(-)
>
> diff --git a/drivers/gpu/drm/gma500/cdv_intel_lvds.c 
> b/drivers/gpu/drm/gma500/cdv_intel_lvds.c
> index 5efdb7fbb7ee..e64960db3224 100644
> --- a/drivers/gpu/drm/gma500/cdv_intel_lvds.c
> +++ b/drivers/gpu/drm/gma500/cdv_intel_lvds.c
> @@ -284,8 +284,7 @@ static bool cdv_intel_lvds_mode_fixup(struct drm_encoder 
> *encoder,
> head) {
> if (tmp_encoder != encoder
> && tmp_encoder->crtc == encoder->crtc) {
> -   printk(KERN_ERR "Can't enable LVDS and another "
> -  "encoder on the same pipe\n");
> +   pr_err("Can't enable LVDS and another encoder on the 
> same pipe\n");
> return false;
> }
> }
> @@ -756,13 +755,13 @@ void cdv_intel_lvds_init(struct drm_device *dev,
>
>  failed_find:
> mutex_unlock(>mode_config.mutex);
> -   printk(KERN_ERR "Failed find\n");
> +   pr_err("Failed find\n");
> psb_intel_i2c_destroy(gma_encoder->ddc_bus);
>  failed_ddc:
> -   printk(KERN_ERR "Failed DDC\n");
> +   pr_err("Failed DDC\n");
> psb_intel_i2c_destroy(gma_encoder->i2c_bus);
>  failed_blc_i2c:
> -   printk(KERN_ERR "Failed BLC\n");
> +   pr_err("Failed BLC\n");
> drm_encoder_cleanup(encoder);
> drm_connector_cleanup(connector);
> kfree(lvds_priv);
> diff --git a/drivers/gpu/drm/gma500/oaktrail_lvds.c 
> b/drivers/gpu/drm/gma500/oaktrail_lvds.c
> index f7038f12ac76..e6943fef0611 100644
> --- a/drivers/gpu/drm/gma500/oaktrail_lvds.c
> +++ b/drivers/gpu/drm/gma500/oaktrail_lvds.c
> @@ -255,15 +255,15 @@ static void oaktrail_lvds_get_configuration_mode(struct 
> drm_device *dev,
> ((ti->vblank_hi << 8) | ti->vblank_lo);
> mode->clock = ti->pixel_clock * 10;
>  #if 0
> -   printk(KERN_INFO "hdisplay is %d\n", mode->hdisplay);
> -   printk(KERN_INFO "vdisplay is %d\n", mode->vdisplay);
> -   printk(KERN_INFO "HSS is %d\n", mode->hsync_start);
> -   printk(KERN_INFO "HSE is %d\n", mode->hsync_end);
> -   printk(KERN_INFO "htotal is %d\n", mode->htotal);
> -   printk(KERN_INFO "VSS is %d\n", mode->vsync_start);
> -   printk(KERN_INFO "VSE is %d\n", mode->vsync_end);
> -   printk(KERN_INFO "vtotal is %d\n", mode->vtotal);
> -   printk(KERN_INFO "clock is %d\n", mode->clock);
> +   pr_info("hdisplay is %d\n", mode->hdisplay);
> +   pr_info("vdisplay is %d\n", mode->vdisplay);
> +   pr_info("HSS is %d\n", mode->hsync_start);
> +   pr_info("HSE is %d\n", mode->hsync_end);
> +   pr_info("htotal is %d\n", mode->htotal);
> +   pr_info("VSS is %d\n", mode->vsync_start);
> +   pr_info("VSE is %d\n", mode->vsync_end);
> +   pr_info("vtotal is %d\n", mode->vtotal);
> +   pr_info("clock is %d\n", mode->clock);
>  #endif
> mode_dev->panel_fixed_mode = mode;
> }
> diff --git a/drivers/gpu/drm/gma500/psb_drv.h 
> b/drivers/gpu/drm/gma500/psb_drv.h
> index 83e22fd4cfc0..83667087d6e5 100644
> --- a/drivers/gpu/drm/gma500/psb_drv.h
> +++ b/drivers/gpu/drm/gma500/psb_drv.h
> @@ -905,9 +905,8 @@ static 

[Nouveau] [Bug 94727] [NV30/NV40] nouveau/pushbuf.c:238: pushbuf_krel: Assertion `bkref` failed.

2017-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94727

--- Comment #16 from Olivier Fourdan  ---
Haven't heard back from the original reporter downstream, but FAF (Fedora
Analysis Framework) reports thousands (literally) of similar bugs:

https://retrace.fedoraproject.org/faf/problems/2833836/

I see the patch in comment 13 has landed and is included in mesa-13.0.4, and
Fedora has an updated mesa package for 13.0.4 and, interestingly, I don't see
any mention of 13.0.4 in the FAF report, so it could be that this patch indeed
fixes the issue with glamor/Xwayland on nv30.

Thanks again for your help, Ilia!

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [PATCH 0/3] gpu: drm: Convert printk(KERN_ to pr_

2017-02-28 Thread Daniel Vetter
On Tue, Feb 28, 2017 at 04:55:51AM -0800, Joe Perches wrote:
> Broken up for Daniel Vetter

Thanks, I applied the core patch (needed a minor resolution in
drm_edid.c). I'll wait with the driver patch for a few more acks maybe,
and leave the 2 other patches to Alex for picking up directly.

Thanks, Daniel

> 
> Joe Perches (3):
>   gpu: drm: amd/radeon: Convert printk(KERN_ to pr_
>   gpu: drm: core: Convert printk(KERN_ to pr_
>   gpu: drm: drivers: Convert printk(KERN_ to pr_
> 
>  drivers/gpu/drm/amd/amdgpu/amdgpu.h|  3 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c   |  4 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c   |  4 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  4 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c |  3 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_test.c   |  2 +-
>  drivers/gpu/drm/amd/amdgpu/atom.c  | 44 -
>  drivers/gpu/drm/amd/amdgpu/ci_dpm.c|  4 +-
>  drivers/gpu/drm/amd/amdgpu/cik_sdma.c  |  4 +-
>  drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c  |  4 +-
>  drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c  |  4 +-
>  drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c  |  8 ++--
>  drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c  |  8 ++--
>  drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c |  4 +-
>  drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c |  4 +-
>  drivers/gpu/drm/amd/include/amd_pcie_helpers.h |  4 +-
>  drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c   |  2 +-
>  drivers/gpu/drm/amd/powerplay/inc/pp_debug.h   |  2 +-
>  drivers/gpu/drm/amd/powerplay/smumgr/fiji_smc.c|  4 +-
>  drivers/gpu/drm/amd/powerplay/smumgr/iceland_smc.c | 14 +++---
>  .../gpu/drm/amd/powerplay/smumgr/polaris10_smc.c   |  4 +-
>  drivers/gpu/drm/amd/powerplay/smumgr/tonga_smc.c   |  4 +-
>  drivers/gpu/drm/drm_cache.c| 12 ++---
>  drivers/gpu/drm/drm_edid.c |  4 +-
>  drivers/gpu/drm/drm_ioc32.c|  3 +-
>  drivers/gpu/drm/gma500/cdv_intel_lvds.c|  9 ++--
>  drivers/gpu/drm/gma500/oaktrail_lvds.c | 18 +++
>  drivers/gpu/drm/gma500/psb_drv.h   |  5 +-
>  drivers/gpu/drm/gma500/psb_intel_lvds.c|  7 ++-
>  drivers/gpu/drm/i915/i915_sw_fence.c   |  8 ++--
>  drivers/gpu/drm/mgag200/mgag200_mode.c |  2 +-
>  drivers/gpu/drm/msm/msm_drv.c  |  2 +-
>  drivers/gpu/drm/nouveau/nouveau_acpi.c |  7 +--
>  drivers/gpu/drm/nouveau/nouveau_vga.c  |  4 +-
>  drivers/gpu/drm/nouveau/nv50_display.c | 22 -
>  drivers/gpu/drm/nouveau/nvkm/core/mm.c | 10 ++--
>  drivers/gpu/drm/omapdrm/dss/dsi.c  | 17 ---
>  drivers/gpu/drm/omapdrm/dss/dss.c  |  3 +-
>  drivers/gpu/drm/omapdrm/dss/dss.h  | 15 +++---
>  drivers/gpu/drm/omapdrm/omap_gem.c |  5 +-
>  drivers/gpu/drm/r128/r128_cce.c|  7 ++-
>  drivers/gpu/drm/radeon/atom.c  | 46 --
>  drivers/gpu/drm/radeon/cik.c   | 56 
> --
>  drivers/gpu/drm/radeon/evergreen.c |  2 +-
>  drivers/gpu/drm/radeon/evergreen_cs.c  |  7 ++-
>  drivers/gpu/drm/radeon/ni.c| 22 +++--
>  drivers/gpu/drm/radeon/r100.c  | 18 +++
>  drivers/gpu/drm/radeon/r200.c  |  3 +-
>  drivers/gpu/drm/radeon/r300.c  | 13 ++---
>  drivers/gpu/drm/radeon/r420.c  |  9 ++--
>  drivers/gpu/drm/radeon/r520.c  |  3 +-
>  drivers/gpu/drm/radeon/r600.c  | 21 +++-
>  drivers/gpu/drm/radeon/r600_cs.c   |  7 ++-
>  drivers/gpu/drm/radeon/radeon.h|  3 +-
>  drivers/gpu/drm/radeon/radeon_atpx_handler.c   |  4 +-
>  drivers/gpu/drm/radeon/radeon_audio.c  |  4 +-
>  drivers/gpu/drm/radeon/radeon_clocks.c |  2 +-
>  drivers/gpu/drm/radeon/radeon_device.c |  8 ++--
>  drivers/gpu/drm/radeon/radeon_fb.c |  3 +-
>  drivers/gpu/drm/radeon/radeon_gem.c|  4 +-
>  drivers/gpu/drm/radeon/radeon_test.c   |  6 +--
>  drivers/gpu/drm/radeon/rs400.c |  4 +-
>  drivers/gpu/drm/radeon/rs690.c |  3 +-
>  drivers/gpu/drm/radeon/rv515.c |  9 ++--
>  drivers/gpu/drm/radeon/si.c| 45 ++---
>  drivers/gpu/drm/ttm/ttm_bo.c   |  2 +-
>  drivers/gpu/drm/vmwgfx/vmwgfx_fence.c  |  6 +--
>  drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c  |  3 +-
>  drivers/gpu/drm/vmwgfx/vmwgfx_resource.c   |  4 +-
>  69 files changed, 253 insertions(+), 362 deletions(-)
> 
> -- 
> 2.10.0.rc2.1.g053435c
> 
> 

[Nouveau] [PATCH 3/3] gpu: drm: drivers: Convert printk(KERN_ to pr_

2017-02-28 Thread Joe Perches
Use a more common logging style.

Miscellanea:

o Coalesce formats and realign arguments
o Neaten a few macros now using pr_

Signed-off-by: Joe Perches 
---
 drivers/gpu/drm/gma500/cdv_intel_lvds.c   |  9 -
 drivers/gpu/drm/gma500/oaktrail_lvds.c| 18 +-
 drivers/gpu/drm/gma500/psb_drv.h  |  5 ++---
 drivers/gpu/drm/gma500/psb_intel_lvds.c   |  7 +++
 drivers/gpu/drm/i915/i915_sw_fence.c  |  8 
 drivers/gpu/drm/mgag200/mgag200_mode.c|  2 +-
 drivers/gpu/drm/msm/msm_drv.c |  2 +-
 drivers/gpu/drm/nouveau/nouveau_acpi.c|  7 ---
 drivers/gpu/drm/nouveau/nouveau_vga.c |  4 ++--
 drivers/gpu/drm/nouveau/nv50_display.c| 22 +++---
 drivers/gpu/drm/nouveau/nvkm/core/mm.c| 10 +-
 drivers/gpu/drm/omapdrm/dss/dsi.c | 17 -
 drivers/gpu/drm/omapdrm/dss/dss.c |  3 +--
 drivers/gpu/drm/omapdrm/dss/dss.h | 15 ++-
 drivers/gpu/drm/omapdrm/omap_gem.c|  5 ++---
 drivers/gpu/drm/r128/r128_cce.c   |  7 +++
 drivers/gpu/drm/ttm/ttm_bo.c  |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c |  6 ++
 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c |  3 +--
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c  |  4 ++--
 20 files changed, 72 insertions(+), 84 deletions(-)

diff --git a/drivers/gpu/drm/gma500/cdv_intel_lvds.c 
b/drivers/gpu/drm/gma500/cdv_intel_lvds.c
index 5efdb7fbb7ee..e64960db3224 100644
--- a/drivers/gpu/drm/gma500/cdv_intel_lvds.c
+++ b/drivers/gpu/drm/gma500/cdv_intel_lvds.c
@@ -284,8 +284,7 @@ static bool cdv_intel_lvds_mode_fixup(struct drm_encoder 
*encoder,
head) {
if (tmp_encoder != encoder
&& tmp_encoder->crtc == encoder->crtc) {
-   printk(KERN_ERR "Can't enable LVDS and another "
-  "encoder on the same pipe\n");
+   pr_err("Can't enable LVDS and another encoder on the 
same pipe\n");
return false;
}
}
@@ -756,13 +755,13 @@ void cdv_intel_lvds_init(struct drm_device *dev,
 
 failed_find:
mutex_unlock(>mode_config.mutex);
-   printk(KERN_ERR "Failed find\n");
+   pr_err("Failed find\n");
psb_intel_i2c_destroy(gma_encoder->ddc_bus);
 failed_ddc:
-   printk(KERN_ERR "Failed DDC\n");
+   pr_err("Failed DDC\n");
psb_intel_i2c_destroy(gma_encoder->i2c_bus);
 failed_blc_i2c:
-   printk(KERN_ERR "Failed BLC\n");
+   pr_err("Failed BLC\n");
drm_encoder_cleanup(encoder);
drm_connector_cleanup(connector);
kfree(lvds_priv);
diff --git a/drivers/gpu/drm/gma500/oaktrail_lvds.c 
b/drivers/gpu/drm/gma500/oaktrail_lvds.c
index f7038f12ac76..e6943fef0611 100644
--- a/drivers/gpu/drm/gma500/oaktrail_lvds.c
+++ b/drivers/gpu/drm/gma500/oaktrail_lvds.c
@@ -255,15 +255,15 @@ static void oaktrail_lvds_get_configuration_mode(struct 
drm_device *dev,
((ti->vblank_hi << 8) | ti->vblank_lo);
mode->clock = ti->pixel_clock * 10;
 #if 0
-   printk(KERN_INFO "hdisplay is %d\n", mode->hdisplay);
-   printk(KERN_INFO "vdisplay is %d\n", mode->vdisplay);
-   printk(KERN_INFO "HSS is %d\n", mode->hsync_start);
-   printk(KERN_INFO "HSE is %d\n", mode->hsync_end);
-   printk(KERN_INFO "htotal is %d\n", mode->htotal);
-   printk(KERN_INFO "VSS is %d\n", mode->vsync_start);
-   printk(KERN_INFO "VSE is %d\n", mode->vsync_end);
-   printk(KERN_INFO "vtotal is %d\n", mode->vtotal);
-   printk(KERN_INFO "clock is %d\n", mode->clock);
+   pr_info("hdisplay is %d\n", mode->hdisplay);
+   pr_info("vdisplay is %d\n", mode->vdisplay);
+   pr_info("HSS is %d\n", mode->hsync_start);
+   pr_info("HSE is %d\n", mode->hsync_end);
+   pr_info("htotal is %d\n", mode->htotal);
+   pr_info("VSS is %d\n", mode->vsync_start);
+   pr_info("VSE is %d\n", mode->vsync_end);
+   pr_info("vtotal is %d\n", mode->vtotal);
+   pr_info("clock is %d\n", mode->clock);
 #endif
mode_dev->panel_fixed_mode = mode;
}
diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h
index 83e22fd4cfc0..83667087d6e5 100644
--- a/drivers/gpu/drm/gma500/psb_drv.h
+++ b/drivers/gpu/drm/gma500/psb_drv.h
@@ -905,9 +905,8 @@ static inline void REGISTER_WRITE8(struct drm_device *dev,
 #define PSB_RSGX32(_offs)  \
 ({ \
if (inl(dev_priv->apm_base + PSB_APM_STS) & 0x3) {  \
-   printk(KERN_ERR 

[Nouveau] [PATCH 0/3] gpu: drm: Convert printk(KERN_ to pr_

2017-02-28 Thread Joe Perches
Broken up for Daniel Vetter

Joe Perches (3):
  gpu: drm: amd/radeon: Convert printk(KERN_ to pr_
  gpu: drm: core: Convert printk(KERN_ to pr_
  gpu: drm: drivers: Convert printk(KERN_ to pr_

 drivers/gpu/drm/amd/amdgpu/amdgpu.h|  3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_afmt.c   |  4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c   |  4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c |  3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_test.c   |  2 +-
 drivers/gpu/drm/amd/amdgpu/atom.c  | 44 -
 drivers/gpu/drm/amd/amdgpu/ci_dpm.c|  4 +-
 drivers/gpu/drm/amd/amdgpu/cik_sdma.c  |  4 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c  |  4 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c  |  4 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c  |  8 ++--
 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c  |  8 ++--
 drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c |  4 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c |  4 +-
 drivers/gpu/drm/amd/include/amd_pcie_helpers.h |  4 +-
 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c   |  2 +-
 drivers/gpu/drm/amd/powerplay/inc/pp_debug.h   |  2 +-
 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smc.c|  4 +-
 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smc.c | 14 +++---
 .../gpu/drm/amd/powerplay/smumgr/polaris10_smc.c   |  4 +-
 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smc.c   |  4 +-
 drivers/gpu/drm/drm_cache.c| 12 ++---
 drivers/gpu/drm/drm_edid.c |  4 +-
 drivers/gpu/drm/drm_ioc32.c|  3 +-
 drivers/gpu/drm/gma500/cdv_intel_lvds.c|  9 ++--
 drivers/gpu/drm/gma500/oaktrail_lvds.c | 18 +++
 drivers/gpu/drm/gma500/psb_drv.h   |  5 +-
 drivers/gpu/drm/gma500/psb_intel_lvds.c|  7 ++-
 drivers/gpu/drm/i915/i915_sw_fence.c   |  8 ++--
 drivers/gpu/drm/mgag200/mgag200_mode.c |  2 +-
 drivers/gpu/drm/msm/msm_drv.c  |  2 +-
 drivers/gpu/drm/nouveau/nouveau_acpi.c |  7 +--
 drivers/gpu/drm/nouveau/nouveau_vga.c  |  4 +-
 drivers/gpu/drm/nouveau/nv50_display.c | 22 -
 drivers/gpu/drm/nouveau/nvkm/core/mm.c | 10 ++--
 drivers/gpu/drm/omapdrm/dss/dsi.c  | 17 ---
 drivers/gpu/drm/omapdrm/dss/dss.c  |  3 +-
 drivers/gpu/drm/omapdrm/dss/dss.h  | 15 +++---
 drivers/gpu/drm/omapdrm/omap_gem.c |  5 +-
 drivers/gpu/drm/r128/r128_cce.c|  7 ++-
 drivers/gpu/drm/radeon/atom.c  | 46 --
 drivers/gpu/drm/radeon/cik.c   | 56 --
 drivers/gpu/drm/radeon/evergreen.c |  2 +-
 drivers/gpu/drm/radeon/evergreen_cs.c  |  7 ++-
 drivers/gpu/drm/radeon/ni.c| 22 +++--
 drivers/gpu/drm/radeon/r100.c  | 18 +++
 drivers/gpu/drm/radeon/r200.c  |  3 +-
 drivers/gpu/drm/radeon/r300.c  | 13 ++---
 drivers/gpu/drm/radeon/r420.c  |  9 ++--
 drivers/gpu/drm/radeon/r520.c  |  3 +-
 drivers/gpu/drm/radeon/r600.c  | 21 +++-
 drivers/gpu/drm/radeon/r600_cs.c   |  7 ++-
 drivers/gpu/drm/radeon/radeon.h|  3 +-
 drivers/gpu/drm/radeon/radeon_atpx_handler.c   |  4 +-
 drivers/gpu/drm/radeon/radeon_audio.c  |  4 +-
 drivers/gpu/drm/radeon/radeon_clocks.c |  2 +-
 drivers/gpu/drm/radeon/radeon_device.c |  8 ++--
 drivers/gpu/drm/radeon/radeon_fb.c |  3 +-
 drivers/gpu/drm/radeon/radeon_gem.c|  4 +-
 drivers/gpu/drm/radeon/radeon_test.c   |  6 +--
 drivers/gpu/drm/radeon/rs400.c |  4 +-
 drivers/gpu/drm/radeon/rs690.c |  3 +-
 drivers/gpu/drm/radeon/rv515.c |  9 ++--
 drivers/gpu/drm/radeon/si.c| 45 ++---
 drivers/gpu/drm/ttm/ttm_bo.c   |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c  |  6 +--
 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c  |  3 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c   |  4 +-
 69 files changed, 253 insertions(+), 362 deletions(-)

-- 
2.10.0.rc2.1.g053435c

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 99995] Dirt showdown very low fps (~3fps) after update mesa

2017-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=5

--- Comment #3 from Kevin Puertas  ---
(In reply to Ilia Mirkin from comment #1)

> One difference is that 17.0 has GL 4.3 enabled for Maxwell (e.g. GTX 750),
> which perhaps causes the game to choose a different path, thus not really be
> directly comparable. Try it with
> 
> MESA_GL_VERSION_OVERRIDE=4.1

If I export this before opening steam, steam causes a segfault


> Or try it with
> 
> MESA_EXTENSION_OVERRIDE='-GL_ARB_shader_image_load_store
> -GL_ARB_compute_shader'

If I try this, game loads smooth and works about 45fps, better than with mesa
13



(In reply to Gregor Münch from comment #2)
>With higher GL versions, Dirt enables "advanced lighting" options in the 
>graphics menu.
At least for me, it is there, but Off in all the tests

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 99995] Dirt showdown very low fps (~3fps) after update mesa

2017-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=5

--- Comment #2 from Gregor Münch  ---
Maybe related:
With higher GL versions, Dirt enables "advanced lighting" options in the
graphics menu. Setting this to "On" makes the game basically a slide show. But
Im on a Radeon HD 7970. Also all other Radeon cards have a performance problem:
http://www.phoronix.com/scan.php?page=article=mesa171-pro60-rx470=2

where figures looked better in 2015:
http://www.phoronix.com/scan.php?page=article=dirt-showdown-linux=3

Some more infos about the lightning options:
http://www.rage3d.com/articles/gaming/codemaster_dirt_showdown_tech_review/index.php?p=2

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 99900] [NVC1] nouveau: freeze / crash after kernel update to 4.10

2017-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99900

--- Comment #7 from Ralph Gauges  ---
One last note, hopefully.

I went back to kernel 4.9. The error can still be triggered using the latest
version of VirtualBox with a Windows 10 guest and guest additions installed.
During boot up of the VM, probably when the guest additions are loaded, the VM
stops.

Again I gets the error messages in kern.log and Xorg.log but with kernel 4.9 it
takes a lot longer for the system to freeze. Actually it didn't crash, it just
wouldn't accept any input after some minutes. The mouse pointer was still
moving, but neither keyboard input nor mouse clicks hat any effect. I also
couldn't switch to a text console with ALT-F1 any more.

Hope that helps in reproducing the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 99900] [NVC1] nouveau: freeze / crash after kernel update to 4.10

2017-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99900

--- Comment #6 from Ralph Gauges  ---
Just managed to freeze X again. This time I just started VirtualBox.
kern.log entries are as follows. Xorg shows the same backtraces as the one I
already attached.

Feb 28 09:08:50 zeus kernel: [ 3164.314029] nouveau :01:00.0: gr:
ILLEGAL_CLASS ch 7 [007f15c000 VirtualBox[8257]] subc 0 class  mthd 2b00
data 20
046234
Feb 28 09:08:50 zeus kernel: [ 3164.314037] nouveau :01:00.0: gr:
ILLEGAL_CLASS ch 7 [007f15c000 VirtualBox[8257]] subc 0 class  mthd 2b04
data 00
00
Feb 28 09:08:50 zeus kernel: [ 3164.314046] nouveau :01:00.0: gr:
ILLEGAL_CLASS ch 7 [007f15c000 VirtualBox[8257]] subc 0 class  mthd 2b08
data 00
00
Feb 28 09:08:50 zeus kernel: [ 3164.314054] nouveau :01:00.0: gr:
ILLEGAL_CLASS ch 7 [007f15c000 VirtualBox[8257]] subc 0 class  mthd 2b0c
data 00
00
Feb 28 09:08:50 zeus kernel: [ 3164.314062] nouveau :01:00.0: gr:
ILLEGAL_CLASS ch 7 [007f15c000 VirtualBox[8257]] subc 0 class  mthd 2b10
data 00
00
Feb 28 09:08:50 zeus kernel: [ 3164.314070] nouveau :01:00.0: gr:
ILLEGAL_CLASS ch 7 [007f15c000 VirtualBox[8257]] subc 0 class  mthd 2b14
data 20
050004
Feb 28 09:08:50 zeus kernel: [ 3164.314078] nouveau :01:00.0: gr:
ILLEGAL_CLASS ch 7 [007f15c000 VirtualBox[8257]] subc 0 class  mthd 2b18
data 00
00
Feb 28 09:08:50 zeus kernel: [ 3164.314087] nouveau :01:00.0: gr:
ILLEGAL_CLASS ch 7 [007f15c000 VirtualBox[8257]] subc 0 class  mthd 2b1c
data 00
013070
Feb 28 09:08:50 zeus kernel: [ 3164.314095] nouveau :01:00.0: gr:
ILLEGAL_CLASS ch 7 [007f15c000 VirtualBox[8257]] subc 0 class  mthd 2b20
data 00
0002ef
Feb 28 09:08:50 zeus kernel: [ 3164.314103] nouveau :01:00.0: gr:
ILLEGAL_CLASS ch 7 [007f15c000 VirtualBox[8257]] subc 0 class  mthd 2b24
data 00
02
Feb 28 09:08:50 zeus kernel: [ 3164.314111] nouveau :01:00.0: gr:
ILLEGAL_CLASS ch 7 [007f15c000 VirtualBox[8257]] subc 0 class  mthd 2b28
data 00
00
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 99900] [NVC1] nouveau: freeze / crash after kernel update to 4.10

2017-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99900

--- Comment #5 from Ralph Gauges  ---
Sorry, my report got lost whn I attached the Xorg.log. So again.

I am also seeing freezes related to the nouveau driver since upgrading to
kernel 4.10. Before that I was using 4.9 without problems.

In addition to the Xorg.log, my kern.log contains some error messsages that
repeat lots of times before the system freezes. I have added the last few lines
below.

I am running the latest MESA code from git, so the last crash was with Mesa
from  20170227 and I am using a 750 Ti Card.

01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750
Ti] (rev a2)

If there is anything else I can provide, please let me know.

Thanks and keep up the good work.


Feb 27 21:12:38 zeus kernel: [34599.410668] nouveau :01:00.0: gr: FECS
ucode error 2
Feb 27 21:12:38 zeus kernel: [34599.410668] nouveau :01:00.0: gr: FECS
0002
Feb 27 21:12:38 zeus kernel: [34599.410670] nouveau :01:00.0: gr: 409000 -
done 0340
Feb 27 21:12:38 zeus kernel: [34599.410674] nouveau :01:00.0: gr: 409000 -
stat 8000 0001a600  80031828
Feb 27 21:12:38 zeus kernel: [34599.410677] nouveau :01:00.0: gr: 409000 -
stat 200208e3 0003 0006 0090
Feb 27 21:12:38 zeus kernel: [34599.410679] nouveau :01:00.0: gr: 502000 -
done 0300
Feb 27 21:12:38 zeus kernel: [34599.410683] nouveau :01:00.0: gr: 502000 -
stat 8000 00010400  
Feb 27 21:12:38 zeus kernel: [34599.410687] nouveau :01:00.0: gr: 502000 -
stat   0002 
Feb 27 21:12:38 zeus kernel: [34599.410690] nouveau :01:00.0: fifo:
SCHED_ERROR 0a [CTXSW_TIMEOUT]
Feb 27 21:12:38 zeus kernel: [34599.410692] nouveau :01:00.0: fifo: gr
engine fault on channel 2, recovering...
Feb 27 21:12:38 zeus kernel: [34599.410709] nouveau :01:00.0: gr: FECS MTHD
subc 3 class  mthd 1828 data 200208e3
Feb 27 21:12:38 zeus kernel: [34599.410710] nouveau :01:00.0: gr: FECS
0002
Feb 27 21:12:38 zeus kernel: [34599.410712] nouveau :01:00.0: gr: 409000 -
done 0340
Feb 27 21:12:38 zeus kernel: [34599.410715] nouveau :01:00.0: gr: 409000 -
stat 8000 0001a600  80031828
Feb 27 21:12:38 zeus kernel: [34599.410719] nouveau :01:00.0: gr: 409000 -
stat 200208e3 0002 0006 0091
Feb 27 21:12:38 zeus kernel: [34599.410720] nouveau :01:00.0: gr: 502000 -
done 0300
Feb 27 21:12:38 zeus kernel: [34599.410724] nouveau :01:00.0: gr: 502000 -
stat 8000 00010400  
Feb 27 21:12:38 zeus kernel: [34599.410728] nouveau :01:00.0: gr: 502000 -
stat   0002 
Feb 27 21:12:38 zeus kernel: [34599.410740] nouveau :01:00.0: gr: FECS MTHD
subc 3 class  mthd 1828 data 200208e3
Feb 27 21:12:38 zeus kernel: [34599.410741] nouveau :01:00.0: gr: FECS
0002
Feb 27 21:12:38 zeus kernel: [34599.410743] nouveau :01:00.0: gr: 409000 -
done 0340
Feb 27 21:12:38 zeus kernel: [34599.410746] nouveau :01:00.0: gr: 409000 -
stat 8000 0001a600  80031828
Feb 27 21:12:38 zeus kernel: [34599.410750] nouveau :01:00.0: gr: 409000 -
stat 200208e3 0003 0006 0090
Feb 27 21:12:38 zeus kernel: [34599.410751] nouveau :01:00.0: gr: 502000 -
done 0300
Feb 27 21:12:38 zeus kernel: [34599.410755] nouveau :01:00.0: gr: 502000 -
stat 8000 00010400  
Feb 27 21:12:38 zeus kernel: [34599.410759] nouveau :01:00.0: gr: 502000 -
stat   0002 
Feb 27 21:12:38 zeus kernel: [34599.410769] nouveau :01:00.0: gr: FECS
ucode error 2
Feb 27 21:12:38 zeus kernel: [34599.410770] nouveau :01:00.0: gr: FECS
0002
Feb 27 21:12:38 zeus kernel: [34599.410772] nouveau :01:00.0: gr: 409000 -
done 0340
Feb 27 21:12:38 zeus kernel: [34599.410775] nouveau :01:00.0: gr: 409000 -
stat 8000 0001a600  80031828
Feb 27 21:12:38 zeus kernel: [34599.410779] nouveau :01:00.0: gr: 409000 -
stat 200208e3 0003 0006 0090
Feb 27 21:12:38 zeus kernel: [34599.410780] nouveau :01:00.0: gr: 502000 -
done 0300
Feb 27 21:12:38 zeus kernel: [34599.410784] nouveau :01:00.0: gr: 502000 -
stat 8000 00010400  
Feb 27 21:12:38 zeus kernel: [34599.410788] nouveau :01:00.0: gr: 502000 -
stat   0002 
Feb 27 21:12:38 zeus kernel: [34599.410798] nouveau :01:00.0: fifo: PBDMA0:
0100 [] ch 2 [007f957000 Xorg[1458]] subc 3 mthd 0200 data 00cf
Feb 27 21:12:38 zeus kernel: [34599.410807] nouveau :01:00.0: priv: HUB0:
400500 00010001 (1b408201)
Feb 27 21:12:38 zeus kernel: [34599.410817] nouveau :01:00.0: fifo: PBDMA0:
0100 [] ch 2 [007f957000 Xorg[1458]] subc 3 mthd 0204 data 
Feb 27 21:12:38 zeus kernel: [34599.411237] nouveau :01:00.0: fifo: write
fault at 00019e3000 engine 00 [GR] client 0f [GPC0/PROP_0] reason 02 [PTE] on

[Nouveau] [Bug 99900] [NVC1] nouveau: freeze / crash after kernel update to 4.10

2017-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99900

--- Comment #4 from Ralph Gauges  ---
Created attachment 129974
  --> https://bugs.freedesktop.org/attachment.cgi?id=129974=edit
Xorg.log file

Xorg.log also shows some error messages towards the end.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau