With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
If you have any trouble with SG, this is the place to ask.

Moderator: Pardner

Postby dowoshek » Tue Nov 24, 2009 11:23 am

Yes, sorry for misleading. Somehow I thought he has so.0 already in the system and so.1 is the problem :roll:

gunsmoker, here's the solution:
viewtopic.php?p=11520#11520

Next time use search option - it doesn't bite, you know :wink:
User avatar
dowoshek
Gunslinger
 
Posts: 134
Joined: Tue May 19, 2009 12:29 pm
Location: Poland



Postby gunsmoker » Wed Nov 25, 2009 7:48 am

Hello again,


I read through redwings posts and saw that he had luck with the new ubuntu 9.10. Since I was running 9.04 I decided to upgrade to 9.10 with a fresh install.

However, even with the new install it is the same thing, I did the installed libopenal1 and I also created the symlink. So I think you are right and I need the driver.

- what graphics card do you own?
In the booklet that came with my computer says
graphics: Mobile Intel GL40 Express Chipset
To my knowledge I have not added any drivers for graphics card.

This is the printout from the code you supplied me:


computer@computer:~$ lspci -v
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at 50000000 (64-bit, non-prefetchable) [size=4M]
Memory at 40000000 (64-bit, prefetchable) [size=256M]
I/O ports at 6110 [size=8]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, fast devsel, latency 0
Memory at 54500000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>

00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, medium devsel, latency 0, IRQ 20
I/O ports at 60e0 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at 60c0 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) (prog-if 20)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, medium devsel, latency 0, IRQ 21
Memory at 58705c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at 58700000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00005000-00005fff
Memory behind bridge: 57700000-586fffff
Prefetchable memory behind bridge: 0000000050400000-00000000513fffff
Capabilities: <access denied>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: 56600000-576fffff
Prefetchable memory behind bridge: 0000000051400000-00000000523fffff
Capabilities: <access denied>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: 00002000-00003fff
Memory behind bridge: 55600000-565fffff
Prefetchable memory behind bridge: 0000000052400000-00000000534fffff
Capabilities: <access denied>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
I/O behind bridge: 00001000-00001fff
Memory behind bridge: 54600000-555fffff
Prefetchable memory behind bridge: 0000000053500000-00000000544fffff
Capabilities: <access denied>
Kernel driver in use: pcieport-driver
Kernel modules: shpchp

00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at 60a0 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 6080 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, medium devsel, latency 0, IRQ 20
I/O ports at 6060 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 6040 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at 58705800 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93) (prog-if 01)
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=08, subordinate=08, sec-latency=32
Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel modules: iTCO_wdt

00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) (prog-if 01)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 28
I/O ports at 6108 [size=8]
I/O ports at 611c [size=4]
I/O ports at 6100 [size=8]
I/O ports at 6118 [size=4]
I/O ports at 6020 [size=32]
Memory at 58705000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
Subsystem: Gateway 2000 Device 016d
Flags: medium devsel, IRQ 11
Memory at 58706000 (64-bit, non-prefetchable) [size=256]
I/O ports at 6000 [size=32]
Kernel modules: i2c-i801

00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
Subsystem: Gateway 2000 Device 016d
Flags: fast devsel, IRQ 11
Memory at 58704000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

04:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
Subsystem: AMBIT Microsystem Corp. Device 0428
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at 56600000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath5k
Kernel modules: ath5k

05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
Subsystem: Gateway 2000 Device 016d
Flags: bus master, fast devsel, latency 0, IRQ 29
I/O ports at 2000 [size=256]
Memory at 52410000 (64-bit, prefetchable) [size=4K]
Memory at 52400000 (64-bit, prefetchable) [size=64K]
Expansion ROM at 52420000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169

computer@computer:~$ glxinfo | grep renderer
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20090712 2009Q2 RC3 x86/MMX/SSE2
computer@computer:~$
gunsmoker
Drifter
 
Posts: 21
Joined: Sat Nov 21, 2009 7:44 pm



Postby yap » Fri Nov 27, 2009 11:34 am

Sorry for not responding earlier. I haven't been noticed of your reponse, for whatever reason...

gunsmoker wrote:computer@computer:~$ glxinfo | grep renderer
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20090712 2009Q2 RC3 x86/MMX/SSE2
computer@computer:~$


At least it's clear now that the graphics driver is correctly installed and 3D acceleration is supported! 8)

If the error you get is the same as in your last post, I suggest you try the solution that worked for Redwing and start SG like this:

Code: Select all
./smokinguns.x86 +set r_gldriver /usr/lib/libGL.so.1


Since you're both using the same system, that should work! If it does not, provide the output of

Code: Select all
find /usr/lib*/ -name "*GL*"


Good luck :wink:
User avatar
yap
Pistolero
 
Posts: 35
Joined: Sat Jan 03, 2009 10:21 am
Location: Germany



Postby yap » Fri Nov 27, 2009 11:45 am

I've just read your other thread (it's confusing if you start 2 threads in parallel) and want to notice sth: the command provided above is for the "normal" SG version of course! Alternatively, you can try what dowoshek suggested and create a symlink:

Code: Select all
sudo ln -s /usr/lib/libGL.so.1 /usr/lib/libGL.so


That has the same effect as the command above, but you don't need to always append "+set r_gldriver /usr/lib/libGL.so.1 " ...
User avatar
yap
Pistolero
 
Posts: 35
Joined: Sat Jan 03, 2009 10:21 am
Location: Germany



Postby Tequila » Fri Nov 27, 2009 1:32 pm

yap wrote:That has the same effect as the command above, but you don't need to always append "+set r_gldriver /usr/lib/libGL.so.1 " ...

Well, r_glDriver is an archive cvar so you only need to set it one time, but I just discovered r_glDriver won't be supported in next released based on ioQuake3 engine.
So it's better to not use this cvar...
:|
User avatar
Tequila
SG Team
 
Posts: 1087
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France



Postby yap » Fri Nov 27, 2009 2:10 pm

Tequila wrote:Well, r_glDriver is an archive cvar so you only need to set it one time, but I just discovered r_glDriver won't be supported in next released based on ioQuake3 engine.
So it's better to not use this cvar...
:|


Ahh, I didn't knew that... I guess the symlink is the way to go then!

BTW : I think this should be in a FAQ or sth. like that...
User avatar
yap
Pistolero
 
Posts: 35
Joined: Sat Jan 03, 2009 10:21 am
Location: Germany



Postby gunsmoker » Fri Nov 27, 2009 6:01 pm

Hi, I wasnt informed of your responses either. What is strange is that creating the symlink has not worked.

I got it to work using that smokinguns.i386 file I downloaded.
-there are audio problems but they seem to autocorrect if i let it sit at the title screen for a few minutes.

I just tried the that cvar line you supplied and that also worked, and now clicking the .x86 file also works. I'm not totally sure what did it but I value all of your help through all this.
I am happy I can play SG now and will see you all in the bank heists.
gunsmoker
Drifter
 
Posts: 21
Joined: Sat Nov 21, 2009 7:44 pm



Postby Ozelot » Fri Dec 18, 2009 3:17 pm

I get the same error that has been discussed before - ./smokinguns.x86: error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such file or directory

But if I use the command
Code: Select all
sudo urpmi install libopenal1 -a

I get this error report: "No package named libopenal1"

How and where can I get this package?
User avatar
Ozelot
Drifter
 
Posts: 8
Joined: Thu Dec 17, 2009 5:32 pm



Postby dowoshek » Fri Dec 18, 2009 3:26 pm

Ozelot wrote:I get the same error that has been discussed before - ./smokinguns.x86: error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such file or directory

But if I use the command
Code: Select all
sudo urpmi install libopenal1 -a

I get this error report: "No package named libopenal1"

How and where can I get this package?

Probably the package name is a bit different in your linux (what is your system?).
User avatar
dowoshek
Gunslinger
 
Posts: 134
Joined: Tue May 19, 2009 12:29 pm
Location: Poland



Postby Ozelot » Fri Dec 18, 2009 3:29 pm

Currently I am using Mandriva 10.0
User avatar
Ozelot
Drifter
 
Posts: 8
Joined: Thu Dec 17, 2009 5:32 pm



Postby dowoshek » Fri Dec 18, 2009 4:14 pm

Just search your repository :D
Did you try "libopenal" or "openal"?
User avatar
dowoshek
Gunslinger
 
Posts: 134
Joined: Tue May 19, 2009 12:29 pm
Location: Poland



Postby Ozelot » Fri Dec 18, 2009 4:39 pm

dowoshek wrote:Just search your repository :D

Well, I would, if I hadn't screwed up KDE, Gnome and the Software-Repository - now I am condemned to use Xfce... :|
dowoshek wrote:Did you try "libopenal" or "openal"?

The good news are that I tried "openal" now and it got installed :), but the bad news are that I keep getting the same error... ( error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such file or directory) :(

Code: Select all
sudo urpmi install openal -a
User avatar
Ozelot
Drifter
 
Posts: 8
Joined: Thu Dec 17, 2009 5:32 pm



Postby dowoshek » Fri Dec 18, 2009 4:56 pm

Code: Select all
sudo ln -s /usr/lib/libopenal.so.1 /usr/lib/libopenal.so.0
User avatar
dowoshek
Gunslinger
 
Posts: 134
Joined: Tue May 19, 2009 12:29 pm
Location: Poland



Postby Ozelot » Fri Dec 18, 2009 5:16 pm

Still the same error report... :|
User avatar
Ozelot
Drifter
 
Posts: 8
Joined: Thu Dec 17, 2009 5:32 pm



Postby Tequila » Fri Dec 18, 2009 5:38 pm

How does it work without openal ?
Code: Select all
./smokinguns.x86 +set s_useOpenAL 0
User avatar
Tequila
SG Team
 
Posts: 1087
Joined: Thu Nov 15, 2007 11:33 pm
Location: Montpellier, France



PreviousNext

Return to Doc's Office

Show Sidebar
Show Sidebar

User Control Panel