LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 04-22-2005, 12:54 AM   #1
shashank
Member
 
Registered: Mar 2005
Posts: 30

Rep: Reputation: 15
cant play ut 2004


hi

i have mandrake linux 10.1 on my pc. i have downloaded unreal tournament 2004 demo which is playable in linux. i was able to install the game comfortably. but when i try to play the game, i get this error - "Couldn't set video mode: Couldn't find matching GLX visual".what do i do ??????
 
Old 04-22-2005, 02:13 AM   #2
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Rep: Reputation: 30
what videocard do you have? I have nvidia and have load "GLX" in xorg
 
Old 04-22-2005, 03:05 AM   #3
shashank
Member
 
Registered: Mar 2005
Posts: 30

Original Poster
Rep: Reputation: 15
ut2004

i have nvidia geforce fx 5200. what is glx, how do i load it??
 
Old 04-22-2005, 03:09 AM   #4
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Rep: Reputation: 30
do you see the nvidia splash screen at startup?

if you see it add
Load "GLX"

to your xorg or xf86config

you will see the file in /etc/X11

may be any of those, I am not familiar with mandrake and don't know exactly which one is used. You can open the file under any rext-editor. make sure you are root
 
Old 04-22-2005, 05:19 AM   #5
shashank
Member
 
Registered: Mar 2005
Posts: 30

Original Poster
Rep: Reputation: 15
UT2004 can't play

I cannot see nvidia splash screen at startup.
What does this mean?.

Follwing is the XF86config file

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "en_US"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "1024x768 @ 70 Hz"
HorizSync 31.5-57.0
VertRefresh 50-70

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# Dell D800 and few Inspiron (16/10) 1280x800
ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848

# Dell D800 and few Inspiron (16/10) 1680x1050
ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103

# Dell D800 and few Inspiron (16/10) 1920x1200
ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Monitor"
Identifier "monitor2"
VendorName "Generic"
ModelName "1024x768 @ 70 Hz"
HorizSync 31.5-57.0
VertRefresh 50-70

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# Dell D800 and few Inspiron (16/10) 1280x800
ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848

# Dell D800 and few Inspiron (16/10) 1680x1050
ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103

# Dell D800 and few Inspiron (16/10) 1920x1200
ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
BoardName "NVIDIA GeForce FX (generic)"
Driver "nv"
Screen 0
Option "DPMS"
EndSection

Section "Device"
Identifier "device2"
VendorName "nVidia"
BoardName "NVIDIA GeForce FX (generic)"
Driver "nv"
Screen 0
BusID "PCI:3:0:0"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "Screen"
Identifier "screen2"
Device "device2"
Monitor "monitor2"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
Screen "screen2" RightOf "screen1"
#Option "Xinerama"
EndSection


I see GLX in there.

Do I need to do anything else " Besides there iare also XF86config. old, XF86,readmeobsolete and Xorg.conf Sorry for bombarding you with data. I am not computerexoert you see.
 
Old 04-22-2005, 05:24 AM   #6
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Rep: Reputation: 30
easy to fix

you do not have the driver for your video card installed

go here:

http://www.nvidia.com/object/linux_d..._1.0-7174.html

download the driver, install it and change your xorg

It's 5:31AM I am going to bed, do all that and let me know how it went.
 
Old 04-22-2005, 08:57 AM   #7
shashank
Member
 
Registered: Mar 2005
Posts: 30

Original Poster
Rep: Reputation: 15
hi
i downloaded the driver from the website you specified.

when i went to install the driver [after exiting xscreen][i was in root] it said that the appropriate kernel was not found and had to download a appropriate kernel from net. that too failed and it said that it had to create a kernel and that too failed and it said that the right kernel source has not been installed

so what next???

hey hope you had a good nap
 
Old 04-22-2005, 12:51 PM   #8
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Rep: Reputation: 30
I have noticed that if you put the installer in /usr/src , it will work sometimes despite the messages. If that doesn't work, you will need the kernel sources . you will have to ask in a mandrake forum, how to install your nvidia drivers, it's good to have those they really are worth it. When you ask them that, explain where the problem is. I cannot help you , because that's mandrake specific problem, and I don't know how to fix it. You might wanna do a search first, I am sure someone else has had the same problem This is common problem on distros like RH and Mandrake.
 
Old 04-22-2005, 12:51 PM   #9
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Rep: Reputation: 30
go to /usr/src

and to ls-l
post result here
 
Old 04-23-2005, 04:06 AM   #10
shashank
Member
 
Registered: Mar 2005
Posts: 30

Original Poster
Rep: Reputation: 15
Hi

I did go to /usr/src

no reference to any ls-l

What else?

Incidentally in Mandrake users forum follwing was the sugestion :
This is the correct kernel source: kernel-source-2.6-2.6.8.1-12mdk
[imdeemvp@localhost imdeemvp]$ uname -r
2.6.8.1-12mdk
[imdeemvp@localhost imdeemvp]$ rpm -qa | grep kernel-*
kernel-2.6.8.1.12mdk-1-1mdk
kernel-2.4.27.0.pre2.1mdk-1-1mdk
kernel-source-2.6-2.6.8.1-12mdk

My kernel is kernel-2.4.27.0.pre2.1mdk-1-1mdk . in mcc, i went through the process of installation of kernel-2.6.8.1.12mdk-1-1mdk . Even after that $ uname -r identifies the kernel as kernel-2.4.27.0.pre2.1mdk-1-1mdk .

If I can set it to the desired kernel may be I can axhieve the nvidia installation. Is there anything I need to do?
 
Old 04-23-2005, 03:57 PM   #11
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Rep: Reputation: 30
read this

http://www.linuxquestions.org/questi...rnel+headers3F

it is for RH, but I think that mandrake and RH are pretty similar- they are both RPM based, so the same methods should work for you.
 
Old 04-23-2005, 05:45 PM   #12
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Blog Entries: 1

Rep: Reputation: 37
You have to reboot the computer to engage the new kernel.

After youve done that you should be using the new one.
 
Old 04-23-2005, 10:22 PM   #13
shashank
Member
 
Registered: Mar 2005
Posts: 30

Original Poster
Rep: Reputation: 15
I read the article (suggested by alagenchev)



http://www.linuxquestions.org/quest...ernel+headers3F

it is for RH, but I think that mandrake and RH are pretty similar- they are both RPM based, so the same methods should work for you.

Installation at root went Ok and gave the message that "the package has been installed"

I did the reboot as suggested by v00d00101.

The kernel was not listed in the bootloader. Which means that the new kernel is not installed. What is the problem?

By the way my present kernel is 2.4.27-0-pre2mdk on an i686 ttyl and is on linux release 10.1 for i 586. I see a conflict there straight away.

I think I have a long way to go before I can complete the task

I wonder if I should giveup. Thanks guys for all the help so far
 
Old 04-23-2005, 10:54 PM   #14
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Rep: Reputation: 30
I don't know what to tell you man, I am really not good when it comes to mandrake. Also I read your thread in the mandrake forum, it seems that you never let those people know what you have tried and how far you have gone. I would suggest to let them know in case they have other suggestions. And I am not trying to start a distro war, but i have noticed that the so called friendly distros are HELL in fact. I had RH9- it was OK(actually my 2nd favourite so far). I have had SuSe(never got my videocard working on it), and Fedora- same crap I never managed to install the headers. I don't know why these distros claim to be user-friendly, when I can't get anything to work on them. I am running Slack now, which is supposed to be sooooo difficult and so unfriendly. Believe me, that is the easiest distro I have had. In Slackware everything is standard, there's no weird Mandrake, or SuSe, or RH problems that you can't seem to find any help. I know from experience that Nvidia is really easy to install on Slack, I've done it with two different cards, one 32MB and a 256MB . If I were you and ready to give up on Mandrake, I would try Slack. You just have to be willing to learn and use the command line.


Also remember, If you know Mandrake, you know Mandrake. If you know Slackware, you know Linux

Good Luck
 
Old 04-24-2005, 08:53 PM   #15
shashank
Member
 
Registered: Mar 2005
Posts: 30

Original Poster
Rep: Reputation: 15
Hi,

I must brief you what happened after my last post. I could add the kernel-source-2.6-2.6.8.1-12mdk
from the bootloader. Boot attempt resulted in kernel panic error at error 19 init=3. Search at mandrake forum gave me the trouble shoot process for this error. But I could not figure how this can be done.

When I purchased a book on redhat linux bible from wiley, I got a 5cd fedora core 3 set. I tried an installation. Media cd 3 failed installation. I completed a desktop installation with cds 1 and 2. But the system would not boot into either text or graphic mode. Even the boot loader behaviour was abnormal. Then i decided to chuck linux from my harddisk and discarded all linux distro cds.

Form what i see in the linux forums, it appears all distros including the most recent suse 9.3 and linspire 5.0 seem to have some problem or the other. I believe that this has something to do with the downloadable OS that we get from different sources. Do people experience such problems from original distros obtained directly from mandriva/novell/linspire as the case may be?.

For the time being I will make do with windowsXP. Sometime later I will attempt linux again. Until then goodbye. You have been a great help. Can I contact you via email?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I am not able to play Mp3 Songs In Red Hat 9,How To Play The Songs? vlovevj_patel Linux - General 10 03-23-2008 11:45 PM
UT 2004 on Fedora ronban Linux - Games 4 08-22-2005 10:50 AM
Kaffeine, won't play a DVD but will play individual VOB files? GameGuru Linux - Newbie 12 07-08-2005 12:33 AM
I am using cedega4 to play NBA Live 2004, but it is too slow! tx-cary Mandriva 0 07-11-2004 05:28 PM
Virtual PC 2004 mysticpain Linux - Software 2 02-27-2004 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration