LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-24-2008, 01:52 AM   #1
dampe
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Rep: Reputation: 0
World of Warcraft problems


Hey

I am using a nvidia en8500gt gfx card and I'm running Fedora 8.
I spent over an hour last night downloading the latest drivers for my gfx card, finally getting that to work.

I have installed World of Warcraft using Wine.
Whenever I attempt to launch it, I get this error:

Code:
err:d3d:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat
err:d3d:InitAdapters Failed to get a gl context for default adapter
err:wine_d3d:WineDirect3DCreate Direct3D9 is not available without opengl
Several minutes later I receive an error box from Wow.exe saying it crashed.

I am trying to run WoW from the command:
Code:
[root@localhost ~]# wine "C:\Program Files\World of Warcraft\Wow.exe" -opengl
I have also tried running it like
Code:
[root@localhost ~]# wine "C:\Program Files\World of Warcraft\Wow.exe"
But I get the same thing.


Any help would be greatly appreciated.
 
Old 03-25-2008, 12:53 PM   #2
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Make sure you have 3D accel enabled. Do
Code:
 glxinfo | grep direct
If it says no, it means you don't have 3D enabled, and wow won't run.
 
Old 03-26-2008, 04:19 AM   #3
dampe
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Code:
Error: glXCreateContext failed
=/
 
Old 03-26-2008, 11:10 AM   #4
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Uh....weird....

Look for X errors doing as root
Code:
cat /var/log/Xorg.0.log | grep EE
and post them

What method did you use to install the nvidia drivers? I suppose you're aware that the drivers that come with X does not support 3D, hence you must install the drivers provided by nvidia itself.

If you used synaptic to get the drivers, I suggest you uninstall them and install them again manually.
 
Old 03-27-2008, 07:09 AM   #5
dampe
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I downloaded the nvidia driver off the nvidia website.
I had to download a bunch of compilers before hand to install binutils too.

Code:
  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
(EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
(EE) NVIDIA(0):     you continue to encounter problems, Please try
(EE) NVIDIA(0):     reinstalling the NVIDIA driver.
Is what I received from that command.


(Thankyou for your help)
 
Old 03-27-2008, 03:32 PM   #6
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
OK,

Please post your xorg.conf file as well as "dmesg". Let's have a look into your PC
 
Old 03-31-2008, 05:16 AM   #7
dampe
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Sorry for the delay.

Xorg.conf
Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Thu Feb 14 18:21:33 PST 2008

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Thu Feb 14 18:20:37 PST 2008
# Xorg configuration created by livna-config-display

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
    Option         "AIGLX" "on"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us+inet"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "ViewSonic VA703-3Series"
    HorizSync       30.0 - 82.0
    VertRefresh     50.0 - 85.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DELL 828FI"
    HorizSync       30.0 - 70.0
    VertRefresh     50.0 - 120.0
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8500 GT"
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8500 GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"

# Removed Option "TwinView" "0"
# Removed Option "metamodes" "CRT-0: nvidia-auto-select +0+0"
# Removed Option "TwinView" "1"
# Removed Option "metamodes" "CRT-0: nvidia-auto-select +0+0, CRT-1: nvidia-auto-select +1280+0"
# Removed Option "TwinView" "0"
# Removed Option "metamodes" "CRT-0: nvidia-auto-select +0+0"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT-0: nvidia-auto-select +0+0, CRT-1: nvidia-auto-select +1280+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "CRT-1: nvidia-auto-select +0+0"
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection
Dmesg is too long to fit in a post. I will send you it via personal message / email.

Thanks.

Last edited by dampe; 03-31-2008 at 05:17 AM.
 
Old 04-01-2008, 12:59 PM   #8
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
You're missing a part in that config file. You're missing the module section, where you load precisely GLX module for X server. You should add it manually. Should look similar to this
Code:
Section "Module"
  Load  "dbe"
  Load  "type1"
  Load	"bitmap"
  Load  "extmod"
  Load  "freetype"
  Load  "glx"
EndSection
Keep in mind your correct config may vary from this one, but is quite safe to assume the above.

Last edited by Hammett; 04-01-2008 at 01:00 PM.
 
Old 04-02-2008, 09:02 AM   #9
dampe
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Will attempt that now.
Will post an update with how I go.

thanks for the help =]

Edit:

Tried adding the following:

Code:
Section "Module"
  Load  "dbe"
  Load  "type1"
  Load	"bitmap"
  Load  "extmod"
  Load  "freetype"
  Load  "glx"
EndSection
Did a Ctrl+Alt+Backspace, reloaded and still get the same error when trying
Code:
 glxinfo | grep direct
I don't know too much about xorg.conf and how to use it as you may have noticed :P

Last edited by dampe; 04-02-2008 at 09:55 AM.
 
Old 04-02-2008, 10:17 AM   #10
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
Post again the Xorg.0.log | grep EE as you did before, and also, you get the same error as before with glxinfo? What vid card you own?

That's very weird...
 
Old 04-03-2008, 10:24 PM   #11
dampe
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Code:
       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
(EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
(EE) NVIDIA(0):     you continue to encounter problems, Please try
(EE) NVIDIA(0):     reinstalling the NVIDIA driver.
 
Old 04-04-2008, 10:01 AM   #12
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,074

Rep: Reputation: 59
OK....It seems there's something wrong with your config file I can't determine what can be the problem.

I suppose from your config file, you have a dualhead setup on your PC. I also have one, and also have dualhead. I'll post my own xorg.conf file so you can try with mine (your file is generated by nvidia script, which very often break things up).

Code:
Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         0  "LeftScreen" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
    FontPath 	"/usr/share/fonts/misc"
    FontPath 	"/usr/share/fonts/Type1"
    FontPath 	"/usr/share/fonts/75dpi"
    FontPath 	"/usr/share/fonts/100dpi"
    FontPath 	"/home/hammett/.fonts"
    FontPath 	"/usr/local/share/fonts"
EndSection

Section "Module"

    Load           "dbe"
    Load           "extmod"
    Load           "glx"
    Load           "nvidia"
    Load           "freetype"
    Load           "type1"

EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "es"
EndSection

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

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

Section "Monitor"
    Identifier     "LeftScreen"
    VendorName     "Monitor Vendor"
    ModelName      "LG Wide"
EndSection

Section "Monitor"
    Identifier     "RightScreen"
    VendorName     "Monitor Vendor"
    ModelName      "LG Wide"
EndSection

Section "Device"
    Option	   "RenderAccel" "1"
    Option         "CoolBits" "1"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "Videocard vendor"
    BoardName      "NVIDIA GeForce FX (generic)"
    Option         "addARGBGLXVisuals" "True"
    Option         "AllowGLXWithComposite" "True"
    Option	   "DamageEvents" "True"
    Option	   "UseEvents" "False"
    Option         "TwinView"
    Option         "MetaModes"  "1440x900,1440x900; NULL,1440x900"  
    Option         "TwinViewOrientation"      "RightOf"
    Option         "SecondMonitorHorizSync"   "UseEdidFreqs"
    Option         "SecondMonitorVertRefresh" "UseEdidFreqs"
    Option         "DPI" "89x97"
EndSection

Section "Screen"
    Identifier     "LeftScreen"
    Device         "Videocard0"
    Monitor        "LeftScreen"
    DefaultDepth    24
    Option         "NvAGP" "1"
    Option         "UseCompositeWrapper" "true"
    Option         "NoLogo" "1"
    SubSection     "Display"
        Viewport    0 0
        Depth       24
	Modes      "1440x900"
    EndSubSection
EndSection
Section "Screen"
    Identifier    "RightScreen"
    Device        "Videocard0"
    Monitor       "RightScreen"
    Option         "UseCompositeWrapper" "true"
    DefaultDepth  24
    Subsection    "Display"
    Modes         "1440x900"
    EndSubsection
EndSection
Please keep in mind that some configs will vary from your own config, but you can use my config file as a reference and try.
 
  


Reply



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
World of warcraft, can it, and how? Krukur Linux - Games 14 01-24-2007 03:22 AM
World of warcraft problems fleety08 Linux - Newbie 3 05-26-2005 04:22 AM
World Of Warcraft - Problems with OpenGL Teletubbie Linux - Games 1 04-22-2005 02:12 PM
World of Warcraft Sticktendo Linux - Games 7 02-04-2005 02:55 PM
World of Warcraft virii Linux - Games 12 02-03-2005 07:36 PM

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

All times are GMT -5. The time now is 10:04 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