Visual problems in Hedgewars (0.9.13, 0.9.14, 0.9.14.1)

21 replies [Last post]
phyro
User offline. Last seen 11 years 40 weeks ago. Offline
Joined: 2009-10-29
Posts: 28

I have a graphic issue with Hedgewars since 0.9.13 version:

http://img577.imageshack.us/img577/8631/hw2010111420102612980.png

It happens in a random way, but since Hedgewars 0.9.14 and 0.9.14.1, in TrophyRace always happens.
OS is Gentoo Linux 64 bits. Running KDE 4.5.3 and Qt 4.7.1.

VGA: 00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)

Glxinfo: http://pastebin.com/yhGphuJ8
xorg.conf: http://pastebin.com/RL8KWXen

Previously, I had this issue: http://hedgewars.org/node/1882
I don't know if is related.

How can I fix this? Thanks.

Born2Crawl
Born2Crawl's picture
User offline. Last seen 12 years 31 weeks ago. Offline
Joined: 2009-04-16
Posts: 29

That's exactly what I have on Ubuntu 10.10 with Intel graphics card. Here are the screenshots:

nemo
nemo's picture
User offline. Last seen 2 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Looks to me like corrupted video memory.

Try reverting back to 0.9.12 and tell us if the problem still occurs. I suspect graphics card driver updates, since there were no significant changes in 0.9.13 apart from removing some redundant switching in opengl.

I suppose if a graphics card driver is badly written, that might have an impact, even though it makes no sense...

So. Yeah. Would be good to know. That's my only theory right now though.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Ashiren
Ashiren's picture
User offline. Last seen 10 years 34 weeks ago. Offline
Joined: 2008-11-25
Posts: 9

Is it like the screen is "blinking" (objects appear and disappear in factors of seconds)? If yes, therefore I'm having the problem as well. I'm on gentoo AMD64, I got radeon 4850 with open ati drivers.

Born2Crawl
Born2Crawl's picture
User offline. Last seen 12 years 31 weeks ago. Offline
Joined: 2009-04-16
Posts: 29

No, the screen doesn't blink. To be more precise, I saw it blinking, but on a different machine, with ATI Radeon Xpress 200M, but it was because of KMS setting for radeon driver. I fixed it as follows:

# echo "options radeon modeset=0" > /etc/modprobe.d/radeon.conf

In this case, the picture is pretty stable Smile Nemo, I'll try 0.9.12 and tell you about the results.

phyro
User offline. Last seen 11 years 40 weeks ago. Offline
Joined: 2009-10-29
Posts: 28

Ashiren allegedly wrote:

Is it like the screen is "blinking" (objects appear and disappear in factors of seconds)? If yes, therefore I'm having the problem as well. I'm on gentoo AMD64, I got radeon 4850 with open ati drivers.

In my case, sometimes the screen "blinks" (showing the other screen of hedgewars when the game is running), but is random that blink.

I have the following issue: http://www.hedgewars.org/node/1991 when I compile Hedgewars 0.9.12, but I have resolved with the solution of that thread.

So, I tested Hedgewars 0.9.12 and I don't have that issue. But, I don't know if it's working fine or doesn't happen anything because I tested it two times only. And, as Hedgewars 0.9.12 doesn't have TrophyRace (and in this gamemode always have that issue) i don't know if it's working fine.

nemo
nemo's picture
User offline. Last seen 2 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

phyro, how about the ropes map in 0.9.12? does it have the problem?

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

phyro
User offline. Last seen 11 years 40 weeks ago. Offline
Joined: 2009-10-29
Posts: 28

nemo allegedly wrote:

phyro, how about the ropes map in 0.9.12? does it have the problem?

No.

PD: I miss 003_RCPlane practise.

nemo
nemo's picture
User offline. Last seen 2 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

I made a patch against 0.9.14.1 for RedW that disables a basic optimisation that went in between 0.9.13 and 0.9.14 -
basically it just skipped a bunch of repeated resets of 2D state.

Removing this should slow down any sane card without any other result, but he says it helped his.

So. People here might want to give it a shot

http://m8y.org/tmp/deoptimise.diff

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Born2Crawl
Born2Crawl's picture
User offline. Last seen 12 years 31 weeks ago. Offline
Joined: 2009-04-16
Posts: 29

I've just tried 0.9.12 from getdeb - and the result is the same, see screenshot:

So I think it's a generic some problem with graphics/textures on Intel video card.
lspci gives me this:

# lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
01:04.0 Mass storage controller: Integrated Technology Express, Inc. ITE 8211F Single Channel UDMA 133 (rev 11)
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller

Born2Crawl
Born2Crawl's picture
User offline. Last seen 12 years 31 weeks ago. Offline
Joined: 2009-04-16
Posts: 29

It seems that number of hedgehogs matters. The more of them in game, the worse the textures are.
Sometimes decreasing "Quality" slider helps, but not always Sad Smiley

phyro
User offline. Last seen 11 years 40 weeks ago. Offline
Joined: 2009-10-29
Posts: 28

nemo allegedly wrote:

I made a patch against 0.9.14.1 for RedW that disables a basic optimisation that went in between 0.9.13 and 0.9.14 -
basically it just skipped a bunch of repeated resets of 2D state.

Removing this should slow down any sane card without any other result, but he says it helped his.

So. People here might want to give it a shot

http://m8y.org/tmp/deoptimise.diff

I saved the file in hedgewars-0.9.14.1/ . Then, I do "make clean", and "patch -p1 < deoptimise.diff" in the folder hedgewars-0.9.14.1/ . Then, I compile hedgewars-0.9.14.1, run TrophyRace, and I still have that issue.

nemo
nemo's picture
User offline. Last seen 2 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Yeah, I wasn't expecting it to help you, since you had problems in 0.9.13 too.

We could try digging through the revision history between 0.9.12 and 0.9.13 I guess for opengl changes, or you could try bisecting.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Born2Crawl
Born2Crawl's picture
User offline. Last seen 12 years 31 weeks ago. Offline
Joined: 2009-04-16
Posts: 29

Nemo, it won't help. I've tried 0.9.12 and the problem it still there. It's a problem with video card/drivers in linux, I believe.

nemo
nemo's picture
User offline. Last seen 2 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

BTW, if anyone is using radeon instead of fglrx out of some basic sense of principles and not due to ATI desupporting old hardware, you might want to bend your convictions a bit. Smile

Or I guess change your card...

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

rockachu2
rockachu2's picture
User offline. Last seen 12 years 20 weeks ago. Offline
Joined: 2010-07-08
Posts: 85

definitely change your card...

the newer cards have much less bugs.

My favorite sport: nerd sniping.

Born2Crawl
Born2Crawl's picture
User offline. Last seen 12 years 31 weeks ago. Offline
Joined: 2009-04-16
Posts: 29

Guys, guys, both me and topicstarter have problems with Intel cards Smile

phyro
User offline. Last seen 11 years 40 weeks ago. Offline
Joined: 2009-10-29
Posts: 28

In Windows 7 (64 bits) doesn't have that issue. Furthermore, in Kubuntu 10.10 (64 bits) I have the same problem (like into Gentoo installation). And always happen in maze maps (like TrophyRace) and in a randomize way in other maps.

nemo
nemo's picture
User offline. Last seen 2 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Probably happens on large maps.
And, yes, would not surprise me the driver is at fault.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

punkmexic
User offline. Last seen 13 years 16 weeks ago. Offline
Joined: 2010-12-22
Posts: 4

I'm using ubuntu 10.10 and i'm having same problem, also sometimes others characters nicknames are messed using my nickname or same color of my team.

I hate that intel is not full compatible Sad Smiley i hope theres a fix for this soon..
i have been thinking...(that maybe if i change the language from spanish to english may solve the problem) id try that:P

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
06:06.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
06:09.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:09.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:09.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:09.4 SD Host controller: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller

nemo
nemo's picture
User offline. Last seen 2 weeks 3 days ago. Offline
Joined: 2009-01-28
Posts: 1861

punkmexic, one other thought is that possibly you should consider filing a bug on bugs.freedesktop.org against the mesa intel driver.

Obviously if you can help us with that regression range, that would still help a lot.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

rockachu2
rockachu2's picture
User offline. Last seen 12 years 20 weeks ago. Offline
Joined: 2010-07-08
Posts: 85

This doesn't occur with an ati radeon hd 5870 on kubuntu 10.10 x64

My favorite sport: nerd sniping.

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]