regression: 3.16, i915: less colors in X?, caused by 773875bfb6737982903c42d1ee88cf60af80089c
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. intel_reg_dumper has so many dependencies that it is basically impossible to get working :-(. Anyway, this seems to be the problem; if I revert it, my colors are back. commit 773875bfb6737982903c42d1ee88cf60af80089c Author: Daniel Vetter Date: Mon Jan 27 10:00:30 2014 +0100 drm/i915: Don't set the 8to6 dither flag when not scaling Apparently we really only need this when the pfit is enabled, at least I couldn't dicern any difference here. Furthermore the hacks we have to reconstruct this bit is a bit glaring, and probably only works because we can't move the lvds port to any other pipe than pipe B on gen2/3. So let's just rip this out. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77137 (the LVDS WARNING log, not the main "VGA can't be turned on" issue). Signed-off-by: Daniel Vetter Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 3.16, i915: less colors in X?
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 clientsi915_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_statusi915_gem_inactive i915_ppgtt_info i915_cur_wm_latencyi915_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_pinnedi915_ring_stop i915_drpc_info i915_gem_request i915_ring_test_irq i915_edp_psr_statusi915_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_statusi915_inttoext_table i915_swizzle_info i915_forcewake_useri915_ips_statusi915_wedged i915_frequency_infoi915_llc name i915_gem_activei915_max_freq vm i915_gem_drop_caches i915_min_freq vma i915_gem_fence_regsi915_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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 3.16, i915: less colors in X?
Am Samstag, 21. Juni 2014, 22:29:01 schrieb Pavel Machek: > 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...? I think: martin@merkaba:~> xdpyinfo | grep -i "depth of root" depth of root window:24 planes but am not completely sure. > This is thinkpad x60 with Debian 6.0.9. Ciao, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 3.16, i915: less colors in X?
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. -Chris -- Chris Wilson, Intel Open Source Technology Centre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 3.16, i915: less colors in X?
On Sat 2014-06-21 22:29:01, 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? Xorg.log does not show anything too suspicious: diff -u /var/log/Xorg.0.log{,.old} > /tmp/delme Pavel --- /var/log/Xorg.0.log 2014-06-21 22:24:15.005229099 +0200 +++ /var/log/Xorg.0.log.old 2014-06-21 22:22:38.275847726 +0200 @@ -3,8 +3,8 @@ Release Date: 2010-05-04 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.2.0-4-amd64 i686 Debian -Current Operating System: Linux duo 3.10.0+ #293 SMP Sun Jul 14 22:44:49 CEST 2013 i686 -Kernel command line: BOOT_IMAGE=(hd0,3)/boot/vmlinuz-3.10 root=/dev/sda3 resume=/dev/sda1 psmouse.psmouse_proto=imps psmouse_proto=imps psmouse.proto=imps acpi_sleep=s3_bios,s3_mode no_console_suspend i915.modeset=1 video=inteldrmfb:mode=1024x768 fbcon=scrollback:64k +Current Operating System: Linux duo 3.16.0-rc1+ #373 SMP Sat Jun 21 20:46:47 CEST 2014 i686 +Kernel command line: BOOT_IMAGE=(hd0,2)/l/linux-good/arch/x86/boot/bzImage root=/dev/sda3 resume=/dev/sda1 psmouse.psmouse_proto=imps psmouse_proto=imps psmouse.proto=imps acpi_sleep=s3_bios,s3_mode no_console_suspend i915.modeset=1 video=inteldrmfb:mode=1024x768 fbcon=scrollback:64k Build Date: 17 December 2013 08:26:59PM xorg-server 2:1.7.7-18 (Julien Cristau ) Current version of pixman: 0.16.4 @@ -13,7 +13,7 @@ Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. -(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun 21 22:23:28 2014 +(==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun 21 21:04:49 2014 (==) Using system config directory "/usr/share/X11/xorg.conf.d" (==) No Layout section. Using the first Screen section. (==) No screen section available. Using defaults. @@ -402,10 +402,17 @@ (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) (II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) -(II) intel(0): EDID vendor "LEN", prod id 16384 -(II) intel(0): Printing DDC gathered Modelines: -(II) intel(0): Modeline "1024x768"x0.0 54.16 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (40.3 kHz) -(II) intel(0): Modeline "1024x768"x0.0 43.33 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (32.2 kHz) -(II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz) -(II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz) -(II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz) +(II) Power Button: Close +(II) UnloadModule: "evdev" +(II) Video Bus: Close +(II) UnloadModule: "evdev" +(II) Sleep Button: Close +(II) UnloadModule: "evdev" +(II) AT Translated Set 2 keyboard: Close +(II) UnloadModule: "evdev" +(II) PS/2 Generic Mouse: Close +(II) UnloadModule: "evdev" +(II) ThinkPad Extra Buttons: Close +(II) UnloadModule: "evdev" +(II) ACPI Virtual Keyboard Device: Close +(II) UnloadModule: "evdev" -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
3.16, i915: less colors in X?
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? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/