Jump to content

Issues with ET on ubuntu


Kronos

Recommended Posts

So now I have a new issue. I successfully installed the nvidia driver. It ran me through the installation wizard type deal and even asked if I wanted to install 32bit open gl libs and I did that. However now when my computer starts it kicks me into 640X480 resolution and pops up with this error.

none of the selected modes were compatible with the possible modes: Trying modes for CRTC 63 CRTC 63: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 0) CRTC 63: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 1) Trying modes for CRTC 64 CRTC 64: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 0) CRTC 64: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 1)

Under system -> displays it only gives me the option to select 640x480, it used to give options for 5 different resolutions.

 

Also ET still doesn't work, I have the same opengl error.

I tried unblacklisting the nouveau drivers and it still didn't change anything.

Link to comment
Share on other sites

Um, try editing the /etc/X11/xorg.conf directly, the lines for 640x480 and adjust to 800x600 first if it will allow you after a re boot. If so, then adjust to desired settings.

Link to comment
Share on other sites

I don't see anything in the xorg that has resolution. At least not 640x480 mentioned.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 295.59  (buildmeister@swio-display-x86-rhel47-03.nvidia.com)  Wed Jun  6 22:23:24 PDT 2012

Section "ServerLayout"
   Identifier	 "Layout0"
   Screen	  0  "Screen0" 0 0
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice    "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
   # generated from default
   Identifier	 "Mouse0"
   Driver		 "mouse"
   Option		 "Protocol" "auto"
   Option		 "Device" "/dev/psaux"
   Option		 "Emulate3Buttons" "no"
   Option		 "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
   # generated from default
   Identifier	 "Keyboard0"
   Driver		 "kbd"
EndSection
Section "Monitor"
   Identifier	 "Monitor0"
   VendorName	 "Unknown"
   ModelName	  "Unknown"
   HorizSync	   28.0 - 33.0
   VertRefresh	 43.0 - 72.0
   Option		 "DPMS"
EndSection
Section "Device"
   Identifier	 "Device0"
   Driver		 "nvidia"
   VendorName	 "NVIDIA Corporation"
EndSection
Section "Screen"
   Identifier	 "Screen0"
   Device		 "Device0"
   Monitor	    "Monitor0"
   DefaultDepth    24
   SubSection	 "Display"
    Depth	   24
   EndSubSection
EndSection

Link to comment
Share on other sites

  • Clan Friend

et still doesn't work?

 

have you checked glxinfo again?

can you run the demos glxgears and fgl_glxgears?

 

did you run nvidia-settings?

$ gksudo nvidia-settings

 

check this:

https://help.ubuntu....ty/NvidiaManual

section 'Load driver on boot', check if you have nvidia in your /etc/modules

 

- this command gives many infos, please post your results here

$ sudo lshw -C display; lsb_release -a; uname -a; dpkg -l | grep -i nvidia

  • Like 1
Link to comment
Share on other sites

$gksudo nvidia-settings

Opens up nvidia settings but gives me a popup: You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.

Followed directions and it replaces my xorg.conf, reboot and no change.

greedygoose@greedygoose:~$ glxgears
Xlib:  extension "GLX" missing on display ":0".
Error: couldn't get an RGB, Double-buffered visual

greedygoose@greedygoose:~$ sudo lshw -C display; lsb_release -a; uname -a; dpkg -l | grep -i nvidia
 *-display			  
   description: VGA compatible controller
   product: GF108 [GeForce GT 540M]
   vendor: NVIDIA Corporation
   physical id: 0
   bus info: pci@0000:01:00.0
   version: a1
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
   configuration: driver=nvidia latency=0
   resources: irq:16 memory:d0000000-d0ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:2000(size=128) memory:d1000000-d107ffff
 *-display
   description: VGA compatible controller
   product: 2nd Generation Core Processor Family Integrated Graphics Controller
   vendor: Intel Corporation
   physical id: 2
   bus info: pci@0000:00:02.0
   version: 09
   width: 64 bits
   clock: 33MHz
   capabilities: msi pm vga_controller bus_master cap_list rom
   configuration: driver=i915 latency=0
   resources: irq:42 memory:d1400000-d17fffff memory:c0000000-cfffffff ioport:3000(size=64)
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Linux greedygoose 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
ii  bbswitch-dkms											   0.4.2-2~preciseppa1					 Interface for toggling the power on nVidia Optimus video cards
ii  bumblebee												   3.0.1-1~preciseppa1					 nVidia Optimus support

 

nvidia wasn't listed in the modules, I added it in and after a reboot still no change. glxinfo is the same. and fgl_glxgears is an unknown command.

 

Here's what et says now. Browser is extremely annoying to navigate in 640x480 so I can't tell if it is the same as last time.

greedygoose@greedygoose:~$ et
ET 2.60b linux-i386 May  8 2006
----- FS_Startup -----
Current search path:
/home/greedygoose/.etwolf/etmain
/usr/local/games/enemy-territory/etmain/pak2.pk3 (22 files)
/usr/local/games/enemy-territory/etmain/pak1.pk3 (10 files)
/usr/local/games/enemy-territory/etmain/pak0.pk3 (3725 files)
/usr/local/games/enemy-territory/etmain/mp_bin.pk3 (6 files)
/usr/local/games/enemy-territory/etmain
----------------------
3763 files in pk3 files
execing default.cfg
couldn't exec language.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
------- Input Initialization -------
Joystick is not active.
------------------------------------
Bypassing CD checks
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libGL.so.1: wrong ELF class: ELFCLASS64
failed
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem

Link to comment
Share on other sites

I have this lines from my laptop

 

product: GF106 [GeForce GT 555M]

vendor: NVIDIA Corporation

physical id: 0

bus info: pci@0000:01:00.0

version: a1

width: 64 bits

clock: 33MHz

capabilities: pm msi pciexpress vga_controller bus_master cap_list rom

configuration: driver=nouveau latency=0

 

We have exactly the same details except for the red ones and my Ubuntu version is lower, 11.XX version.

And I dont have /etc/X11/xorg.conf to share :(

 

Will try to upgrade may laptop's Ubuntu to 12.X and get back on what would happen to my end, crossed fingers.

  • Like 1
Link to comment
Share on other sites

  • Clan Friend

It seems I've missed the fact that u have a laptop ...

 

imho you should check this:

http://bumblebee-project.org/

 

there is a similar thing called ironhide, but I don't know which one is best or easier to use.

I see you have a package called bumblebee already installed, but maybe you have to start the whole installation from scratch, in that website there is a wiki

Link to comment
Share on other sites

Not sure what happened with that post. <p>I did get the resolution fixed by uninstalling nvidia and using bumblebee. Also

 

Not sure what happened with that post.

I did get the resolution fixed by uninstalling nvidia and using bumblebee. Also et works!

Only problem with et is I have no sound, which I expected. However the fixes I've found don't work. The tutorial by pinoy seems to have worked for most people, but either I did it wrong or it doesn't work anymore. esound didn't work, also no good on this script

gksudo echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
gksudo echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
killall esd
et
esd
exit 0

Any other workarounds?

 

And also thank you guys soooo much for helping. Absolutely no way I could have got this far without you.

Link to comment
Share on other sites

  • Clan Friend

as regards the fact of having a laptop or a desktop, I think this nvidia 'optimus' thing is only for laptops, hence the need for bumblebee

 

as regards the sound, check Parrot's tutorial about et and linux mint:

http://fearless-assa...ntumint-distro/

 

before trying that et-sdl-sound, I would try to set (in et)

/seta s_khz "44"

on an old version of Ubuntu I used to have, that was sufficient to have sound in ET

 

i use et-sdl-sound on Fedora too, so feel free to ask for help on that too, but the tutorial is clear enough :P

  • Like 1
Link to comment
Share on other sites

Since video is working now, you might want to check /etc/X11/xorg.conf and have a backup if that file still exists, just incase you wanna play more of X config :)

 

Am sure the sound would work out just right on what Sunlight's link had given here. If not, feel free to post, my laptop was upgraded to latest Ubuntu with no vga or sound issues, works fine.

Link to comment
Share on other sites

# Please fill in following variables or let this script
# guess correct values.
# Game installation directory
#
# You can set this in GAME_PATH environment variable
GAME_PATH="/usr/local/games/enemy-territory"
# libSDL.so
#
# You can set this in LIBSDL environment variable
# LIBSDL=""
# Temporary directory
TMP_DIR="/tmp"
# Use 'find' if can't locate the game or libSDL otherwise
USE_FIND="yes"
# SDL audio driver
SDL_AUDIODRIVER="pulse"
# Just extract et-sdl-sound.so
ONLY_EXTRACT="no"

# Do not touch anything below this line!
SCRIPT_NAME='et-sdl-sound'
GAME_BIN='et.x86'
GAME_DIR='enemy-territory'
ET_SDL_SOUND_LIB=''\
'\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x03'\

 

Is what I have for the important part of the script. It opens et just fine, but still no sound. Do I need something in the libsdl line?

 

Also I have no xorg.conf now. There is a couple backups in there but nothing that should be active.

Link to comment
Share on other sites

  • Clan Friend

this is the script I use to run et with sound:

#!/bin/bash
export ETSDL_SDL_LIB="/usr/lib/libSDL-1.2.so.0"
export SDL_AUDIODRIVER="pulse"

cd /usr/local/games/enemy-territory/
LD_PRELOAD="${LD_PRELOAD}:/usr/local/games/enemy-territory/sdlsound/et-sdl-sound/et-sdl-sound.so" ./et.x86 $*

SDL_AUDIODRIVER can be "pulse" or "alsa"

ETSDL_SDL_LIB must have the correct path to your sdl lib

/usr/local/games/enemy-territory/sdlsound/et-sdl-sound/et-sdl-sound.so must be replaced with the path to tour sdlsound library

in my case I made a subfolder in /usr/local/games/enemy-territory/ where I extracted sdlsound

 

for example if you call the script etsound.sh, then

$ chmod +x etsound.sh

to make it executable

$ ./etsound.sh

 

to run et (you can pass other parameters too, for example ./etsound.sh +set fs_game jaymod +connect blablabla etc.)

 

I don't use the original sdlsound script.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.