PDA

View Full Version : Catalyst + Shader 4.0 + Windowed Mode = Screen Corruption


Sodamngood
04-15-2010, 01:19 PM
Hi guys,

I'm using a gentoo 64 bits system and everytime I try to play regnum in windowed mode using the shader model 4.0 I get screen corruption... This kind of error doesn't happen playing in fullscreen and selecting shader model 3 and below... My Graphic Card is a HD 5770 Radeon ati, using driver catalyst 10.3...

Is this happening only with me!?

G-rom
04-18-2010, 10:51 AM
look at my last post, I have the same problem since last update
http://www.regnumonline.com.ar/forum/showthread.php?t=59059&page=2

EDIT : issue solve, go take a look

Sodamngood
04-19-2010, 08:48 PM
I'm sorry but you didn't help much in the above thread...

Arafails
04-20-2010, 02:33 AM
Can you post a screenshot?

Xpander123
04-20-2010, 11:13 AM
i have same video card but 10.04 pre-release driver and i havent seen any corruption.

can u post the screenshot maybe, and your distro and other usefull info maybe.

Sodamngood
04-20-2010, 01:11 PM
Here they are:

Character choosing: http://img689.imageshack.us/img689/7039/screencorruption.jpg

Loading world (no corruption at all): http://img62.imageshack.us/img62/9590/screencorruption1.jpg

While "Playing": http://img683.imageshack.us/img683/3940/screencorruption2.jpg

uname -a:

Linux localhost 2.6.33-gentoo #1 SMP PREEMPT Thu Mar 11 10:42:26 UTC 2010 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux

emerge --info:


Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo x86_64)
================================================== ===============
System uname: Linux-2.6.33-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.1
Timestamp of tree: Mon, 19 Apr 2010 20:45:01 +0000
app-shells/bash: 4.1_p2-r1
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.5-r1, 3.1.2-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake: 2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.1-r1
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.65
sys-devel/automake: 1.8.5-r4, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1
sys-devel/gcc: 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 RTCW-ETEULA QUAKE4"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.las.ic.unicamp.br/pub/gentoo ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US pt_BR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 ao apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus directfb dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran gdbm gif gpm gtk hal iconv ipv6 jack java java6 javascript jpeg ladspa lcms ldap libnotify lua mad mikmod mmx mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf php png ppds pppd python readline reflection ruby sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis webkit x264 xcb xfce xml xorg xulrunner xv xvid xvmc 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US pt_BR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga fglrx"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Game.cfg:


[server]
sv_game_server_host=91.123.197.138
sv_game_server_tcp_port=48000
[client]
cl_sdb_path=..
cl_mapobject_load_radius=2
cl_update_all_resources=0
cl_benchmark=0
cl_language=eng
cl_referer=rgn
[resources]
res_database=test
[sound]
snd_sound_volume=128
snd_music_volume=64
[video_graphics]
vg_screen_width=1278
vg_screen_height=1024
vg_screen_bpp=24
vg_detail_level=1
vg_cluster_object_factor=50
vg_water_lod=1
vg_enable_hw_skinning=1
vg_terrain_texture_quality=1
vg_cluster_object_enabled=0
vg_camera_objects_far_plane=200
vg_camera_far_plane=3000
vg_enable_local_lighting=1
vg_enable_shadowmaps=1
vg_shadow_distance=2
vg_shadow_quality=2
vg_render_mode=bloom_cc
vg_post_process_quality=1
vg_anisotropic_filter=1
vg_antialiasing=1
vg_texture_lod=0
vg_enable_particle_fx=1
vg_enable_weather_fx=1
vg_fullscreen_mode=0
vg_renderizer=opengl
vg_force_safe_mode=0
vg_max_current_shader_model=4
vg_instancing_mode=0
vg_d3d9_force_multithreaded_device=0
vg_d3d9_force_disable_driver_management=0


And I'm using, as said in the first post, one HD 5770 ati with the 10.3 catalyst drivers... I hope we can find what's going on... thanks in advance

NotScias
04-20-2010, 01:21 PM
According to the shadows below xfce panel, the windows and the dock, you have Compositing enabled. (Compiz ?)
Disable Compositing before playing, Compositing + 3D sucks a lot with ATI drivers on linux (well, if it still doesn't work, at least you will get a big FPS boost by doing this...)

I always had problem running 3D applications with Compositing enabled, big FPS loss and/or corruption...

Sodamngood
04-20-2010, 01:28 PM
Turning compiz off seems to solve the problem but the weirder is that if after the loading the world, if I turn on compiz, the black screen doesn't happen anymore... I think my problem is solved, maybe with the new drivers the composition + 3D problem should be fixed... Thanks to all the ones who tryed (and therefore achieved) to help me!!

G-rom
04-20-2010, 05:05 PM
I had same with old driver, and big resolution (1920*1200). (plus the other problem with update of the game)

1600*1400 solved this, and yeah ATI + compiz is a bad combo. Memory is quickly full or disturb and it s better to turn it off sometimes.

Xpander123
04-21-2010, 09:41 AM
strange i have compiz on and works without probs.

i have set under compizconfig settings ->general -> display settings : same refresh rate(autodetect unmarked) as from under catalyst

try it also maybe that will help.

and yes im playing also windowed