Click to See Complete Forum and Search --> : xf86free editing and nvidia installing
Icculus
08-03-2001, 10:56 AM
ook here is what im trying to do
get quake3 working
i have mandrake 8.0 and a geforce 1
i have so far instaleld the rpm's from nvidia seemingly correctlynow i am trying to edit the config , but i can figure out how . i tried using emac but it said soemthing to the effect that i didnt have permission.
i am afraid to boot to root cause i installed these rpm's and i dotn wanna mess anything up .. yes im a total newbie .
lil help please?? would be very greatful , ill be checking back here often for the next hour or so
danrees
08-03-2001, 11:52 AM
You're going to kick yourself...
The reason why you can't edit /etc/X11/XF86Config(-4) is because the permissions are set so only root can do this!! What you need to do is:
> su
password: enter your password
Then install the rpms.
Then in the same terminal do:
> emacs /etc/X11/XF86Config (or /etc/X11/XF86Config-4 if you're using XF86 4.0.3 (which did you choose on install?)
Make the changes, and save.
Then type:
> exit
To go back to being a normal user.
I've found that if you reboot a couple of times Mandrake's setup likes to reset this file - if you don't get the NVIDIA logo on startup, do the above again, but then do:
> chmod 444 /etc/X11/XF86Config(-4)
This will stop Mandrake's DrakConf (I think it's that) from making changes, but if you want to use DrakConf you'll have to reset the permissions by typing:
> chmod 644 /etc/X11/XF86Config(-4)
HTH.
Icculus
08-03-2001, 02:11 PM
ok when i open it in the emacs typing what you said
its blank
this is after i screwed it up and it wouldnt boot into x-win
i ran the Xconfig and got it working again
i did what you said and its blank , do i need to chmod it?
danrees
08-03-2001, 04:06 PM
If it's totally blank then the file might not be there... have a browse:
> cd /etc/X11
> ls
If there's no XF86Config there, then I don't know where else it would be - you could search:
> find /etc -name XF86Config* print
See what that comes up with, and if it comes up with a file, edit that one.
xIcculusx
08-03-2001, 11:05 PM
well if i open it in a text editor its not blank , its only in emac that its blank , but it wasnt before all this :
Hokay. With all apologies to the late Doug Adams, DONT PANIC. ;) Whatcha want to do is this:
1) Install the Nvidia drivers.
2) Run the command (as root)
prompt# /usr/X11R6/bin/XFree86 -configure
...wait a moment or so. The screen will blank, X will probe your card, display, everything, and spit out a configuration file, named '/root/XF86Config.new'.
3) Edit the file, making changes as you see fit. You will definitely want to make the changes as noted on Nvidia's site, namely removing the 'GLcore' and 'dri' modules, and changing the 'nv' to 'nvidia'. Towards the bottom of the file, you'll see a 'Screen' section. Add some modelines so it looks like this:
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
Note the 'Modes' line with the resolutions listed. This is about the only thing important missing from the XF86Config.new file. Add a modeline for every color depth you anticipate using. Note that you must have 800x600 and 640x480 to run most 3d supported games, and more than likely under bpp16.
4) Check the file over for mistakes, and copy it over to /etc/X11/XF86Config-4 like so:
prompt# cp /root/XF86Config.new /etc/X11/XF86Config-4
5) Try starting X (as a regular user) and see if the NVdriver module loads on it's own. If X immediately exits with an error code or two, do an 'lsmod' to see if the module has loaded, and troubleshoot from that point on, loading the module by hand if necessary.
If all goes well, you should have a nice white background with the Nvidia logo, then your favorite WM will come up bright 'n shiny. Luck!
A link for some extra info:
Nvidia Linux README (http://www.nvidia.com/view.asp?IO=linux_readme_install)
[ 03 August 2001: Message edited by: bdl ]
Icculus
08-04-2001, 09:19 AM
ok
#1 do i need to un-installed the mesa ( i think this is name ) drivers ?
#2 sicne i have installed the rpm's already , how can i remove them so i can start this process over again .
thnx for the help guyz , i really appreciate it
Get rid of mesa. It will conflict with nvida drivers.
To remove the rpms, just do 'rpm -e package_name'
xIcculusx
08-04-2001, 05:49 PM
ok i have tried many times to uninstalls the rpm's they says they arent installed when i try to do that , but when i try to install them they say they are installed :-\
also how can i remove these mesa things ?
thnx for helping a nerwbie out guyz :)
danrees
08-04-2001, 05:56 PM
Make sure you don't include the version number and the .rpm.
E.g. if you wanted to remove package-1.2.3.rpm, you would do:
rpm -e package
If you wanted to install it, you would have to do:
rpm -i package-1.2.3.rpm
Icculus
08-04-2001, 08:12 PM
thnx danress .. so simple yet not huh ;)
ok now
i guess i need to get rid of mesa ??
cause when i install them (nvidia drivers) then edit my xf86config-4 and reboot it blows out the X-win with the error of 'failed to load nvidia kernel"
Icculus
08-04-2001, 09:19 PM
ok .. i have of right now installed the rpm's and edited the xf86config , i typed quake 3 in the console and it changed screen rez and this was the result after ti failed to load
[icculus@mothership icculus]$ quake3
Q3 1.29h linux-i386 Aug 2 2001
----- FS_Startup -----
Current search path:
/home/icculus/.q3a/baseq3
/usr/local/games/quake3/baseq3/pak6.pk3 (64 files)
/usr/local/games/quake3/baseq3/pak5.pk3 (7 files)
/usr/local/games/quake3/baseq3/pak4.pk3 (272 files)
/usr/local/games/quake3/baseq3/pak3.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak2.pk3 (148 files)
/usr/local/games/quake3/baseq3/pak1.pk3 (26 files)
/usr/local/games/quake3/baseq3/pak0.pk3 (3539 files)
/usr/local/games/quake3/baseq3
./quake3.x86/baseq3
----------------------
4060 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Joystick is not active.
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.0
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Couldn't get a visual
...WARNING: could not set the given mode (3)
...loading libMesaVoodooGL.so: QGL_Init: Can't load libMesaVoodooGL.so from /etc/ld.so.conf or current dir: /usr/local/games/quake3/libMesaVoodooGL.so: cannot open shared object file: No such file or directory
failed
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem
tallulah
08-04-2001, 10:51 PM
Did you install both the drivers AND glx (since your errors indicated there was a problem with glx)? Also, I could get neither the drivers nor glx to work until I installed them from source instead of as rpm's. Another odd thing I encountered was that I could get games to run if I was logged in as root but not as a regular user. (I would get bunches of errors.) Perhaps try your games as root. Another small thing, did you ever use the GUI control center in Mandrake 8 to try to change resolution or monitor selection? Every time I did this, it crashed and added an extra generic video section to my XF86config-4 file in addition to eliminating the load glx line. One more really odd thing I encountered was that I had to use a text login to get 3D to consistently work. If I used a GUI login, it would NEVER work. Just a couple of things to look for... Good luck!
:)
Icculus
08-04-2001, 11:18 PM
ok i feel this is the final hurddle
i installed from source , i rebooted and guess what
i got the nvidia screen !!!!
weee :)
but now i bring upa console and type "quake3" and it switches screens and starts to run
the screen is black and it just sits there for a while then it boots me
this is whats in the console
icculus@mothership icculus]$ quake3
Q3 1.29h linux-i386 Aug 2 2001
----- FS_Startup -----
Current search path:
/home/icculus/.q3a/baseq3
/usr/local/games/quake3/baseq3/pak6.pk3 (64 files)
/usr/local/games/quake3/baseq3/pak5.pk3 (7 files)
/usr/local/games/quake3/baseq3/pak4.pk3 (272 files)
/usr/local/games/quake3/baseq3/pak3.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak2.pk3 (148 files)
/usr/local/games/quake3/baseq3/pak1.pk3 (26 files)
/usr/local/games/quake3/baseq3/pak0.pk3 (3539 files)
/usr/local/games/quake3/baseq3
./quake3.x86/baseq3
----------------------
4060 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Joystick is not active.
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.0
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 640x480
Using 4/4/4 Color bits, 16 depth, 0 stencil display.
GL_RENDERER: GeForce 256/AGP/3DNOW!
Initializing OpenGL extensions
...ignoring GL_S3_s3tc
...ignoring GL_EXT_texture_env_add
...using GL_ARB_multitexture
...using GL_EXT_compiled_vertex_array
XF86 Gamma extension initialized
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce 256/AGP/3DNOW!
GL_VERSION: 1.2.2
GL_EXTENSIONS: GL_ARB_imaging GL_ARB_multitexture GL_ARB_texture_compression GL_
ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_te
xture_env_dot3 GL_ARB_transpose_matrix GL_S3_s3tc GL_EXT_abgr GL_EXT_bgra GL_EXT
_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_ar
ray GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_packed_pixels GL_EXT_pale
tted_texture GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_colo
r GL_EXT_separate_specular_color GL_EXT_shared_texture_palette GL_EXT_stencil_wr
ap GL_EXT_texture_compression_s3tc GL_EXT_texture_edge_clamp GL_EXT_texture_env_
add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_cube_map G
L_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_E
XT_texture_object GL_EXT_vertex_array GL_EXT_vertex_weighting GL_IBM_texture_mir
rored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_evaluators GL_NV_fenc
e GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_r
egister_combiners GL_NV_texgen_emboss GL_NV_texgen_reflection GL_NV_texture_env_
combine4 GL_NV_texture_rectangle GL_NV_vertex_array_range GL_NV_vertex_array_ran
ge2 GL_NV_vertex_program GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_te
xture_lod
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_ACTIVE_TEXTURES_ARB: 2
PIXELFORMAT: color(16-bits) Z(16-bit) stencil(0-bits)
MODE: 3, 640 x 480 fullscreen hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU:
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 1
texture bits: 0
multitexture: enabled
compiled vertex arrays: enabled
texenv add: disabled
compressed textures: disabled
Initializing Shaders
...loading 'scripts/lightningnew.shader'
...loading 'scripts/explode1.shader'
...loading 'scripts/gfx.shader'
...loading 'scripts/tim.shader'
...loading 'scripts/base.shader'
...loading 'scripts/base_button.shader'
...loading 'scripts/base_floor.shader'
...loading 'scripts/base_light.shader'
...loading 'scripts/base_object.shader'
...loading 'scripts/base_support.shader'
...loading 'scripts/base_trim.shader'
...loading 'scripts/base_wall.shader'
...loading 'scripts/common.shader'
...loading 'scripts/ctf.shader'
...loading 'scripts/eerie.shader'
...loading 'scripts/gothic_block.shader'
...loading 'scripts/gothic_floor.shader'
...loading 'scripts/gothic_light.shader'
...loading 'scripts/gothic_trim.shader'
...loading 'scripts/gothic_wall.shader'
...loading 'scripts/hell.shader'
...loading 'scripts/liquid.shader'
...loading 'scripts/menu.shader'
...loading 'scripts/models.shader'
...loading 'scripts/organics.shader'
...loading 'scripts/sfx.shader'
...loading 'scripts/shrine.shader'
...loading 'scripts/skin.shader'
...loading 'scripts/sky.shader'
...loading 'scripts/test.shader'
----- finished R_Init -----
------- sound initialization -------
------------------------------------
Received signal 11, exiting...
[icculus@mothership icculus]$
any ideas ???
tallulah
08-05-2001, 12:01 AM
If you can point yourself to page Read Me page, the FAQ's have a section on Quake. I'm copying and pasting some here along with the link. The FAQ's are in section 5. Here is the relevant one:
Q: There are problems getting Quake2 going.
A: Quake2 requires some minor setup to get it going. First, in the
Quake2 directory, the install creates a sym link called libGL.so that
points at libMesaGL.so. This symlink should be removed or renamed. Then,
to run Quake2 in OpenGL mode, you would type: 'quake2 +set vid_ref glx
+set gl_driver libGL.so'. Quake2 does not seem to support any kind of
full-screen mode, but you can run your X server at whatever resolution
Quake2 runs at to emulate full-screen mode.
Q: There are problems getting Heretic II going.
A: Heretic II also installs, by default, a symlink called libGL.so in
the application directory. You can remove or rename this symlink, since
the system will then find the default libGL.so (which our drivers install
in /usr/lib). From within Heretic II you can then set your render mode
to OpenGL in the video menu.
There is also a patch available to Heretic II from lokigames at: http://www.lokigames.com/products/heretic2/updates.php3
From the Read Me Install (http://www.nvidia.com/view.asp?IO=linux_readme_install)
Icculus
08-05-2001, 12:24 AM
well unfortunetly this isnt q2 i wish i could run in windowed mode .. anything ...
i tired to run it the way that they said and it just froze on a black screen .
there was no file that they mentioned in the q3 folder. yet another dead end :(
im losing faith that thsi is ever going to work
thanx so much for your help though i couldnt have gotten this close alone....
tis a shame though to tfall short ... so clse :(