Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375487 - media-libs/mesa-7.11_rc1-r1: too dark colors in BlackMirror III
Summary: media-libs/mesa-7.11_rc1-r1: too dark colors in BlackMirror III
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-17 20:44 UTC by Alexander E. Patrakov
Modified: 2012-09-30 14:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander E. Patrakov 2011-07-17 20:44:35 UTC
The colors in BlackMirror III are too dark, and the gamma control affects only the menu, not the game itself. No such issues were in 7.10.3.

Reproducible: Always

Steps to Reproduce:
1. Buy BlackMirror III game (in a region where it is not protected by ProtectDisc, or where it is legal to apply nodvd cracks to legally bought games), install it in wine-1.3.24. Apply the nodvd crack if needed.
2. Run it.
3. Look at the result with mesa-7.11_rc1-r1, compare with 7.10.3
Actual Results:  
The game is way too dark and the gamma control doesn't work with the new mesa

Expected Results:  
It worked properly with the old version of mesa.

[ebuild     U  ] media-libs/mesa-7.11_rc1-r1 [7.10.3] USE="classic egl%* gallium llvm nptl shared-glapi%* -bindist% -debug -gles -motif -openvg% -pic (-selinux) -shared-dricore% (-hardened%)" MULTILIB_ABI="amd64 x86" VIDEO_CARDS="intel -mach64 -mga -nouveau -r128 -radeon -savage -sis -tdfx -via -vmware" 0 kB

llvm and gallium are not used in this test, even though they are in my USE flags

fujitsu-laptop ~ # emerge --info
Portage 2.2.0_alpha45-r1 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r4, 2.6.39-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-Intel-R-_Core-TM-_i5_CPU_M_560_@_2.67GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 17 Jul 2011 05:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2
dev-util/cmake:           2.8.5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          9999
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo multilib java-overlay gnome local-overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -fomit-frame-pointer -fno-strict-aliasing -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -fomit-frame-pointer -fno-strict-aliasing -pipe"
DISTDIR="/home/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/home/packages/amd64"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/build"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/multilib /var/lib/layman/java-overlay /var/lib/layman/gnome /usr/local/portage"
SYNC="rsync://mirror.yandex.ru/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 amr applet archive artworkextra automount avahi bash-completion berkdb bidi bluetooth bzip2 cairo caps cdda cddb cdr cjk cli clucene consolekit cracklib crypt css cups cxx dbus dirac djvu doc dri dts dvb dvd dvdr eds emboss encode epiphany evo examples exif faac faad fastcgi ffmpeg firefox flac fontconfig fortran fuse gcj gdbm gdu gif gimp glibc-omitfp gnome gnome-keyring gnuplot gphoto2 gsm gstreamer gtk gtk3 iconv icq icu idn ieee1394 introspection ipod ipv6 jabber jack jack-midi jbig jingle jpeg jpeg2k ladspa lame latex lcms ldap libnotify libproxy libsamplerate mad mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz nautilus ncurses networkmanager nls nocd nptl nptlonly nsplugin ogg opengl openmp pam pango pch pcre pdf perl png policykit ppds pppd pulseaudio python qt3support raw rdesktop readline rtmp samba scanner schroedinger sdl session shorten smp soundex speex spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg sysfs systemd tcl tcpd theora threads tiff tk truetype udev unicode usb v4l2 videos vim-syntax vnc vorbis vpx wavpack webkit wifi winbind wmf x264 xattr xcb xcomposite xinerama xml xmp xorg xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="tda10046lifeview" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="devinput audio_alsa inputlirc" MULTILIB_ABIS="amd64 x86" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="gt68xx" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-08-01 22:49:24 UTC
Does the problem still exist with mesa-7.11?
Comment 2 Alexander E. Patrakov 2011-08-05 16:17:08 UTC
Sorry, I was busy with my preparations for the Desktop Summit. Will test new Mesa today or tomorrow.
Comment 3 Alexander E. Patrakov 2011-08-06 22:02:31 UTC
media-libs/mesa-7.11 is also affected. Should I try git bisect?
Comment 4 Matt Turner gentoo-dev 2012-08-22 17:27:55 UTC
Is this still a problem with mesa-8.1_rc1_pre20120724? If so, please open a bug upstream at http://bugs.freedesktop.org and put it in the URL field on this bug.
Comment 5 Alexander E. Patrakov 2012-08-23 14:06:01 UTC
I will not test mesa-8.1_rc1_pre20120724 because of other bugs. Besides, the laptop that exhibited the bug is now physically broken.
Comment 6 Alexander E. Patrakov 2012-08-23 14:35:02 UTC
Reproduced with media-libs/mesa-8.0.3 on another computer.
Comment 7 Matt Turner gentoo-dev 2012-08-23 15:45:00 UTC
(In reply to comment #6)
> Reproduced with media-libs/mesa-8.0.3 on another computer.

So, can you please file a bug upstream?
Comment 8 Alexander E. Patrakov 2012-08-23 16:11:58 UTC
Reported as https://bugs.freedesktop.org/show_bug.cgi?id=53972 , also tried (unsuccessfully) to create a reproducer using apitrace. It seems that the game genuinely tries to do different things with OpenGL given the two Mesa versions - so it may well be a bug in the game exposed e.g. by new OpenGL extensions.

I don't mind if you close it as INVALID here without investigation.
Comment 9 Matt Turner gentoo-dev 2012-08-23 16:40:08 UTC
(In reply to comment #8)
> Reported as https://bugs.freedesktop.org/show_bug.cgi?id=53972 , also tried
> (unsuccessfully) to create a reproducer using apitrace. It seems that the
> game genuinely tries to do different things with OpenGL given the two Mesa
> versions - so it may well be a bug in the game exposed e.g. by new OpenGL
> extensions.
> 
> I don't mind if you close it as INVALID here without investigation.

Thank you so much. And I don't mind keeping it open, I just want to make sure that people who can fix it will see it.
Comment 10 Alexander E. Patrakov 2012-09-30 14:25:28 UTC
As of media-libs/mesa-9_pre20120831-r1, the bug no longer exists.