Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234214 - games-rpg/nwmovies-0.2 with games-rpg/nwn-1.69 results in screen corruption when movies are playing
Summary: games-rpg/nwmovies-0.2 with games-rpg/nwn-1.69 results in screen corruption w...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Denis Dupeyron (RETIRED)
Depends on:
Reported: 2008-08-07 23:06 UTC by Stephen E. Baker
Modified: 2009-08-10 16:42 UTC (History)
1 user (show)

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

nwmovies log (nwmovies.log,4.21 KB, text/plain)
2008-08-08 22:17 UTC, Stephen E. Baker

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen E. Baker 2008-08-07 23:06:40 UTC
During in game movies in nwn, excluding the Atari splash screen, my screen is filled with a mix of diagonal black blocky lines and various colors from the playing movie.  The movies run fine when played in BinkPlayer outside of nwn, and with nwn-1.68 and nwmovies-0.1 the videos ran fine.  (nwn-1.69 and nwmovies-0.1 results in a black screen for every movie.)

Which actual version does 0.2 corresponds to: the latest v3, or v4-rc1.

Reproducible: Always

I have an ATI Radeon x1400 and I'm using the latest (8.501) version of the fglrx/Catalyst drivers.
Comment 1 Denis Dupeyron (RETIRED) gentoo-dev 2008-08-08 07:18:45 UTC
(In reply to comment #0)
> Which actual version does 0.2 corresponds to: the latest v3, or v4-rc1.

It's right there, in the ebuild:
And we're using their binaries, not ours.

> I have an ATI Radeon x1400 and I'm using the latest (8.501) version of the
> fglrx/Catalyst drivers.

From the "Enter a bug" page:
"Add any additional information you feel may be relevant to this bug, such as what other programs you had running, and/or information about your computer's configuration. Any information longer than a few lines, such as a stack trace, should be added using the "Create a new Attachment" link on the bug, after it is filed.
Please paste all information from 'emerge --info' in this section!"

Please also attach the nwmovies.log file.

Is it only the Atari splash screen that works or do other pre-game movies work too ? Try using another version of the ATI driver. Try using the open source drivers to check if it's an issue with the closed-source drivers. I only have an intel integrated video card, so I can't help you more with this.

You may want to try and recompile the binaries yourself and see if that changes anything. Instructions are in the package tarball.

Comment 2 Stephen E. Baker 2008-08-08 12:18:33 UTC
I'm at work right now so I'll post those things when I get home, but to clarify it is only the Atari splash logo that works, all other intro movies exhibit the corruption I described.
Comment 3 Stephen E. Baker 2008-08-08 22:14:37 UTC
Portage (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 i686)
System uname: 2.6.25-gentoo-r6 i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Timestamp of tree: Fri, 08 Aug 2008 00:33:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r14, 2.5.2-r6
dev-util/ccache:     2.4-r7
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
CFLAGS="-O2 -march=pentium-m -msse3 -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -msse3 -pipe"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac acl acpi alsa amarok apache2 bash-completion berkdb bittorrent bzip2 cairo cdda cddb cdr cli cracklib crypt cscope cups curl dbus dio dri dvd dvdr dvdread emacs encode fam ffmpeg firefox fortran gdbm gif gpm gtk hal iconv icq imagemagick ipod ipv6 isdnlog java java5 javascript joystick jpeg jpeg2k kde libnotify libwww midi mikmod mmx mmxext mng mozdevelop mp3 mpeg mplayer msn mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs offensive ogg opengl openmp pam pcmcia pcre pdf perl png posix postgres ppds pppd python qt3 qt4 quicktime readline reflection samda sdl session spell spl sse sse2 ssl subversion svg sysfs tcpd tetex threads truetype unicode usb videos vim-syntax vorbis wifi win32codecs wma wxwindows x86 xine xml xorg xosd xv xvid zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptics keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa"
Comment 4 Stephen E. Baker 2008-08-08 22:17:35 UTC
Created attachment 162545 [details]
nwmovies log

As requested.  I don't see anything unusual in it.
Comment 5 Denis Dupeyron (RETIRED) gentoo-dev 2008-08-08 22:41:18 UTC
(In reply to comment #4)
> As requested.  I don't see anything unusual in it.

Indeed. The only thing could be that -msse3 in your CFLAGS but I doubt it's the issue. Although you'll only know when you'll have rebuilt your system without it, which I highly recommend for the sanity of your system anyway. Replace it with USE=ssse3 (no typo, there's 3 "s"). While we're at it your CPU would certainly be more pleased with prescott instead of pentium-m, but this is for sure not the reason for your bug.

What's left... Well, your video card. So you know what to do here to try and identify the issue. The last thing would be recompiling nwmovies as explained in the tarball, but I'd be surprised if that changed anything. If nothing works I'm afraid you'd have to report that upstream. David is usually quite helpful and knows a lot more than me about all this.

Comment 6 Stephen E. Baker 2008-08-09 00:25:19 UTC
Building nwmovies myself doesn't result in any improvement.  At the moment I don't have time to build an old kernel and an old version of ati-drivers, but when I do I'll post the results here, assuming the bug isn't corrected upstream before then.
Comment 7 Stephen E. Baker 2008-08-09 03:38:59 UTC
I emerged gentoo-sources 2.6.26 and switched to the xf86-video-ati radeon drivers.  This fixed nwmovies.  Unfortunately the drivers are still quite experimental for my card and I can't play the game with them, but it does isolate the problem.
Comment 8 Denis Dupeyron (RETIRED) gentoo-dev 2008-08-09 14:06:54 UTC
(In reply to comment #7)
> I emerged gentoo-sources 2.6.26 and switched to the xf86-video-ati radeon
> drivers.  This fixed nwmovies.  Unfortunately the drivers are still quite
> experimental for my card and I can't play the game with them, but it does
> isolate the problem.

So it's confirmed then. Unfortunately I don't see ati fixing a bug with a hack such as nwmovies. Let's hope it happens someday while fixing something else.

In the meantime here's what you could do:

1- Report it to David and debug it with his help. He may be able to fix it in nwmovies or find a workaround.

2- Try the radeonhd driver [1] which I think works for your card.

3- If 2 above works and you want something faster you may want to checkout the CS branch of radeonhd [2] and build it yourself. It's supposed to be easy to install [3].

Let's keep this open for future reference. Please try and keep us informed of your progress if any.


[1] emerge x11-drivers/xf86-video-radeonhd


Comment 9 Stephen E. Baker 2008-08-16 14:22:39 UTC
I've managed to narrow the bug down somewhat more.  When using the fglrx 8.501 drivers if I 'eselect opengl set xorg-x11' the problem goes away, and if I 'eselect opengl set ati' the problem comes back.  So it has something to do with ati's opengl libraries.
Comment 10 Stephen E. Baker 2009-08-10 16:42:32 UTC
I'm going to resolve this as upstream since it's an fglrx issue.  (Works fine with free radeon drivers.)

ATI doesn't support my card anymore so they will never resolve the issue.