LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-10-2012, 12:13 AM   #1
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Rep: Reputation: 29
Using openGL with Nvidia nouveau driver


I am fairly uninformed about the world of accelerated graphics driver, especially in linux. More informed than the average person, but anybody who actually cares about the subject I'm sure knows much more than I do, so give me a break if I seem like a moron.
On my personal machine, I have an nvidia graphics card. I have been using the nvidia proprietary drivers for most of my laptop's life. I have no problem with using proprietary drivers or software on my personal machine. However, now I'm having some trouble. Basically the problem is that I like to build my own kernels. However, recent kernels have been having trouble building and running the nvidia drivers. recent kernels won't display anything on the console outside of X unless I run in recovery mode, which I don't like to do because I am super afraid of fs damage (because I ruin my file system all the time). Plus, there are other problems, I had to remove DKMS because the drivers wouldn't build properly with DKMS enabled, and then something changed in the kernel so I had to modify something in the Nvidia driver source code to get it to build, blah blah blah. I just want good performance on my machine. I'm writing a game currently and although it is 2D, it can use accelerated graphics if available, so I would like for that to be available while I'm working on it. As well as some other things like dreamchess (the only chess game that I can beat).
Currently I am using the nouveau driver because I haven't taken the time to install the nvidia driver yet because that requires rebooting into recovery mode and then remounting all my file systems and then doing the build and install process and then safely unmounting everything, working as root the whole time. So, what I want is to use accelerated graphics with the nouveau driver. Shouldn't this work? I read an article which said the nouveau's performace was as good or better than the proprietary one, but I remember back when I ran ubuntu that it always told me I have to install the nvidia driver in order to use compiz or any accelerated graphics, and none of my opengl programs work now, and my game that I am working on now reports that it falls back to software rendering every time.
What is the problem with my nouveau driver (if any)? What can I do to solve the problem.

Sorry for being so wordy. Bad habit.
 
Old 12-10-2012, 12:22 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,546

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Quote:
Originally Posted by prushik View Post
What is the problem with my nouveau driver (if any)? What can I do to solve the problem.

Sorry for being so wordy. Bad habit.
It all depends of your hardware, so you should have been slightly more wordy

Please post output of following commands :
Code:
lspci | grep -A3 VGA
lspci -vnn | grep '\''[030[02]\]'
 
Old 12-10-2012, 06:39 PM   #3
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by Didier Spaier View Post
It all depends of your hardware, so you should have been slightly more wordy

Please post output of following commands :
Code:
lspci | grep -A3 VGA
lspci -vnn | grep '\''[030[02]\]'
Oops, sorry, here is my info:

Code:
prushik ~ :: lspci | grep -A3 VGA
01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce G 105M] (rev a1)
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
07:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller
prushik ~ :: lspci -vnn | grep '\''[030[02]\]'
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G98M [GeForce G 105M] [10de:06ec] (rev a1) (prog-if 00 [VGA controller])
 
Old 12-11-2012, 01:39 AM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,546

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
According to this page your chipset has the NV98 (G98) codename, thus it belongs to the NV50 series with Nvidia 3D object codename Tesla.

According to that page it has one of the best supports from the nouveau driver in the 3D regard.

If you want to get the best results, always use the latest mesa, libdrm, nouveau kernel driver and nouveau X module. How to get it may depends on which distribution you use.

If you want to update theses components, go there first.

But if you are a 3D gamer, the performance you will get won't probably be on par with the one the proprietary driver would give you. I am not a gamer, have a NV50 card as well and nouveau works well enough to fulfill my needs.

Long story short, YMMV.

Last edited by Didier Spaier; 12-11-2012 at 04:16 AM.
 
  


Reply

Tags
driver, mesa3d, nouveau, nvidia, opengl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which NVIDIA driver do you use, Nouveau or the proprietary blob? damgar Slackware 86 10-25-2012 08:28 AM
LXer: Nouveau Driver Still Tries To Compete With NVIDIA LXer Syndicated Linux News 1 06-18-2012 02:12 PM
Nouveau driver + S-Video + Nvidia 5200 SilentSam Linux - Hardware 4 11-23-2011 03:19 PM
[SOLVED] Troubles with nouveau NVIDIA driver on 13.37 Skaperen Slackware 4 07-28-2011 10:12 AM
LXer: Nouveau's OpenGL Performance Approaches The NVIDIA Driver LXer Syndicated Linux News 0 03-21-2011 12:20 PM


All times are GMT -5. The time now is 04:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration