|
|
#1 | |
|
Registered User
Join Date: Jun 2006
Posts: 34
|
Hello,
I have a trouble. I have developed 3D CG software on Ubuntu and FreeBSD. I use OpenGL and GLSL on recent nvidia driver(256.44, 256.53, 260.19.04). Ubuntu is too slow in comparison with FreeBSD(or other linux distribtuion). For example, FreeBSD is 25 times faster than Ubuntu on GeForce GTX 480. Moreover, when I have checked on another distribution(CentOS 5.4), the rendering speed is as fast as FreeBSD. I think that it is restricted in something on Ubuntu. Does anyone know the reason? I have checked following setting. I have confirmed "nvidia driver is enabled" on nvidia-setting and /var/log/Xorg.0.log. There is no errors in /var/log/Xorg.0.log. Other setting information. 1. purge and disable exist nvidia-driver 2. disable xinerama 3. disable nouveau 4. enable or disable Sync to VBlank 5. disable 3D desktop(compiz) setting Our system OS: Windows 7 Pro(64bit), FreeBSD 8.1-stable(64bit), Ubuntu 10.04.1LTS(64bit) triple boot *PC1 CPU; Intel Core2Quad Q9550S MEM: 8GB *PC2 CPU: Intel Core i7 920 (2.66GHz) MEM: 9GB GPU: We checked following all GPU. nvidia GeForce 9600GT nvidia GeForce 9800GT(Green Edition) nvidia GeForce GTX 275 nvidia GeForce GTX 295 nvidia GeForce GTX 460 nvidia GeForce GTX 480 |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
|
Quote:
Any sample program? can you read http://www.nvnews.net/vbulletin/showthread.php?t=46678 and generate a good report with the debug info as instructed after the issue appears ? |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Nov 2005
Posts: 2
|
Just a wild guess as I don't run ubuntu. But are you running a compositing window manager. Compositing really hurts opengl performance.
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
|
|
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Nov 2006
Posts: 228
|
How are you determining the speed?
Adam |
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Jun 2006
Posts: 34
|
Licaon, mickski56, adamk75,
thank you for your reply. I have attached nvidia-bug-report.log.gz in this article. I tried checked many many program code of OpenGL and GLSL such as our software or GLSL sample code from internet. (i.e. http://marina.sys.wakayama-u.ac.jp/~...lection.tar.gz) As far as I am concerned, any program code of OpenGL with GLSL slow down on Ubuntu. I have never checked OpenGL rendering speed on Debian. But I have checked FreeBSD and Windows 7 performance on the same PC(multi boot). The rendering performance of FreeBSD and Windows 7 is very good. The rendering is very smooth visually. I have checked rendering speed on other window manager( xfce and WindowMaker) on Ubuntu. However, the rendering speed is still slow. I have determined rendering speed by calculating FPS at display() function of glut. Moreover I can see "frame drop of rendering image" visually on Ubuntu. The rendering is not smooth visually. |
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Jun 2006
Posts: 34
|
I'm sorry for this delay.
I have checked Debian unstable version(aptosid). The rendering speed of Debian is slow, too. And also, I have checked Fedora 14 and Ubuntu 10.10(clean installed). These rendering speed are slow, too. The rendering speed is as slow as Ubuntu 10.04LTS. Maybe... Is rendering speed of recent linux distribution always slow? |
|
|
|
|
|
#9 |
|
Registered User
Join Date: May 2008
Posts: 199
|
What driver version do you use?
And what xorg versons did you test? Tried to compile the code from reflection.tar.gz and i got this: Code:
$ make g++ -c -o main.o main.cpp g++ -c -o glsl.o glsl.cpp g++ -c -o Box.o Box.cpp g++ -c -o Obj.o Obj.cpp Obj.cpp: In member function ‘void Obj::copy(const Obj&)’: Obj.cpp:87: error: ‘memcpy’ was not declared in this scope Obj.cpp:97: error: ‘memcpy’ was not declared in this scope make: *** [Obj.o] Error 1 |
|
|
|
|
|
#10 |
|
Registered User
Join Date: May 2008
Posts: 199
|
This is from the nvidia error log you attached:
Code:
(EE) Jul 31 02:01:22 NVIDIA(0): Failed to initialize the NVIDIA kernel module. Please see the (EE) Jul 31 02:01:22 NVIDIA(0): system's kernel log for additional error messages and (EE) Jul 31 02:01:22 NVIDIA(0): consult the NVIDIA README for details. (EE) NVIDIA(0): *** Aborting *** (II) UnloadModule: "nvidia" (II) UnloadModule: "wfb" (II) UnloadModule: "fb" (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found Just out of curiosity, what glxgears score do you have? |
|
|
|
|
|
#11 | |
|
Registered User
Join Date: Jun 2006
Posts: 34
|
Quote:
Thank you for your reply. I have attached Xorg.0.log on Fedora 14 on this article. X server works normal.y. There is no error in the log. glxgear score is 87352 on GTX 460. Maybe, I made mistake in operation of nvidia-bug-report.sh. However our software is still slow on Fedora or Ubuntu. |
|
|
|
|
|
|
#12 |
|
Registered User
Join Date: Aug 2006
Posts: 106
|
Try running it on Sabayon Linux. I believe that the Nvidia drivers for Linux and FreeBSD have a great deal in common, so if it is also slow on Sabayon Linux, then then I think this could be some sort of kernel regression.
|
|
|
|
![]() |
| Thread Tools | |
|
|