Page 1 of 1

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

Posted: 03 Nov 2013, 01:07
by linuxnoob
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?

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

Posted: 03 Nov 2013, 09:51
by fanthom
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

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

Posted: 03 Nov 2013, 14:31
by linuxnoob
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

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

Posted: 04 Nov 2013, 19:30
by fanthom
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.

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

Posted: 05 Nov 2013, 01:31
by linuxnoob
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.

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

Posted: 05 Nov 2013, 11:58
by fanthom
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'

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

Posted: 05 Nov 2013, 15:01
by linuxnoob
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

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

Posted: 05 Nov 2013, 21:06
by fanthom
looks ok. i'm out of clues - sorry.

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

Posted: 05 Nov 2013, 22:26
by wread
It is the fault of Wine :(

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

Posted: 06 Nov 2013, 01:03
by linuxnoob
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.

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

Posted: 06 Nov 2013, 09:10
by fanthom
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.

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

Posted: 06 Nov 2013, 15:21
by linuxnoob
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

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

Posted: 06 Nov 2013, 19:39
by fanthom
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.

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

Posted: 07 Nov 2013, 02:49
by linuxnoob
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)

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

Posted: 09 Nov 2013, 02:53
by linuxnoob
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?