Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Quake3 won't run - definite noob question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
TrainedChimp
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2004
Posts: 87
Location: Just west of Earth

PostPosted: Mon Jun 28, 2004 6:39 pm    Post subject: Quake3 won't run - definite noob question Reply with quote

I'm having trouble getting Quake3 running. When I try to start Quake3 all that seems to happen is that my Gnome desktop changes resolution; all the icons get really big and desktop gets too large for my screen (I have to scroll up and down and side to side to see the whole thing). I don't see any errors nor do I see the Quake3 console starting.

This is the the first game I've tried running on Gentoo.

I have an Nvidia Gforce4Ti video card. I installed the Nvidia drivers from the Nvidia web site. Ran opengl-update.

I did emerge quake3-urbanterror, which installs the Quake3 point releases. Then I copied the pk0 file from the Quake3 CD to the appropriate directory then ran Quake3. I am in the games group.

Am I missing something? What should I try next to trouble shoot?
Back to top
View user's profile Send private message
rinacabj
Tux's lil' helper
Tux's lil' helper


Joined: 26 Dec 2003
Posts: 82
Location: Richmond, VA

PostPosted: Mon Jun 28, 2004 6:54 pm    Post subject: Reply with quote

Run glxinfo and look for the line that says 'direct rendering: ' and a yes or a no. You want it to say yes :). This will tell you that your drivers are in fact working correctly. Next, I would run quake3 from a terminal to see the output it gives. I could simply be a problem grabbing your sound card. I've had that happen before.
Back to top
View user's profile Send private message
zakk
l33t
l33t


Joined: 16 Jun 2003
Posts: 614
Location: Oakland, CA

PostPosted: Mon Jun 28, 2004 6:57 pm    Post subject: Reply with quote

Code:

I have an Nvidia Gforce4Ti video card. I installed the Nvidia drivers from the Nvidia web site. Ran opengl-update.

Did you emerge the drivers, or install the .run from the website?
Gentoo has no idea about the drivers if you install them from the .run on the site, and thus opengl-update nvidia wouldn't do anything. Also, did you edit your XF86Config at all? Read the lgfaq link in my signature for information on identifying if your opengl even works at the moment.
Back to top
View user's profile Send private message
jrz
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 272
Location: Sacramento, CA USA

PostPosted: Mon Jun 28, 2004 8:04 pm    Post subject: Reply with quote

does

chmod 0666 /dev/nvidia*
chown root /dev/nvidia*

do anything useful for ya?

also i suggest using
emerge nvidia-kernel nvidia-glx
opengl-update nvidia
to install the drivers.
_________________
Press F1 for Help.
Back to top
View user's profile Send private message
TrainedChimp
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2004
Posts: 87
Location: Just west of Earth

PostPosted: Mon Jun 28, 2004 9:03 pm    Post subject: Reply with quote

Thanks for the replies, will try tonight when I get home...

zakk wrote:
Also, did you edit your XF86Config at all?


I used the XFree86 -configure command to configure XF86Config. The only thing I edited in XF86Config was my mouse settings.
Back to top
View user's profile Send private message
zakk
l33t
l33t


Joined: 16 Jun 2003
Posts: 614
Location: Oakland, CA

PostPosted: Mon Jun 28, 2004 9:32 pm    Post subject: Reply with quote

You need to read the documentation included with the nvidia drivers pertaining to editing your XF86Config, specifically the bit about changing the driver from nv to nvidia.
Back to top
View user's profile Send private message
tedizX
n00b
n00b


Joined: 26 Jun 2004
Posts: 3
Location: linux

PostPosted: Tue Jun 29, 2004 5:11 am    Post subject: d Reply with quote

it could be your sound drivers I had that problem that it wouldnt load so i got a new sound card and it worked i dunt no what to say...
_________________
hostultra.com/~teddien
Back to top
View user's profile Send private message
TrainedChimp
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2004
Posts: 87
Location: Just west of Earth

PostPosted: Fri Jul 02, 2004 4:28 am    Post subject: Reply with quote

Finally had a chance to work on this... Looks like I have a GLX problem:
Code:
glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual
 
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
Segmentation fault


From my XFree86.0.log I can see:
Code:
(II) NVIDIA(0): AGP 4X successfully initialized
(II) NVIDIA(0): Setting mode "2048x1536"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled


When I try to run Quake3 or Enemy Territory I get:


Code:
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Couldn't get a visual
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem


Here is my X86Config:



Code:
Section "ServerLayout"
   Identifier     "XFree86 Configured"
#   Screen      0  "Screen0" 0 0
   Screen         "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   ModulePath   "/usr/X11R6/lib/modules"
   FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
   FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
   Load  "glx"
   Load  "extmod"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "speedo"
   Load  "type1"
   Load  "nvidia"
#   Load  "dri"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "keyboard"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "IMPS/2"
   Option       "Device" "/dev/mouse"
   Option       "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
   HorizSync   30-110
   VertRefresh   48-170
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        Identifier  "Card0"
   Driver      "nvidia"
   VendorName  "nVidia Corporation"
   BoardName   "NV25 [GeForce4 Ti 4600]"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   SubSection "Display"
      Depth     1
   EndSubSection
   SubSection "Display"
      Depth     4
   EndSubSection
   SubSection "Display"
      Depth     8
   EndSubSection
   SubSection "Display"
      Depth     15
   EndSubSection
   SubSection "Display"
      Depth     16
   EndSubSection
   SubSection "Display"
      Depth     24
      Modes       "1024x768" "800x600" "640x480"
   EndSubSection
EndSection


Versions I'm running on Kernel 2.6.7-r5:
Code:
 emerge --pretend nvidia-glx nvidia-kernel
 These are the packages that I would merge, in order:
 Calculating dependencies ...done!
[ebuild   R   ] media-video/nvidia-glx-1.0.5336-r2
[ebuild   R   ] media-video/nvidia-kernel-1.0.5336-r4



Anyone have any ideas? Sorry for such a long post.
Back to top
View user's profile Send private message
strestout1
n00b
n00b


Joined: 04 Jun 2004
Posts: 14

PostPosted: Fri Jul 02, 2004 5:51 am    Post subject: Reply with quote

i had the same problem until i did chmod a+x and chmod 777 on pak0.pk3 before quake3 would run properly.
Back to top
View user's profile Send private message
TrainedChimp
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2004
Posts: 87
Location: Just west of Earth

PostPosted: Fri Jul 02, 2004 2:38 pm    Post subject: Reply with quote

strestout1 wrote:
i had the same problem until i did chmod a+x and chmod 777 on pak0.pk3 before quake3 would run properly.


jrz wrote:
does

chmod 0666 /dev/nvidia*
chown root /dev/nvidia*

do anything useful for ya?



If I run Quake3 as SU I get the same error. I'm not at home at the moment so I can't try chmoding 777 on pak0.pk3, chmod 0666 /dev/nvidia*, or chown root /dev/nvidia. If those were the problems shoudn't quake3 or glxinfo work as root?


Edit: Added last question.


Last edited by TrainedChimp on Fri Jul 02, 2004 3:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
piramid
n00b
n00b


Joined: 18 Feb 2004
Posts: 37

PostPosted: Fri Jul 02, 2004 3:28 pm    Post subject: Re: Quake3 won't run - definite noob question Reply with quote

I don't know in gnome, but in kde my problem was in the same manner, the problem was audio system

Resolution:
a) start startx manually without kdm ...
or
b) in kde start quake with artsdsp -m ./quake3.x86
Back to top
View user's profile Send private message
TrainedChimp
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2004
Posts: 87
Location: Just west of Earth

PostPosted: Sat Jul 03, 2004 4:21 am    Post subject: Reply with quote

I'm still not able to get GLX working. Did I mention I don't see the Nvidia logo when starting Gnome?


Maybe this had somthing to do with it? From my XFree86 log: (WW) NVIDIA(0): OpenGL is only supported in depths 16 and 24

Code:
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
   compiled for 4.3.0.1, module version = 1.0.0
   ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
   compiled for 4.3.0.1, module version = 0.1.0
   ABI class: XFree86 Video Driver, version 0.6
(WW) NVIDIA(0): OpenGL is only supported in depths 16 and 24
(II) do I need RAC?  No, I don't.


If so how do you set the depth to 16 or 24? I thought I had done that in my X config file above.
Back to top
View user's profile Send private message
zakk
l33t
l33t


Joined: 16 Jun 2003
Posts: 614
Location: Oakland, CA

PostPosted: Sat Jul 03, 2004 4:45 am    Post subject: Reply with quote

Option "DefaultDepth" "24"
If I recally correctly. It goes above your resolutions and depths. You should nuke the non 16/24 depth areas anyway.
Back to top
View user's profile Send private message
TrainedChimp
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2004
Posts: 87
Location: Just west of Earth

PostPosted: Sun Jul 04, 2004 1:19 am    Post subject: Reply with quote

zakk wrote:
Option "DefaultDepth" "24"
If I recally correctly. It goes above your resolutions and depths. You should nuke the non 16/24 depth areas anyway.


That was it! 8) Working great now.

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum