WoW runs *only* as root (openSUSE 11.1, GeForce 8800GTS)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
mystuff
Newbie
Newbie
Posts: 4
Joined: Mon Mar 02, 2009 4:53 pm

WoW runs *only* as root (openSUSE 11.1, GeForce 8800GTS)

Post by mystuff »

Before I say anything, I should probably say that I do realize that I should not be running wine as root, however for the purpose of debugging I tried it anyways ... and to my surprise found it worked.

1 The situation
First of all, this is the same installation, using the same configuration file on the same computer, etc. As a normal user Wow.exe does not even start (note that Launcher.exe does for instance) but as a root user it not only stars but works smoothly.

2 The enviroment
OS: Linux opensuse 2.6.27.19-3.2-default #1 SMP 2009-02-25 15:40:44 +0100 x86_64 x86_64 x86_64 GNU/Linux
Wine: wine-1.1.9 (but also tried the last 2 snapshots)
Graphics card: GeForece 8800GTS
Graphics driver: 180.29 (Linux-x86_64)

3 The (error) messages

3.1 As normal user (does not work):

Code: Select all

user@opensuse111:~/ISO/World of Warcraft> winedbg Wow.exe -opengl 
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  128 (GLX)                                       
  Minor opcode of failed request:  3 (X_GLXCreateContext)                          
  Value in failed request:  0x21                                                   
  Serial number of failed request:  137                                            
  Current serial number in output stream:  137
And nothing after that.

3.1 As root user (works)

Code: Select all

# wine Wow.exe -opengl
Could not load Mozilla. HTML rendering will be disabled.            
wine: configuration in '/root/.wine' has been updated.              
fixme:advapi:SetSecurityInfo stub                                   
archive Data\enGB\patch-enGB.MPQ opened                             
archive Data\patch.MPQ opened                                       
archive Data\enGB\patch-enGB-2.MPQ opened                           
archive Data\patch-2.MPQ opened                                     
archive Data\expansion.MPQ opened                                   
archive Data\common.MPQ opened                                      
archive Data\common-2.MPQ opened                                    
archive Data\enGB\locale-enGB.MPQ opened                            
archive Data\enGB\speech-enGB.MPQ opened                            
archive Data\enGB\expansion-locale-enGB.MPQ opened                  
archive Data\enGB\expansion-speech-enGB.MPQ opened                  
fixme:win:EnumDisplayDevicesW ((null),0,0x3aedbc,0x00000000), stub! 
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers        
fixme:win:EnumDisplayDevicesW ((null),0,0x3aecac,0x00000000), stub!                                      
fixme:win:EnumDisplayDevicesW ((null),0,0x3af2d8,0x00000000), stub!                                      
fixme:win:EnumDisplayDevicesW ((null),0,0x3af434,0x00000000), stub!                                      
fixme:win:EnumDisplayDevicesW ((null),0,0x3af5a0,0x00000000), stub!                                      
fixme:win:EnumDisplayDevicesW ((null),0,0x3af59c,0x00000000), stub!                                      
fixme:win:EnumDisplayDevicesW ((null),0,0x3af530,0x00000000), stub!                                      
fixme:win:EnumDisplayDevicesW ((null),0,0x3af520,0x00000000), stub!                                      
fixme:win:EnumDisplayDevicesW ((null),0,0x3af018,0x00000000), stub!                                      
fixme:win:EnumDisplayDevicesW ((null),0,0x3af150,0x00000000), stub!                                      
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered                     
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered                     
err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered                        
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x7
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x7
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x7
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x7
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x7
fixme:win:EnumDisplayDevicesW ((null),0,0x3adf1c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3adf44,0x00000000), stub!
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 5000
fixme:reg:GetNativeSystemInfo (0x37402ce4) using GetSystemInfo()
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:win:EnumDisplayDevicesW ((null),0,0x3adae4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3aeaa0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3aded4,0x00000000), stub!
fixme:imm:ImmAssociateContextEx (0x100028, (nil), 16): stub
4. Additional information
Once WoW runs (as root) everything in game seems to work, except for sound, but I suspect this is due the use of Pulsaudio in openSUSE 11.1.

5. The question
What can I do? Running as root isn't smart, but perhaps it's possible to give certain permissions to certain (NVidia?)-files and then things will magically work again?

6. Things I've tried
- Every version of Wine I could get my hands on.
- Removing .wine folder
- Every possible combination of options in Config.wtf
- Repairs.exe utility
- Reinstalling NVidia drivers, kernels, rebooting, twice, every time.
- Copy all files from NTFS to Ext3 partition.
- Run as root (oops, that works!).
- Run it again using Vista (works too, but not what I want ;) ).
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

WoW runs *only* as root (openSUSE 11.1, GeForce 8800GTS)

Post by austin987 »

On Mon, Mar 2, 2009 at 4:15 PM, mystuff <[email protected]> wrote:
Before I say anything, I should probably say that I do realize that I should not be running wine as root, however for the purpose of debugging I tried it anyways ... and to my surprise found it worked.

1 The situation
First of all, this is the same installation, using the same configuration file on the same computer, etc. As a normal user Wow.exe does not even start (note that Launcher.exe does for instance) but as a root user it not only stars but works smoothly.

2 The enviroment
OS: Linux opensuse 2.6.27.19-3.2-default #1 SMP 2009-02-25 15:40:44 +0100 x86_64 x86_64 x86_64 GNU/Linux
Wine: wine-1.1.9 (but also tried the last 2 snapshots)
Graphics card: GeForece 8800GTS
Graphics driver: 180.29 (Linux-x86_64)

3 The (error) messages

3.1 As normal user (does not work):

Code:
user@opensuse111:~/ISO/World of Warcraft> winedbg Wow.exe -opengl
X Error of failed request:  BadValue (integer parameter out of range for operation)
 Major opcode of failed request:  128 (GLX)
 Minor opcode of failed request:  3 (X_GLXCreateContext)
 Value in failed request:  0x21
 Serial number of failed request:  137
 Current serial number in output stream:  137


And nothing after that.

3.1 As root user (works)

Code:

# wine Wow.exe -opengl
Could not load Mozilla. HTML rendering will be disabled.
wine: configuration in '/root/.wine' has been updated.
fixme:advapi:SetSecurityInfo stub
archive Data\enGB\patch-enGB.MPQ opened
archive Data\patch.MPQ opened
archive Data\enGB\patch-enGB-2.MPQ opened
archive Data\patch-2.MPQ opened
archive Data\expansion.MPQ opened
archive Data\common.MPQ opened
archive Data\common-2.MPQ opened
archive Data\enGB\locale-enGB.MPQ opened
archive Data\enGB\speech-enGB.MPQ opened
archive Data\enGB\expansion-locale-enGB.MPQ opened
archive Data\enGB\expansion-speech-enGB.MPQ opened
fixme:win:EnumDisplayDevicesW ((null),0,0x3aedbc,0x00000000), stub!
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x3aecac,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3af2d8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3af434,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3af5a0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3af59c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3af530,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3af520,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3af018,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3af150,0x00000000), stub!
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x7
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x7
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x7
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x7
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:create_server class {bcde0395-e52f-467c-8e3d-c4579291692e} not registered
err:ole:CoGetClassObject no class object {bcde0395-e52f-467c-8e3d-c4579291692e} could be created for context 0x7
fixme:win:EnumDisplayDevicesW ((null),0,0x3adf1c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3adf44,0x00000000), stub!
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 5000
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT 5000
fixme:reg:GetNativeSystemInfo (0x37402ce4) using GetSystemInfo()
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONTEXT_VALUE; STUB
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800000c)
fixme:win:EnumDisplayDevicesW ((null),0,0x3adae4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3aeaa0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3aded4,0x00000000), stub!
fixme:imm:ImmAssociateContextEx (0x100028, (nil), 16): stub



4. Additional information
Once WoW runs (as root) everything in game seems to work, except for sound, but I suspect this is due the use of Pulsaudio in openSUSE 11.1.

5. The question
What can I do? Running as root isn't smart, but perhaps it's possible to give certain permissions to certain (NVidia?)-files and then things will magically work again?

6. Things I've tried
- Every version of Wine I could get my hands on.
- Removing .wine folder
- Every possible combination of options in Config.wtf
- Repairs.exe utility
- Reinstalling NVidia drivers, kernels, rebooting, twice, every time.
- Copy all files from NTFS to Ext3 partition.
A) install it under wine itself.
B) check the permissions...those files you copied may be owned by root.

C) Are you a member of the 'video' group?


--
-Austin
mystuff
Newbie
Newbie
Posts: 4
Joined: Mon Mar 02, 2009 4:53 pm

Re: WoW runs *only* as root (openSUSE 11.1, GeForce 8800GTS)

Post by mystuff »

austin987 wrote:On Mon, Mar 2, 2009 at 4:15 PM, mystuff <[email protected]> wrote:
see above
A) install it under wine itself.
That is possible, but a lot of work (downloading mostly), however worth a shot, still it's be odd if it suddenly would work so I'm still open for other suggestions.
B) check the permissions...those files you copied may be owned by root.
Before I tried anything I did "chown -hR user:users" on the whole directory, so this should not be an issue (and I just double checked for good measure).
C) Are you a member of the 'video' group?
user@opensuse:~> groups
users dialout video
opensuse-up:/home/user # groups
root
mystuff
Newbie
Newbie
Posts: 4
Joined: Mon Mar 02, 2009 4:53 pm

[SOLVED] Create a new user

Post by mystuff »

I don't understand why, but somehow creating a new user solved the problem. Not only did Wow.exe work right away (provided I use the -opengl flag) but it also did so with sound. You might blame me for not trying this sooner but I do want to point out that I did remove the entire .wine directory, and all related files - for the rest my regular user has only been in use for a few weeks so I didn't think it was that messed up yet.

One thing I did notice is that the new user account has some strange graphics settings, it doesn't look as sharp/good as under my normal user account, as if different graphics settings are used. When I find out more about this I will report.

Another thing was that WoW asked me again for acceptance of the EULA etc, something which it did not do when I ran it as root.
felix
Level 2
Level 2
Posts: 45
Joined: Thu Feb 28, 2008 10:04 am

WoW runs *only* as root (openSUSE 11.1, GeForce 8800GTS)

Post by felix »

On Mon, Mar 02, 2009 at 04:50:39PM -0600, mystuff wrote:
I don't understand why, but somehow creating a new user solved the problem. Not only did Wow.exe work right away (provided I use the -opengl flag) but it also did so with sound. You might blame me for not trying this sooner but I do want to point out that I did remove the entire .wine directory, and all related files - for the rest my regular user has only been in use for a few weeks so I didn't think it was that messed up yet.
Try comparing the default groups for this new user against your old
user. Perhaps the new user is a member of a group that your old user is
not.

--
Darragh

"Nothing is foolproof to a sufficiently talented fool."
mystuff
Newbie
Newbie
Posts: 4
Joined: Mon Mar 02, 2009 4:53 pm

Groups

Post by mystuff »

Unfortunately that is not the case, the groups for both users are identical (users, dialout and video). All I can imagine is that it must be something in my home directory, possibly some cached data, or perhaps some low level security implementation (built within SUSE?) that forbade me from executing certain files? I really have no clue, but I have moved user account now and I will simply only copy all the files I need and leave all the other .user_settings in the old account. If I ever figure it out, I will post it here.
Locked