Graphics Error in Ubuntu 8.10

24 replies [Last post]
eigenadam
User offline. Last seen 15 years 31 weeks ago. Offline
Joined: 2009-01-09
Posts: 6

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?

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 37 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

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 Smile

Josh
Josh's picture
User offline. Last seen 15 years 17 weeks ago. Offline
Joined: 2008-11-09
Posts: 430

Screenshots help. Wink Smiley

eigenadam
User offline. Last seen 15 years 31 weeks ago. Offline
Joined: 2009-01-09
Posts: 6

eigenadam
User offline. Last seen 15 years 31 weeks ago. Offline
Joined: 2009-01-09
Posts: 6

daimadoshi85 allegedly wrote:

Try to read this thread. What kind of graphic card do you have?

It's an integrated Intel video card.

eigenadam
User offline. Last seen 15 years 31 weeks ago. Offline
Joined: 2009-01-09
Posts: 6

Works in 0.9.8!

Josh
Josh's picture
User offline. Last seen 15 years 17 weeks ago. Offline
Joined: 2008-11-09
Posts: 430

Good news!

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 37 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

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 Smile

eigenadam
User offline. Last seen 15 years 31 weeks ago. Offline
Joined: 2009-01-09
Posts: 6

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.

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 37 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

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 Smile

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 37 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

daimadoshi85 allegedly wrote:
Ehi guys they answered me, you need to post this informations. If you can't post on launchpad, I'll do it for you!

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

unBrice
User offline. Last seen 15 years 42 weeks ago. Offline
Joined: 2009-01-24
Posts: 4

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)

szczur
szczur's picture
User offline. Last seen 3 years 5 weeks ago. Offline
Joined: 2008-06-13
Posts: 182

Oh fu**
Sorry for double posting that "news"

http://hedgewars.org/node/754

Press any key to continue, or any other key to cancel.

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 37 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

UnCORr, will this hack be added to the new version, or not?
Maybe it's better make this topic sticky Smile

Come to the dark side, we have cookies... - V

Hedgewars script for ubuntu is here...but maybe I have to update it first Smile

unC0Rr
unC0Rr's picture
User offline. Last seen 11 weeks 2 days ago. Offline
Joined: 2006-11-27
Posts: 576

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

Josh
Josh's picture
User offline. Last seen 15 years 17 weeks ago. Offline
Joined: 2008-11-09
Posts: 430

Seems I was right in the other thread; best of luck fixing this...

RonTheCon
User offline. Last seen 15 years 42 weeks ago. Offline
Joined: 2009-01-29
Posts: 1

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.

unBrice
User offline. Last seen 15 years 42 weeks ago. Offline
Joined: 2009-01-24
Posts: 4

Quote:
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

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.

ralesk
User offline. Last seen 15 years 40 weeks ago. Offline
Joined: 2009-01-24
Posts: 4

unBrice allegedly wrote:

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.

Jagis
Jagis's picture
User offline. Last seen 15 years 37 weeks ago. Offline
Joined: 2009-02-06
Posts: 16

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

rbaleksandar
rbaleksandar's picture
User offline. Last seen 10 years 11 weeks ago. Offline
Joined: 2009-01-09
Posts: 685

Shocking Shocking Shocking 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. Wink Smiley Still working on it. Don't worry. Will get it finished...Sometime in the future. Big Grin

ralesk
User offline. Last seen 15 years 40 weeks ago. Offline
Joined: 2009-01-24
Posts: 4

Jagis allegedly wrote:

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 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)

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 37 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

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 Smile

alex12
User offline. Last seen 6 years 24 weeks ago. Offline
Joined: 2009-02-24
Posts: 115

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.Aghh

Wiz
User offline. Last seen 13 years 18 weeks ago. Offline
Joined: 2009-03-24
Posts: 1

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.

User login

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