[SOLVED]Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

[SOLVED]Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit

Post#1 by linuxnoob » 03 Nov 2013, 01:07

i have a windows game that works with the open source drivers in software mode, but with the nvidia-319.32 x86_64 it fails to even start, 32bit nvidia driver allows it to start but has a strange effect that allows scrolling with the mouse off the edge of the game screen and into part of xfce's desktop.

wine in the termninal complains about 32bit opengl not being installed correctly

compat32 libraries didnt help either

do i need to install 32 bit libraries for opengl?

my graphics card is a 460GTX btw, i assume that uses the latest driver?
Last edited by linuxnoob on 10 Nov 2013, 00:34, edited 1 time in total.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#2 by fanthom » 03 Nov 2013, 09:51

wine in the termninal complains about 32bit opengl not being installed correctly
nVidia/amd drivers were created without 32bit opengl compatibility. seems that we have few gamers in the community so i'll change that in next release.
tomorrow i'll also try to update existing drivers for porteus-2.1 and include 32bit opengl in 64bit driver.
stay tuned.
do i need to install 32 bit libraries for opengl?
nope - it wont help as nVidia/amd proprietary drivers provides their own opengl stack.
my graphics card is a 460GTX btw, i assume that uses the latest driver?
yes
Please add [Solved] to your thread title if the solution was found.

linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#3 by linuxnoob » 03 Nov 2013, 14:31

Thank you fanthom, I really appreciate the effort you put in theses forums.

I understand that porteus is designed to be light and fast, So maybe you could have 2 drivers for x86_64 one with and one without 32bit support, Although since usb sticks are so cheap here in aus $8 for 8gig theres no reason not to have a full blown linux setup on a usb

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#4 by fanthom » 04 Nov 2013, 19:30

it's just few extra MB so wont harm that much. please download updated drivers from here:
http://dl.porteus.org/x86_64/current/drivers/
and check if it helps.
Please add [Solved] to your thread title if the solution was found.

linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#5 by linuxnoob » 05 Nov 2013, 01:31

thanks for the quick response but unfortunately i think there may be something wrong with the driver.

wine no longer complains about 32bit libraries but instead crashes with access violations and PlayOnLinux starts up with this message:

PlayOnLinux is unable to find 32bits OpenGL libraries.You might encounter problem with your games.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#6 by fanthom » 05 Nov 2013, 11:58

maybe some 32bit libraries are still missing? did you install compat32-libs module? please post the output of following commands:

Code: Select all

find /lib -type f -maxdepth 1 | xargs ldd | grep 'not found'
find /usr/lib -type f -maxdepth 1 | xargs ldd | grep 'not found'
Please add [Solved] to your thread title if the solution was found.

linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#7 by linuxnoob » 05 Nov 2013, 15:01

compat32 didnt make any difference.

Code: Select all

guest@porteus:~$ find /lib -type f -maxdepth 1 | xargs ldd | grep 'not found'
loader cannot load itself
	libudev.so.0 => not found

Code: Select all

guest@porteus:~$ find /usr/lib -type f -maxdepth 1 | xargs ldd | grep 'not found'
	libudev.so.0 => not found
	libssl.so.0 => not found
	libcrypto.so.0 => not found
	libssl.so.0 => not found
	libcrypto.so.0 => not found
	libpciaccess.so.0 => not found
	libnettle.so.4 => not found
	libhogweed.so.2 => not found
	libp11-kit.so.0 => not found
	libnettle.so.4 => not found
	libhogweed.so.2 => not found
	libp11-kit.so.0 => not found
	libnettle.so.4 => not found
	libhogweed.so.2 => not found
	libp11-kit.so.0 => not found
	libmpfr.so.4 => not found
	libFLAC.so.8 => not found
	libvorbisenc.so.2 => not found
	libvorbis.so.0 => not found
	libogg.so.0 => not found

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#8 by fanthom » 05 Nov 2013, 21:06

looks ok. i'm out of clues - sorry.
Please add [Solved] to your thread title if the solution was found.

User avatar
wread
Module Guard
Module Guard
Posts: 1061
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#9 by wread » 05 Nov 2013, 22:26

It is the fault of Wine :(
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#10 by linuxnoob » 06 Nov 2013, 01:03

does compat32 include ia32-libs? if not how do i get those?

another lib that might help is lib32-nvidia-utils, details here: https://www.archlinux.org/packages/mult ... ils/files/ I checked and those libs are not installed.

@wread
wine is setup correctly as its working fine with the open source driver, although in software mode.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#11 by fanthom » 06 Nov 2013, 09:10

does compat32 include ia32-libs?
yes. only 32bit libs are included in compat32 package (they are actually creating 'slackware multilib')
another lib that might help is lib32-nvidia-utils, details here: https://www.archlinux.org/packages/mult ... ils/files/ I checked and those libs are not installed.
they are installed under /usr/lib (except for libnvidia-cfg.so.325.15 which must be new in 325.x driver). if you dont have them than you have not updated the nVidia driver correctly.
please run 'ls /mnt/live/memory/images | grep 2ftm' and check if it returns nVidia driver.
Please add [Solved] to your thread title if the solution was found.

linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#12 by linuxnoob » 06 Nov 2013, 15:21

your right i didnt have that driver installed at that time, i've now installed it correctly and the terminal shows the driver with your command

i then checked my /usr/lib again and all libs seem to be there, except the /usr/lib/nvidia folder is missing which should have libGL.so

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#13 by fanthom » 06 Nov 2013, 19:39

i then checked my /usr/lib again and all libs seem to be there, except the /usr/lib/nvidia folder is missing which should have libGL.so
in nVidia module i uploaded recently libGL.so is in /usr/lib and not /usr/lib/nvidia. this is where nvidia installer placed it and i assume it knows better where to keep it.
Please add [Solved] to your thread title if the solution was found.

linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#14 by linuxnoob » 07 Nov 2013, 02:49

This is very strange.
heres what i've tried using 64bit porteus and a 32bit wine game

using open source driver:
os works fine and wine works fine

using 32 bit nvidia driver:
os works but has display problems, wine works but has display problems - i'm guessing this driver isnt supposed to be used with 64 bit kernel/os?

using 64 bit nvidia driver:
os works fine, wine doesnt work

there must be something the open source driver is providing that the nvidia driver doesnt? anyway i'll keep digging around for a solution and update here if i found one.

thank you fanthom for your help and with updating the driver the rest i should be able to figure out (hopefully)

linuxnoob
Black ninja
Black ninja
Posts: 40
Joined: 10 Oct 2013, 14:45
Distribution: porteus 2.1
Location: australia

Re: Porteusx86_64 + nVidia-319.32 + Wine1.7.4 = No 32bit Ope

Post#15 by linuxnoob » 09 Nov 2013, 02:53

i have found the solution the problem was indeed missing files from the x86_64 version of the nvidia driver.

i cross checked the /usr/lib folders from the x86_64 driver and the i486 driver both 319.32

the i486 version contains extra files and folders as shown below:

usr/lib/tls/
usr/lib/xorg/

usr/lib/libGL.la
usr/lib/libnvidia-cfg.so
usr/lib/libnvidia-cfg.so.1
usr/lib/libnvidia-cfg.so.319.32

so i copied these files and folders into the x86_64 nvidia driver and presto wine works beautifully and with hardware acceleration enabled

maybe there is a bug with the nvidia installer?

Post Reply