Reply
 
Thread Tools Display Modes
  #1  
Old 09-24-2011, 06:48 AM
bgalakazam bgalakazam is offline
Senior Member
 
Join Date: Jan 2011
Location: California, USA
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Default install 32bit NVIDIA driver on 64bit PC-BSD
Hi, can someone tell me how I can install the 32bit NVIDIA driver alongside with the 64bit one? I am running 64bit PC-BSD 9.0-BETA2 with 64bit NVIDIA driver.

In order to get Steam games working, since Wine is 32bit, I need a 32bit NVIDIA driver alongside. This has been documented in many places, including the FreeBSD wiki for wine
Quote:
3D acceleration is working with the 64bit nvidia driver provided that you install the 32bit version (same version number) into the chroot (tested with World of Warcraft, 8.0-RELEASE).
Cheers.

EDIT: this has since been answered on http://forums.freebsd.org/showthread.php?t=26597
You may close/delete the thread.

Last edited by bgalakazam; 09-25-2011 at 06:14 AM.
Reply With Quote
  #2  
Old 09-26-2011, 05:30 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default install 32bit NVIDIA driver on 64bit PC-BSD
I'm going to take a look into this issue as well, see if there is an
easy way to load the 32bit driver alongside the 64bit version.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #3  
Old 09-26-2011, 05:45 PM
bgalakazam bgalakazam is offline
Senior Member
 
Join Date: Jan 2011
Location: California, USA
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Kris, I installed the unofficial 64bit package of Wine, I run the script to load the 32bit NVIDIA alongside (http://people.freebsd.org/~ivoras/wine/). I then installed Steam with winetricks. I set all the recommended things as per WineHQ page on Team Fortress 2 (Windows 98 for hl2.exe, disable overlayrender, use -dxlevel 81 flags, etc.).

I still had problems with Steam in the end. Portal would run, but no matter what I did, Team Fortress 2 wouldn't run. I am still trying to figure out if this is a 64bit related issue or if TF2 doesn't work at all for FreeBSD.
Reply With Quote
  #4  
Old 09-28-2011, 08:29 AM
bgalakazam bgalakazam is offline
Senior Member
 
Join Date: Jan 2011
Location: California, USA
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Update:

I am able to now run TF2, there is sound, game is playable, there is no lag...but...

Fonts are missing. I've tried EVERYTHING and fonts are still gone. Seems a problem with a lot of people for years. If anyone can help, PM me or here would be appreciated.
Reply With Quote
  #5  
Old 09-28-2011, 02:57 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default install 32bit NVIDIA driver on 64bit PC-BSD
I've run into that same issue with TF2 for years now... There is a PR
for it here:

http://bugs.winehq.org/show_bug.cgi?id=19522

I've messed with adding tahoma fonts, but never got it to work. I may
take another crack at it though on 9.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #6  
Old 09-28-2011, 05:11 PM
bgalakazam bgalakazam is offline
Senior Member
 
Join Date: Jan 2011
Location: California, USA
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I added a comment there as well. I don't think it's a font-only issue as the sliders and checkboxes in the options don't seem to be showing up as well. Do you know if this happens in PC-BSD i386 as well? I don't know if it's a Wine issue, a 32vs64 bit driver issue or a font issue.
Reply With Quote
  #7  
Old 09-28-2011, 05:27 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default install 32bit NVIDIA driver on 64bit PC-BSD
I've seen it in both 32/64bit systems, seems to be universal. BTW how
did you get TF2 to work? Any special tricks? I'm testing with wine
1.3.29 here and it always crashes when it starts up.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #8  
Old 09-28-2011, 07:36 PM
bgalakazam bgalakazam is offline
Senior Member
 
Join Date: Jan 2011
Location: California, USA
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Kris, I was documenting the process as I was doing it yesterday and have just put up the post at on my site.

Basically I used the amd64 unofficial package of wine, then the script to get the complimentary 32bit driver, then set win 98 compat for hl2.exe. All this was done with a WINEARCH=win32 prefix. I also had to disable "raw input" for the mouse and that was hard as there were no checkboxes in options and it took me a while. After that, the mouse didn't lock to midscreen and the cursor was gone. I also needed sound to be "Emulate" in winecfg to get sound working.

The one bad thing is that it takes me 4-5min to launch the game, but once launched, it all works.

I will continue to investigate why fonts are working in GNU/Linux distros and check the way Wine installs there. I hope we can find a fix soon.
Reply With Quote
  #9  
Old 09-29-2011, 03:29 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default install 32bit NVIDIA driver on 64bit PC-BSD
Thanks for the link! Adding the windows 98 emulation to hl2.exe fixed it
here, but still no luck with the font issue

The good news is that we've got new PBIs about finished "wine64-nvidia"
and "wine64". Both of these are still the 32bit versions of wine, but
they are made specifically for amd64 systems, and include the nvidia GL
libs in the case of the former, and the standard 32bit GL libs in the
latter. I'm testing with them here and it runs well
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #10  
Old 09-29-2011, 08:02 PM
bgalakazam bgalakazam is offline
Senior Member
 
Join Date: Jan 2011
Location: California, USA
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Originally Posted by kmoore134 View Post
The good news is that we've got new PBIs about finished "wine64-nvidia" and "wine64". Both of these are still the 32bit versions of wine, but they are made specifically for amd64 systems, and include the nvidia GL libs in the case of the former, and the standard 32bit GL libs in the
latter. I'm testing with them here and it runs well
That's awesome! Something I will be looking forward to. (I admit, push-button saves a lot of time and hassle , call me "noob", but if it works - it works.
Reply With Quote
Reply

Thread Tools
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


All times are GMT. The time now is 05:42 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.