All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Chris Wilson <chris@chris-wilson.co.uk>,
	Daniel Vetter <daniel.vetter@ffwll.ch>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	kernel list <linux-kernel@vger.kernel.org>,
	intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: 3.16, i915: less colors in X?
Date: Sun, 22 Jun 2014 16:26:22 +0200	[thread overview]
Message-ID: <20140622142622.GA4107@amd.pavel.ucw.cz> (raw)
In-Reply-To: <20140621210652.GA14025@nuc-i3427.alporthouse.com>

On Sat 2014-06-21 22:06:52, Chris Wilson wrote:
> On Sat, Jun 21, 2014 at 10:29:01PM +0200, Pavel Machek wrote:
> > Hi!
> > 
> > I just test-booted 3.16-rc1, and background in X looked just wrong --
> > very noticeable bands on the background gradient. I thought that maybe
> > it is just my eyes, but I went back to older kernel, and background is
> > ok now.
> > 
> > I'm trying to figure out how to ask X what color depth it is using...?
> > 
> > This is thinkpad x60 with Debian 6.0.9.
> > 
> > Any ideas?
> 
> That suggests that the panel dithering changed. Compare intel_reg_dumper
> output for both kernels, especially PIPE.CONF.

Hmm, I tried:

root@duo:/sys/power# mount -t debugfs debugfs /sys/kernel/debug
root@duo:/sys/power# intel_gpu_dump 
Error opening /sys/kernel/debug/dri/0/i915_ringbuffer_info: No such
file or directory

Perhaps your i915 kernel driver has no support for dumping batchbuffer
data?
(In kernels prior to 2.6.30 this requires manually-applied patches.)
root@duo:/sys/power# ls -al /sys/kernel/debug/dri/0/
bufs                       i915_gem_gtt               i915_pc8_status
clients                    i915_gem_hws               i915_pipe_A_crc
gem_names                  i915_gem_hws_blt           i915_pipe_B_crc
i915_cache_sharing         i915_gem_hws_bsd           i915_pipe_C_crc
i915_capabilities          i915_gem_hws_vebox
i915_power_domain_info
i915_context_status        i915_gem_inactive          i915_ppgtt_info
i915_cur_wm_latency        i915_gem_interrupt
i915_pri_wm_latency
i915_delayfreq_table       i915_gem_objects
i915_ring_freq_table
i915_display_crc_ctl       i915_gem_pageflip
i915_ring_missed_irq
i915_display_info          i915_gem_pinned            i915_ring_stop
i915_drpc_info             i915_gem_request
i915_ring_test_irq
i915_edp_psr_status        i915_gem_seqno
i915_rstdby_delays
i915_emon_status           i915_gem_stolen
i915_sink_crc_eDP1
i915_energy_uJ             i915_gen6_forcewake_count
i915_spr_wm_latency
i915_error_state           i915_gfxec                 i915_sr_status
i915_fbc_status            i915_inttoext_table
i915_swizzle_info
i915_forcewake_user        i915_ips_status            i915_wedged
i915_frequency_info        i915_llc                   name
i915_gem_active            i915_max_freq              vm
i915_gem_drop_caches       i915_min_freq              vma
i915_gem_fence_regs        i915_next_seqno            
i915_gem_framebuffer       i915_opregion              

root@duo:/sys/power# intel_gpu_dump --help
Error opening --help: No such file or directory

root@duo:/sys/power# hexdump /sys/kernel/debug/dri/0/i915_pipe_*_crc
hexdump: /sys/kernel/debug/dri/0/i915_pipe_C_crc: No such device
root@duo:/sys/power# 

I also tried to download the git tree with intel_gpu_dump, but:

pavel@duo:~/g/intel-gpu-tools$ ./autogen.sh 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal ${ACLOCAL_FLAGS} -I m4
configure.ac:68: error: must install xorg-macros 1.16 or later before
running autoconf/autogen
configure.ac:68: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
pavel@duo:~/g/intel-gpu-tools$ 

Trying to bypass configure script:

pavel@duo:~/g/intel-gpu-tools/tools$ gcc  -I ../lib intel_reg_dumper.c
2>&1  | less

In file included from ../lib/drmtest.h:37,
                 from intel_reg_dumper.c:39:
/usr/include/xf86drm.h:40:17: error: drm.h: No such file or directory
In file included from ../lib/drmtest.h:37,
                 from intel_reg_dumper.c:39:
/usr/include/xf86drm.h:268: error: expected specifier-qualifier-list
                 before ‘drm_context_t’
/usr/include/xf86drm.h:281: error: expected specifier-qualifier-list
                 before ‘drm_handle_t’
/usr/include/xf86drm.h:546: error: expected declaration specifiers or
                 ‘...’ before ‘drm_magic_t’


Is there way to get required info manually?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

WARNING: multiple messages have this Message-ID (diff)
From: Pavel Machek <pavel@ucw.cz>
To: Chris Wilson <chris@chris-wilson.co.uk>,
	Daniel Vetter <daniel.vetter@ffwll.ch>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	kernel list <linux-kernel@vger.kernel.org>,
	intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: 3.16, i915: less colors in X?
Date: Sun, 22 Jun 2014 16:26:22 +0200	[thread overview]
Message-ID: <20140622142622.GA4107@amd.pavel.ucw.cz> (raw)
In-Reply-To: <20140621210652.GA14025@nuc-i3427.alporthouse.com>

On Sat 2014-06-21 22:06:52, Chris Wilson wrote:
> On Sat, Jun 21, 2014 at 10:29:01PM +0200, Pavel Machek wrote:
> > Hi!
> > 
> > I just test-booted 3.16-rc1, and background in X looked just wrong --
> > very noticeable bands on the background gradient. I thought that maybe
> > it is just my eyes, but I went back to older kernel, and background is
> > ok now.
> > 
> > I'm trying to figure out how to ask X what color depth it is using...?
> > 
> > This is thinkpad x60 with Debian 6.0.9.
> > 
> > Any ideas?
> 
> That suggests that the panel dithering changed. Compare intel_reg_dumper
> output for both kernels, especially PIPE.CONF.

Hmm, I tried:

root@duo:/sys/power# mount -t debugfs debugfs /sys/kernel/debug
root@duo:/sys/power# intel_gpu_dump 
Error opening /sys/kernel/debug/dri/0/i915_ringbuffer_info: No such
file or directory

Perhaps your i915 kernel driver has no support for dumping batchbuffer
data?
(In kernels prior to 2.6.30 this requires manually-applied patches.)
root@duo:/sys/power# ls -al /sys/kernel/debug/dri/0/
bufs                       i915_gem_gtt               i915_pc8_status
clients                    i915_gem_hws               i915_pipe_A_crc
gem_names                  i915_gem_hws_blt           i915_pipe_B_crc
i915_cache_sharing         i915_gem_hws_bsd           i915_pipe_C_crc
i915_capabilities          i915_gem_hws_vebox
i915_power_domain_info
i915_context_status        i915_gem_inactive          i915_ppgtt_info
i915_cur_wm_latency        i915_gem_interrupt
i915_pri_wm_latency
i915_delayfreq_table       i915_gem_objects
i915_ring_freq_table
i915_display_crc_ctl       i915_gem_pageflip
i915_ring_missed_irq
i915_display_info          i915_gem_pinned            i915_ring_stop
i915_drpc_info             i915_gem_request
i915_ring_test_irq
i915_edp_psr_status        i915_gem_seqno
i915_rstdby_delays
i915_emon_status           i915_gem_stolen
i915_sink_crc_eDP1
i915_energy_uJ             i915_gen6_forcewake_count
i915_spr_wm_latency
i915_error_state           i915_gfxec                 i915_sr_status
i915_fbc_status            i915_inttoext_table
i915_swizzle_info
i915_forcewake_user        i915_ips_status            i915_wedged
i915_frequency_info        i915_llc                   name
i915_gem_active            i915_max_freq              vm
i915_gem_drop_caches       i915_min_freq              vma
i915_gem_fence_regs        i915_next_seqno            
i915_gem_framebuffer       i915_opregion              

root@duo:/sys/power# intel_gpu_dump --help
Error opening --help: No such file or directory

root@duo:/sys/power# hexdump /sys/kernel/debug/dri/0/i915_pipe_*_crc
hexdump: /sys/kernel/debug/dri/0/i915_pipe_C_crc: No such device
root@duo:/sys/power# 

I also tried to download the git tree with intel_gpu_dump, but:

pavel@duo:~/g/intel-gpu-tools$ ./autogen.sh 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal ${ACLOCAL_FLAGS} -I m4
configure.ac:68: error: must install xorg-macros 1.16 or later before
running autoconf/autogen
configure.ac:68: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
pavel@duo:~/g/intel-gpu-tools$ 

Trying to bypass configure script:

pavel@duo:~/g/intel-gpu-tools/tools$ gcc  -I ../lib intel_reg_dumper.c
2>&1  | less

In file included from ../lib/drmtest.h:37,
                 from intel_reg_dumper.c:39:
/usr/include/xf86drm.h:40:17: error: drm.h: No such file or directory
In file included from ../lib/drmtest.h:37,
                 from intel_reg_dumper.c:39:
/usr/include/xf86drm.h:268: error: expected specifier-qualifier-list
                 before ‘drm_context_t’
/usr/include/xf86drm.h:281: error: expected specifier-qualifier-list
                 before ‘drm_handle_t’
/usr/include/xf86drm.h:546: error: expected declaration specifiers or
                 ‘...’ before ‘drm_magic_t’


Is there way to get required info manually?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2014-06-22 14:26 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-13 16:09 3.15-rc: regression in suspend Pavel Machek
2014-05-13 16:19 ` Bjørn Mork
2014-05-13 16:50   ` Pavel Machek
2014-05-13 16:37 ` Pavel Machek
2014-05-13 21:41   ` Pavel Machek
2014-05-14 12:39     ` Jiri Kosina
2014-05-14 15:57       ` Pavel Machek
2014-05-14 16:10         ` Jiri Kosina
2014-05-14 20:31           ` Pavel Machek
2014-05-14 18:20         ` Pavel Machek
2014-05-15 15:29           ` Jiri Kosina
2014-05-15 15:31             ` Daniel Vetter
2014-05-15 15:31               ` Daniel Vetter
2014-06-07 12:05               ` Pavel Machek
2014-06-07 12:06               ` Pavel Machek
2014-06-07 23:11                 ` Pavel Machek
2014-06-07 23:11                   ` Pavel Machek
2014-06-09  9:25                   ` Daniel Vetter
2014-06-09  9:25                     ` Daniel Vetter
2014-06-09 10:23                     ` Pavel Machek
2014-06-09 10:23                       ` Pavel Machek
2014-06-09 11:03                       ` Jiri Kosina
2014-06-09 11:03                         ` Jiri Kosina
2014-06-10 11:50                         ` Bisecting the heisenbugs (was Re: 3.15-rc: regression in suspend) Pavel Machek
2014-06-10 11:50                           ` Pavel Machek
2014-06-21 20:29                         ` 3.16, i915: less colors in X? Pavel Machek
2014-06-21 20:29                           ` Pavel Machek
2014-06-21 20:35                           ` Pavel Machek
2014-06-21 21:06                           ` Chris Wilson
2014-06-21 21:06                             ` Chris Wilson
2014-06-22 14:26                             ` Pavel Machek [this message]
2014-06-22 14:26                               ` Pavel Machek
2014-06-22 15:11                               ` regression: 3.16, i915: less colors in X?, caused by 773875bfb6737982903c42d1ee88cf60af80089c Pavel Machek
2014-06-21 21:16                           ` 3.16, i915: less colors in X? Martin Steigerwald
     [not found]                           ` <7569_1403385738_53A5F78A_7569_14810_1_2527490.06bevSLs0l@merkaba>
2014-06-21 22:51                             ` Thomas Richter
2014-06-22 10:02                               ` Martin Steigerwald
2014-06-25 22:35                         ` 3.15-rc: regression in suspend Pavel Machek
2014-06-25 22:35                           ` Pavel Machek
2014-06-27 13:37                           ` Jiri Kosina
2014-06-27 13:37                             ` Jiri Kosina
2014-07-07  8:39                             ` Daniel Vetter
2014-07-07  8:39                               ` Daniel Vetter
2014-07-11 19:26                               ` Pavel Machek
2014-07-11 23:33                                 ` Jiri Kosina
2014-07-11 23:33                                   ` Jiri Kosina
2014-08-07 12:47                                 ` Jiri Kosina
2014-08-07 12:47                                   ` Jiri Kosina
2014-08-07 12:54                                   ` Jiri Kosina
2014-08-07 12:54                                     ` Jiri Kosina
2014-08-07 14:36                                   ` [Intel-gfx] " Daniel Vetter
2014-08-07 14:36                                     ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140622142622.GA4107@amd.pavel.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=chris@chris-wilson.co.uk \
    --cc=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.