Hi,
- system: fedora core 7, 64 bits, i am connected through a vnc connection.
- problem: anatomist does not properly display the mesh files included in the demo data (subject01_Lhemi.mesh and all other meshes as well).
- my /etc/X11/xorg.conf file says under 'devices' that i have 'nvidia' installed as a driver.
- i downloaded the drivers from freshrpm.net
- i checked if it was the vnc connection by checking the mesh locally (the monitor connected to the workstation): it wasn´t, mesh looks bad.
- clicking 'Applications' -> 'System Tools' -> 'NVIDIA X SERVER settings' -> i get the message 'You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run nvidia-xconfig as root and restart the xserver). we did edit the the x configuration file in /etc/X11 and when starting up, i get the nvidia logo.
Anatomist is unable to display meshes correctly
any thoughts are highly appreciated!
merci,
-joost
FC7 and displaying meshes
- riviere
- Site Admin
- Posts: 1361
- Joined: Tue Jan 06, 2004 12:21 pm
- Location: CEA NeuroSpin, Saint Aubin, France
- Contact:
Hi,
There are sometimes problems with 3D drivers (not only on linux). I use Fedora 7 and nvidia drivers from freshrpms without any problem, but it may depend on the 3D card model. I am not using a 64 bit system anymore but I used to, it worked OK.
What does Anatomist display ? Nothing, a white or white window ? Or just crap ? Or a mesh with half of the vertices OK and the other half not displayed properly ?
First, check your nvidia driver is up to date.
Oh, and you seem to have a problem with your nvidia driver settings. That's the problem, for sure.
If the X server displays the nvidia logo, it should mean the nvidia driver is actually used, at least in 2D.
Check the files in /proc/driver/nvidia, especially tryI have:then:I have:
if all of this is OK, then it might be the 3D OpenGL part (but if you are using freshrpms drivers, they should be installed correctly...)
- check that you have /usr/lib/nvidia/libGL.so*
- check that libs in /usr/lib/nvidia/ are used before /usr/lib: you can check the libs used by anatomist
* first set the paths for the binary package: if $SHELL is bash,
if $SHELL is tcsh,
* then should output a list of libs, amongst which one is:it should be /usr/lib/nvidia/libGL.so.1, not /usr/lib/libGL.so.1. Otherwise you are using the wrong OpenGL library (not the one from nvidia). In that case, you can try setting up a LD_LIBRARY_PATH environment variable pointing to /usr/lib/nvidia then to /usr/lib. But I did not have to do this on my computer.
Denis
There are sometimes problems with 3D drivers (not only on linux). I use Fedora 7 and nvidia drivers from freshrpms without any problem, but it may depend on the 3D card model. I am not using a 64 bit system anymore but I used to, it worked OK.
What does Anatomist display ? Nothing, a white or white window ? Or just crap ? Or a mesh with half of the vertices OK and the other half not displayed properly ?
First, check your nvidia driver is up to date.
Oh, and you seem to have a problem with your nvidia driver settings. That's the problem, for sure.
If the X server displays the nvidia logo, it should mean the nvidia driver is actually used, at least in 2D.
Check the files in /proc/driver/nvidia, especially try
Code: Select all
cat /proc/driver/nvidia/version
Code: Select all
NVRM version: NVIDIA UNIX x86 Kernel Module 100.14.23 Thu Oct 4 10:16:34 PDT 2007
GCC version: version gcc 4.1.2 20070925 (Red Hat 4.1.2-27)
Code: Select all
cat /proc/driver/nvidia/cards/0
Code: Select all
Model: GeForce 7900 GS
IRQ: 16
Video BIOS: 05.71.22.29.09
Card Type: PCI-E
DMA Size: 39 bits
DMA Mask: 0x7fffffffff
Bus Location: 01.00.0
- check that you have /usr/lib/nvidia/libGL.so*
- check that libs in /usr/lib/nvidia/ are used before /usr/lib: you can check the libs used by anatomist
* first set the paths for the binary package: if $SHELL is bash,
Code: Select all
. <brainvisa_pack_dir>/bin/SHFJEnvironmentVariables.sh
Code: Select all
source <brainvisa_pack_dir>/bin/SHFJEnvironmentVariables.csh
Code: Select all
ldd <brainvisa_pack_dir>/lib/libanatomist.so
Code: Select all
libGL.so.1 => /usr/lib/nvidia/libGL.so.1 (0x074a6000)
Denis