Graphics Error in Ubuntu 8.10
Fri, 2009-01-09 18:51
Hi.
I'm run Ubuntu 8.10 on my Dell Inspiron 1318 Notebook. Hedgewars starts fine, but whenever something explodes (bazooka, grenade, etc), most of the terrain disappears and the hedgehogs are all floating in space. The background is still there, just no terrain. \
Any ideas?
Try to read this thread. What kind of graphic card do you have?
Come to the dark side, we have cookies... - V
Hedgewars script for ubuntu is here...but maybe I have to update it first
Screenshots help.
It's an integrated Intel video card.
Works in 0.9.8!
Good news!
Are you sure eigenadam?Because I always thought that this bugs are the same, so if you solved it there must be something different. Have you ever modified Xorg.conf?
Come to the dark side, we have cookies... - V
Hedgewars script for ubuntu is here...but maybe I have to update it first
Not sure, no. In fact it's back. If I delete ./.hedgewars from my home directory, it works for a while. Then back to the same error. I have not edited xorg or anything.
Ok. Anyway I notified the bug to launchpad. I hope they'll solve it soon.
Come to the dark side, we have cookies... - V
Hedgewars script for ubuntu is here...but maybe I have to update it first
Come to the dark side, we have cookies... - V
Hedgewars script for ubuntu is here...but maybe I have to update it first
I don't think the problem is with the video driver because the same happens with a S3 card. I guess the problem is an incompatibility with mesa (the OpenGL implementation).
There is a workaround. It looks like the problem is in the selective redrawing of the map, in uLand.pas :
| procedure UpdateLandTexture(Y, Height: LongInt);
…
| begin
| glBindTexture(GL_TEXTURE_2D, LandTexture^.id);
| glTexSubImage2D(GL_TEXTURE_2D, 0, 0, Y, 2048, Height, GL_RGBA, GL_UNSIGNED_BYTE, @LandPixels[Y, 0]);
| end
if I hack those lines to make them redraw the whole map every time (by forcing Y=0 and Height=1023), the problem no longer occurs. Maybe it's a bug in the game triggered by the OpenGL implementation ?
What makes me think so is that Mesa is likely to be more used and more tested than hedgewars (Sorry guys :-P, but your game is just great that's wy we're trying to make it works)
Oh fu**
Sorry for double posting that "news"
http://hedgewars.org/node/754
Press any key to continue, or any other key to cancel.
UnCORr, will this hack be added to the new version, or not?
Maybe it's better make this topic sticky
Come to the dark side, we have cookies... - V
Hedgewars script for ubuntu is here...but maybe I have to update it first
This hack will greatly reduce performance. Even on my Core Quad GF6600 it gets about 0.5 sec to update full map texture, and imagine now this action will be performed on each explosion of ballgun or to draw holes by napalm
Seems I was right in the other thread; best of luck fixing this...
I'm getting the same problem. I'm using Ubuntu 8.10, Hedgewars 0.9.9, and I also have Intel Integrated video on my HP Pavilion dv6000 laptop. Whether it is a OpenGL, Ubuntu, or Hedgewars bug, I hope they fix it before 1.0.
That's strange. On my computer it's still fluid, except for the napalm effect. But I totally agree that it is a ugly hack, and I was providing it as a "proof of concept" not as a solution to be included in the final code.
I wish I had the time to investigate what's happening :-/ I will try to look at the textures from an OpenGL debugger.
Apropos of textures, can’t the texture size be the culprit? Maybe using smaller tiles can help the intel and s3 boards.
Dunno, I’m nowhere professional in this matter.
I'm getting a different problem in Ubuntu on a Dell Inspiron laptop.
Those green things all over the screen the rain, so they fall pretty quickly.
Also, the borders on menu items are kind of messed up
I do believe that's from the drivers. Since I have got such crap a couple of years ago on my old PC. After update of the drivers it got fixed.
PS: Suggestion - make an option to decrease details in the game like removing some effects and such thingies.
HTML = How To Meet the Ladies
Here is my Unofficial Manual for HW. Hope you like it. Still working on it. Don't worry. Will get it finished...Sometime in the future.
I had that happen to me once when I had compositing enabled. Disabling it made the game display properly (although still sometimes doing the disappearing act)
It seems that in Ubuntu Jaunty the issue is not present anymore..
Come to the dark side, we have cookies... - V
Hedgewars script for ubuntu is here...but maybe I have to update it first
On my Ubuntu computer the only thing that shows is a black emptiness on the screen and the power meter for the weapons.
I am using Intel integrated POS.
Same bug as eigenadam on archlinux. Intel GMA 965GM laptop.
Updating the intel driver from 2.4.3 to 2.6.99.902 didn't changed anything.