Author Topic: Linux, Intel, PS problem?  (Read 3280 times)

Stuffrish

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Linux, Intel, PS problem?
« on: August 15, 2009, 12:37:09 am »
Ok. When I start creating my character it's all good cept I can't see the 3D model of the race.
I cba caring at that time and kept going. Everything seemed alright and i "uploaded" my character.

Then when I try to start the game the window freeze at some parts.. The UI is visible but I can't see my character or any NPC's.
I read something about a guy who had the same problem in another topic, but I think he managed to fix it somehow.

I'm a linux-newbie and a PS newbie. So please help  ???
Also, I'm running on a laptop, which makes hardware identifying kinda hard. Feel free to give me terminalcommands and such which helps me figuring out my components  X-/


--Edit--


I printed it so you guys would get a clearer picture of it.
I dragged some UI-stuffs so you can see how I meant by freezing.

(The picture you see behind the UI is the loading picture.)
--Edit--





--Edit2--
I installed Planeshift using wine. I got a R6034 error, but followed an step-by-step tutorial by a guy on this forum;


Hi,
as i had a lot of these random client crashes since 0.4.03, i tried to run the windows version of planeshift using wine on top of linux. and it worked! Here are the step by step instructions on how to install it:

If you already have wine installed, you can skip the steps 1-3.

1. Install the latest stable version of WINE using your distro's package manager
2. Install the package cabextract
3. Run WINE's configuration utility 'winecfg', it will create the directory ~/.wine/
4. Go into this directory and execute 'wget http://www.kegel.com/wine/winetricks'
5. Run the command 'sh winetricks vcrun6 vcrun2005 corefonts'. I'm not sure if you need a license of Windows to do this legally! I'm neither sure what exactly the winetricks script does; i didn't write it :P
6. Download and install the Windows version of PlaneShift into wine. To run the installer type 'wine name_of_the_installer.exe' in the directory where you downloaded it.
7. Run your new PlaneShift client: Go to '~./wine/drive_c/Programs/PlaneShift' (or however these directories are called on your PC) and execute 'wine psclient.exe'

You can even symlink your ~/.PlaneShift directory to the Windows version's PlaneShift directory to use the same settings and logs with both clients.

The WINE client runs stable for me, Thob from my guild uses it too. However, we both have a completely transparent GUI under wine. That means, you can't see any window backgrounds and buttons without text. But it doesn't crash ;)

I don't know if that works for everyone, try it ON YOUR OWN RISK!



Firiban

Everything went smooth and shit. But when I finally got it up and running it had the same non-refreshing error as the non-wine verision.
This is getting quite irritating.
« Last Edit: August 16, 2009, 02:31:20 am by Stuffrish »

Kezar

  • Hydlaa Resident
  • *
  • Posts: 56
    • View Profile
Re: Linux, Intel, PS problem?
« Reply #1 on: August 15, 2009, 01:42:35 am »
Can you please write down what kind of software and hardware you have?

Besuch die Debian Seitr" width="375" height="60

Stuffrish

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: Linux, Intel, PS problem?
« Reply #2 on: August 15, 2009, 02:14:26 am »
Like I said. I'm running on a laptop, which uses alot of integrated hardware.

I'm running on Ubuntu 9.04.

Timmothy Perriwinkle

  • Hydlaa Citizen
  • *
  • Posts: 351
  • I see u lookin' at mah Periwinklez.
    • View Profile
    • The Depot that's also a Warehouse
Re: Linux, Intel, PS problem?
« Reply #3 on: August 15, 2009, 02:32:25 am »
Had this issue, resolved it by upgrading everything related to graphics to their git versions. However, with ubuntu, I'm not sure how (or if it's possible) to do it with apt (I use arch, and therefore pacman). You'd have to ask someone more knowledgeable on Ubuntu for help with that.

When asked for hardware, chipset would have been nice, but assuming you're using the 945GM like me (or card name GMA950), then the issue is resolvable by upgrading mesa, intel-dri, xf86-video-intel, dri2proto, and the various dependencies for the above all to their git versions. You don't need the git version of xorg, but you'll need the newest released one (which I don't believe is the one Ubuntu ships with).

Finally, there was still problem running my compiled client after all of that, so I had to install in wine, and it worked fine there.

Enjoy ;)


[12:05am] XilliX: I <3 you that much

Stuffrish

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: Linux, Intel, PS problem?
« Reply #4 on: August 15, 2009, 02:38:15 am »
Had this issue, resolved it by upgrading everything related to graphics to their git versions. However, with ubuntu, I'm not sure how (or if it's possible) to do it with apt (I use arch, and therefore pacman). You'd have to ask someone more knowledgeable on Ubuntu for help with that.

When asked for hardware, chipset would have been nice, but assuming you're using the 945GM like me (or card name GMA950), then the issue is resolvable by upgrading mesa, intel-dri, xf86-video-intel, dri2proto, and the various dependencies for the above all to their git versions. You don't need the git version of xorg, but you'll need the newest released one (which I don't believe is the one Ubuntu ships with).

Finally, there was still problem running my compiled client after all of that, so I had to install in wine, and it worked fine there.

Enjoy ;)

So.. 'TL;DR' try again with wine or search for a command which gives me intel about my chipset and post it here?

Timmothy Perriwinkle

  • Hydlaa Citizen
  • *
  • Posts: 351
  • I see u lookin' at mah Periwinklez.
    • View Profile
    • The Depot that's also a Warehouse
Re: Linux, Intel, PS problem?
« Reply #5 on: August 15, 2009, 02:48:52 am »
No. tl;dr, update everything related to graphics to git.

intel-dri
mesa
dri2proto
xf86-video-intel

and all their dependencies.

EDIT: Oh and you can do an lspci -tv
« Last Edit: August 15, 2009, 02:50:55 am by Timmothy Perriwinkle »


[12:05am] XilliX: I <3 you that much

Stuffrish

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: Linux, Intel, PS problem?
« Reply #6 on: August 15, 2009, 02:59:50 am »
Code: [Select]
stuffe@stuffe-laptop:~$ lspci -tv
-[0000:00]-+-00.0  Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub
           +-02.0  Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller
           +-02.1  Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller
           +-1a.0  Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4
           +-1a.1  Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5
           +-1a.7  Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2
           +-1b.0  Intel Corporation 82801H (ICH8 Family) HD Audio Controller
           +-1c.0-[0000:02]----00.0  Atheros Communications Inc. AR5008 Wireless Network Adapter
           +-1c.1-[0000:03]--
           +-1c.2-[0000:04]--
           +-1c.3-[0000:05]----00.0  Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express
           +-1d.0  Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1
           +-1d.1  Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2
           +-1d.2  Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3
           +-1d.7  Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1
           +-1e.0-[0000:06-0a]--+-06.0  Texas Instruments PCIxx12 Cardbus Controller
           |                    +-06.1  Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
           |                    +-06.2  Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
           |                    \-06.3  Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
           +-1f.0  Intel Corporation 82801HEM (ICH8M) LPC Interface Controller
           +-1f.1  Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller
           +-1f.2  Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller
           \-1f.3  Intel Corporation 82801H (ICH8 Family) SMBus Controller

Can you list the packages that's related to graphics?

Timmothy Perriwinkle

  • Hydlaa Citizen
  • *
  • Posts: 351
  • I see u lookin' at mah Periwinklez.
    • View Profile
    • The Depot that's also a Warehouse
Re: Linux, Intel, PS problem?
« Reply #7 on: August 15, 2009, 03:07:05 am »

intel-dri
mesa
dri2proto
xf86-video-intel

and all their dependencies.

Also, it's looking like you have the 965GM, which IIRC is the X3100 card.

Shouldn't make a difference here, but for future reference.


[12:05am] XilliX: I <3 you that much

Stuffrish

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: Linux, Intel, PS problem?
« Reply #8 on: August 15, 2009, 03:12:55 am »
Using the "Synaptic Package Manager" I only found "x11proto-dri2-dev" which sounded like any of those you listed.
Sorry if I'm doin something wrong. I'm really new to linux.

Stuffrish

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: Linux, Intel, PS problem?
« Reply #9 on: August 15, 2009, 03:33:46 am »
I'm going to bed now. Comming back tomorrow.

Vamese

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
Re: Linux, Intel, PS problem?
« Reply #10 on: August 15, 2009, 06:11:11 am »
@Stuffrish: I've experienced that loading screen all too many times. It seems to depend on the distro for me though. In some cases my problems are similar to yours, in some the client runs so slow I could order a pizza and watch a movie before my character responds to a keystroke. The best case scenario for me was sticking to the map and having to jump constantly in order to move. Currently I'm running Linux Mint 7 and at the character select screen I just see a big black space where the character should be: I load the character and the client crashes the second that it 'should' start. It is most definitely an Intel issue but the simple fact that different distros produce different outcomes leads me to believe that if I can find a fix and look into it then I can use it to diagnose the overall problem [ie Mesa 7.4]. I have been trying for a fix [or at least a workaround] for a while now so when I finally come up with something I repost. In the meantime you may want to look into mesa 7.3 as it seems the problem came up with the release of 7.4 [or so I've heard].

I am also aware that running in WINE is an option... It's just not an option for me as that doesn't fix a problem, it simply ignores it... That and even running in WINE makes no difference for me and my crummy intel chipset :(

Timmothy Perriwinkle

  • Hydlaa Citizen
  • *
  • Posts: 351
  • I see u lookin' at mah Periwinklez.
    • View Profile
    • The Depot that's also a Warehouse
Re: Linux, Intel, PS problem?
« Reply #11 on: August 15, 2009, 08:16:54 am »
@Vamese: it's got nothing to do with the distrobution itself, but rather, what versions of the intel drivers ship with said distros.

The 'slowness' is caused by using the (really) old xf86-video-i810 driver, but using the 'intel' module from it, if you're using the very old driver (which you shouldn't be) one could simply change 'intel' to i810 in xorg.conf.

I have also tried all version of mesa from 7.0+, and the only one that works is mesa master (the git version), in conjuction with the git version of everything else. Despite what that flyspray may say.

Stickyness, had nothing to do with the distro, that was a problem related to the PS binary IIRC, and how the binary compiled with the wrong version of GCC. It can be fixed by compiling your own client or using wine.

The 'diagnosis' as it were, as I've already stated is upgrading to git versions of everything related to video. Take a look through the my threads posted in this section. You can see me progressing through the exact same issues, and guess what? I was just ingame on intel chipsets even worse than OP.

And @Stuffrish:

Those are the real package names that I listed. However ubuntu's repositories rename seemingly all packages to something completely different and retarded for no apparent reason. Apt usually weild better results for using real names, so if you want to try and install via commandline, you can try that.

Though above all, I would suggest you go into #ubuntu on freenode, or post on the ubuntu forums, and get the names for those packages in synaptic. You can also try googling for it. Unfortunately, I'm unable to help with anything Ubuntu-specific like synaptic, as I don't use Ubuntu.


[12:05am] XilliX: I <3 you that much

Stuffrish

  • Wayfarer
  • *
  • Posts: 8
    • View Profile
Re: Linux, Intel, PS problem?
« Reply #12 on: August 15, 2009, 02:31:10 pm »
Ah.. I get it now.
So I'll create a thread in an ubuntu forum and post the link here.
Let's hope that they'll fix it.

Edit:
http://ubuntuforums.org/showthread.php?t=1240884
Posted thread in ubuntuforums.org
« Last Edit: August 15, 2009, 02:42:45 pm by Stuffrish »

Vamese

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
Re: Linux, Intel, PS problem?
« Reply #13 on: August 16, 2009, 03:47:45 am »
 :oops:      @Timmothy: First of all, thank you. I finally get some useful feedback... I agree with every point you make [and some of them mainly because you better described what I was getting at]. The thing is though that, at least in my case, git=fail. I have a very old card [82845G/GL/GE/etc, etc, etc and upgrading to the latest available drivers under Linux and setting color depth to 24 results in an aweful screen flicker [while running client] and if set to color depth 16 I get the map stickage. I would like to apologize for my previous display of horrible skills at explaining a problem. My intention was to do so in layman terms but I probably caused more confusion by doing so. I realize that it is certainly not the fault of the distro run and not so much the client itself [for the most part]. I think it has more to do with the combination of a crummy card and available drivers on a per distro basis that results in problems running the client. Older clients ran fine on some distros while running on others was simply aweful for me. While 845G is fairly impossible to find a relevant thread for running the latest client release on, I'm pretty much in the dark and have no choice but to research, study, and experiment with all possibilities. I have tried the wine solution [which was pretty good if you can deal with no gui] but I quickly realized that even this would not get me far for as soon as I left hydlaa and entered a bigger map I couldn't move. I have considered compiling as I have read a few guides and it doesn't look complicated in the least. A question though - Is compiling a 'miracle cure'? I mean by compiling my own client, am I essentially custom building the client to meet my own specific needs? An answer to this would be greatly appreciated (although, I have my doubts one can't help but cross their fingers and hope). I refuse to return to windoze and GNU/Linux meets ALL of my needs other than running PS. Thanks in advance  :)

Timmothy Perriwinkle

  • Hydlaa Citizen
  • *
  • Posts: 351
  • I see u lookin' at mah Periwinklez.
    • View Profile
    • The Depot that's also a Warehouse
Re: Linux, Intel, PS problem?
« Reply #14 on: August 16, 2009, 07:20:38 am »
The thing is though that, at least in my case, git=fail. I have a very old card [82845G/GL/GE/etc, etc, etc and upgrading to the latest available drivers under Linux and setting color depth to 24 results in an aweful screen flicker [while running client] and if set to color depth 16 I get the map stickage.
Well firstly, yeah, with your old card it may be possible that the newest drivers destroyed compatibily, can't be sure because I'm running on a 945GM. Firstly, the screen flicker can be caused by compiz, it doesn't play so nice with opengl. Make sure you don't have compiz running when playing PS. Though, if that's not what's causing the problem then, meh.

But if everything works at 16 colour depth and you just get map stickyness then that is not a driver problem. The map stickyness was a client problem and can be fixed by either compiling your own client, or running via wine.

I have tried the wine solution [which was pretty good if you can deal with no gui] but I quickly realized that even this would not get me far for as soon as I left hydlaa and entered a bigger map I couldn't move.
I can't say I've ever heard of this issue (though someone most probably has before), as the client runs fine in wine for me, with GUI. The GUI problem is actually very much easy to fix, you just have to unzip the skins, then rename the folders to skinname.zip. Then GUIs will work

I have considered compiling as I have read a few guides and it doesn't look complicated in the least. A question though - Is compiling a 'miracle cure'? I mean by compiling my own client, am I essentially custom building the client to meet my own specific needs? An answer to this would be greatly appreciated (although, I have my doubts one can't help but cross their fingers and hope). I refuse to return to windoze and GNU/Linux meets ALL of my needs other than running PS. Thanks in advance  :)

No. It's not a 'miracle cure'. To be honest, my compiled client doesn't even work nearly as well as the one I'm running via wine. Wine yields no problems at all, actually, so I just use that.

A note about compiling from source, it isn't 'custom building to meet your specific needs' in the way that you mean it. All that compiling is, is taking the source code, and making your own binary from it, instead of downloading the binary that the team released. That's all. It's a more updated version of the code, though, because it's from the SVN.

Best of luck, in getting things working.
« Last Edit: August 16, 2009, 04:19:04 pm by Timmothy Perriwinkle »


[12:05am] XilliX: I <3 you that much