Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Thread Tools
Old 02-20-11, 01:30 AM   #1
Registered User
Join Date: Feb 2011
Posts: 2
Default Need libGL / libglx / -glcore compiled w/o CMOV

I'm trying to run an 8400 GS on a Via C3 processor. Unfortunately, this "i686-like" processor lacks the cmov instruction. My X server dies during startup with an illegal instruction. I suspect the nVidia driver does some OpenGL init during load and that's where it tries to run a cmov.

I'd really love nVidia (even more!) if they'd provide a build with non-cmov libraries included.

The culprits are:

libGL.so.1 97 cmov instructions
libglx.so.1 457 cmov instructions
libnvidia-glcore.so.1 9038 cmov instructions

sbrk is offline   Reply With Quote
Old 02-20-11, 01:50 AM   #2
Registered User
Join Date: Feb 2011
Posts: 2
Default Re: Need libGL / libglx / -glcore compiled w/o CMOV

Also, the C3 doesn't support the "sfence" instruction. That's why it's dying for me right now:

(gdb) disass 0x2884dc80 0x2884dca0
Dump of assembler code from 0x2884dc80 to 0x2884dca0:
0x2884dc80: shll $0xa,0x24(%esp)
0x2884dc85: mov 0x24(%esp),%edx
0x2884dc89: or %edx,%eax
0x2884dc8b: mov %eax,0x4(%esi)
0x2884dc8e: sfence
0x2884dc91: mov 0x2c(%edi),%esi
0x2884dc94: mov %ebp,0x74(%edi)
0x2884dc97: test %esi,%esi
0x2884dc99: je 0x2884dcb0
0x2884dc9b: xor %edx,%edx
0x2884dc9d: lea 0x0(%esi),%esi

[edit: This crash happened in the driver proper: nvdia_drv.so. I could probably hand-patch these to NOPs, but if someone would be nice enough to make an official build, that'd be great. Thaaaanks. </lumberg>]
sbrk is offline   Reply With Quote
Old 02-22-11, 11:39 AM   #3
NVIDIA Corporation
zander's Avatar
Join Date: Aug 2002
Posts: 3,740
Default Re: Need libGL / libglx / -glcore compiled w/o CMOV

Unfortunately, current NVIDIA FreeBSD graphics drivers are written for and intended to be run on modern x86 processors. They rely on features like SSE, and expect instructions such as cmov and sfence to be supported. The older legacy graphics drivers are less demanding (for example, we made sure 173.xx runs on CPUs that do not support SSE).
zander is offline   Reply With Quote

Thread Tools

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 -5. The time now is 06:42 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.