Fedora Linux Support Community & Resources Center
  #1  
Old 27th May 2010, 04:31 PM
Filter Offline
Registered User
 
Join Date: Nov 2008
Posts: 5
linuxfedorafirefox
Wine and Counter Strike Source

Im having issues with trying to startup counter strike
running on fedora 12 x86_64

installed wine 1.44 from source with these dev pkgs as mentioned here http://wiki.winehq.org/WineOn64bit#h...2fd37f3ce4359c

Code:
yum install alsa-lib-devel.i686 alsa-lib-devel audiofile-devel.i686 audiofile-devel cups-devel.i686 cups-devel dbus-devel.i686 dbus-devel esound-devel.i686 esound-devel fontconfig-devel.i686 fontconfig-devel freetype-devel.i686 freetype-devel giflib-devel.i686 giflib-devel hal-devel.i686 hal-devel lcms-devel.i686 lcms-devel libICE-devel.i686 libICE-devel libjpeg-devel.i686 libjpeg-devel libpng-devel.i686 libpng-devel libSM-devel.i686 libSM-devel libusb-devel.i686 libusb-devel libX11-devel.i686 libX11-devel libXau-devel.i686 libXau-devel libXcomposite-devel.i686 libXcomposite-devel libXcursor-devel.i686 libXcursor-devel libXext-devel.i686 libXext-devel libXi-devel.i686 libXi-devel libXinerama-devel.i686 libXinerama-devel libxml2-devel.i686 libxml2-devel libXrandr-devel.i686 libXrandr-devel libXrender-devel.i686 libXrender-devel libxslt-devel.i686 libxslt-devel libXt-devel.i686 libXt-devel libXv-devel.i686 libXv-devel libXxf86vm-devel.i686 libXxf86vm-devel mesa-libGL-devel.i686 mesa-libGL-devel mesa-libGLU-devel.i686 mesa-libGLU-devel ncurses-devel.i686 ncurses-devel openldap-devel.i686 openldap-devel openssl-devel.i686 openssl-devel zlib-devel.i686 pkgconfig sane-backends-devel.i686 sane-backends-devel xorg-x11-proto-devel glibc-devel.i686 prelink fontforge flex bison libstdc++-devel.i686 pulseaudio-libs-devel.i686 gnutls-devel.i686 libgphoto2-devel.i686 openal-soft-devel.i686 isdn4k-utils-devel.i686 gsm-devel.i686 samba-winbind libv4l-devel.i686 cups-devel.i686 libtiff-devel.i686
installed nvidia driver
Code:
kmod-nvidia  xorg-x11-drv-nvidia-libs.i686
edited grub
Code:
title Fedora (2.6.32.12-115.fc12.x86_64)
	root (hd1,0)
	kernel /boot/vmlinuz-2.6.32.12-115.fc12.x86_64 ro root=UUID=6c86774f-2c60-4325-b390-385f8b394ae4 noiswmd LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rdblacklist=nouveau iommu=soft rhgb quiet
	initrd /boot/initramfs-2.6.32.12-115.fc12.x86_64.img
installed steam then counter strike source
launched with
Code:
WINEDEBUG=-all wine C:/Program\ Files/Steam/Steam.exe -fullscreen \
    -width 1024 -height 768 -applaunch 240 \
    -heapsize 512000 -opengl -dxlevel 80 -nojoy +map_background none "$@"
The loading screen window disappears and then wine shows errors
Code:
err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered
err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
Direct3D9 is not available without OpenGL.
err:wgl:X11DRV_WineGL_InitOpenglInfo  couldn't initialize OpenGL, expect problems
err:d3d_caps:WineD3D_CreateFakeGLContext Can't find a suitable iPixelFormat.
err:d3d:InitAdapters Failed to get a gl context for default adapter
Direct3D9 is not available without OpenGL.
err:ole:RevokeDragDrop invalid hwnd (nil)
err:ole:RevokeDragDrop invalid hwnd 0x1012c
err:ntdll:RtlpWaitForCriticalSection section 0x14676dc "?" wait timed out in thread 001e, blocked by 001f, retrying (60 sec)
Weird that it isnt resolving the device id 0618 to nvidia 260m
Code:
[saturn@localhost ~]$ lspci|grep VGA
01:00.0 VGA compatible controller: nVidia Corporation Device 0618 (rev a2)
Code:
[saturn@localhost ~]$ rpm -qa |grep nvidia
kmod-nvidia-195.36.24-1.fc12.2.x86_64
nvidia-settings-1.0-4.fc12.x86_64
xorg-x11-drv-nvidia-libs-195.36.24-1.fc12.x86_64
kmod-nvidia-2.6.32.12-115.fc12.x86_64-195.36.24-1.fc12.2.x86_64
xorg-x11-drv-nvidia-libs-195.36.24-1.fc12.i686
nvidia-xconfig-1.0-2.fc12.x86_64
xorg-x11-drv-nvidia-195.36.24-1.fc12.x86_64
Attached Files
File Type: txt glxinfo.txt (6.5 KB, 52 views)
Reply With Quote
  #2  
Old 27th May 2010, 11:30 PM
sirdilznik Offline
Registered User
 
Join Date: Apr 2009
Posts: 14
linuxfedorafirefox
Re: Wine and Counter Strike Source

Have you tested any other games or programs that require 3D acceleration under wine? Does any of those other apps work under wine or is this just limited to Counter Strike Source?

The reason I ask is that for the last couple of years I've always had problems running programs under wine when using the distribution packaged (RPM Fusion in this case) nVidia drivers. Mind you this is only with running games through wine, native games worked fine. Maybe this is because I've needed to compile wine myself (like you had to) due to needing the latest version and/or patches. Maybe it would have worked fine with the wine.i686 available in the repos ? (I'm on 64-bit also)

Anyhow what I did is removed all the nVidia driver packages from my system and installed the nVidia binary blob manually via nVidia's own installer and viola wine worked fine again. Mind you this is across both Fedora and Ubuntu (though I haven't run Ubuntu since 9.04). Anyway this isn't the cleanest solution since it forces you to manually reinstall the nVidia driver any time you do a kernel update or xorg-x11 update by dropping into run level 3 and rerunning nVidia's installer. I generally do this by rebooting and temporarily changing the kernel line in the grub menu and removing 'rhgb quiet' from the line (you can go into the grub menu upon restart even if your grub is setup with timeout=0 by pressing the up or down direction keys repeatedly right after your BIOS splash screen pops up until the grub menu shows up). Removing 'rhgb quiet' from the kernel line allows Fedora to bootup without any graphical splash and if it gets to a point where it stops and seems to hang you can switch to a different console terminal with 'Ctrl+Alt+F2', login as root (or user and run the installer as sudo), cd to the installer directory, run the installer, and reboot.

Kind of an ugly workaround, but it's always worked for me. I wonder if others have had this kind of issue and if there is a much cleaner solution? If so I'd love to hear about it since it would be nice to use the packages from RPM Fusion and not have to manually reinstall the nVidia driver after every kernel and xorg-x11 update.

Edit: You may also need to recompile wine after manually installing the nVidia drivers, not sure I'd try running it without recompiling it first. You'd only have to do this once though and not after every kernel or xorg-x11 update.

Last edited by sirdilznik; 27th May 2010 at 11:35 PM.
Reply With Quote
  #3  
Old 29th May 2010, 06:10 PM
Filter Offline
Registered User
 
Join Date: Nov 2008
Posts: 5
linuxsafari
Re: Wine and Counter Strike Source

everything works, looks like there was conflicting issues between 2 drivers
I tried installing the nvidia driver by hand and had a bunch of issues. The nouveau driver didnt want to die so i had to completely remove it and rename the nouveau.ko

Last edited by Filter; 29th May 2010 at 06:20 PM.
Reply With Quote
Reply

Tags
counter, source, strike, wine

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine, fresh Fedora Install and Counter Strike Source toasty_ghosty Gamers' Lounge 10 4th November 2008 08:20 PM
Wine and Counter Strike Source Decreasing Frames Per Second comsatcat Using Fedora 2 30th May 2008 04:38 PM
Wine and Counter strike source s7ellar Gamers' Lounge 4 13th March 2008 12:23 PM
Counter strike source keatonvictor Gamers' Lounge 5 28th September 2007 01:58 PM
wine counter strike alkzy Using Fedora 1 30th September 2006 07:45 PM


Current GMT-time: 22:29 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat