LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2013, 04:56 PM   #16
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 18.0 Cinnamon 64 bit
Posts: 301

Original Poster
Rep: Reputation: 20

Quote:
Originally Posted by mark_alfred View Post
The two commands I use to test for video acceleration are:

Code:
glxinfo | grep direct
Code:
glxgears
The second one shows gears spinning, and gives your FPS reading. It's stopped by pressing "q". If the FPS reading is lower than it should be, then there's a problem. Try it on Mint, and then on another distro (IE, run by Live CD) and see if there's a difference. If not, then there is no problem (though, from the sound of it, it seems you've solved the problem anyway, so good!)
$ glxinfo | grep direct
direct rendering: Yes

glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
305 frames in 5.0 seconds = 60.871 FPS
300 frames in 5.0 seconds = 59.997 FPS
300 frames in 5.0 seconds = 60.000 FPS
300 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 59.998 FPS
300 frames in 5.0 seconds = 59.998 FPS
300 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 59.998 FPS
300 frames in 5.0 seconds = 59.998 FPS
300 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 59.995 FPS
301 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 60.000 FPS

Thank you for responding

gael.

Last edited by gael33; 06-11-2013 at 05:00 PM. Reason: New result
 
Old 06-11-2013, 06:53 PM   #17
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
You can see that direct rendering is enabled with the glxinfo command given to you by mark_alfred, but you can not see which renderer is in use. glxgears is for troubleshooting modern computers more or less useless, it mostly tests your CPU due to its very simple rendering.
Please post the output of
Code:
glxinfo | grep render
instead. Please use code-tags (see my signature) for posting that output.
 
Old 06-11-2013, 08:38 PM   #18
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04
Posts: 1,258

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by gael33 View Post
$ glxinfo | grep direct
direct rendering: Yes

glxgears
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
305 frames in 5.0 seconds = 60.871 FPS
300 frames in 5.0 seconds = 59.997 FPS
300 frames in 5.0 seconds = 60.000 FPS
That's kinda low. I have an older video card (from "lspci" --> 01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000] (rev c1)) and I get the following:
Code:
mark:$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
3111 frames in 5.0 seconds = 622.079 FPS
3267 frames in 5.0 seconds = 653.283 FPS
3268 frames in 5.0 seconds = 653.555 FPS
3204 frames in 5.0 seconds = 640.508 FPS
vector:/~
And TobiSGD is right, the command he/she suggests will tell you what renderer is being used. Mine states the following:
Code:
vector:/~
mark:$ glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: GeForce4 MX 4000/AGP/SSE2
There was an open source driver for my video card that I initially used, but the rendering was not nearly as good as it was with the nonfree driver I ultimately installed. So, it may help to find out what video card you're using, and then search for a different driver (IE, nvidia).
 
1 members found this post helpful.
Old 06-11-2013, 09:03 PM   #19
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by mark_alfred View Post
That's kinda low. I have an older video card (from "lspci" --> 01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000] (rev c1)) and I get the following:
Code:
mark:$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
3111 frames in 5.0 seconds = 622.079 FPS
3267 frames in 5.0 seconds = 653.283 FPS
3268 frames in 5.0 seconds = 653.555 FPS
3204 frames in 5.0 seconds = 640.508 FPS
vector:/~
The output of glxgears from the OP is as it should be, since the drawing is synchronized to the monitors refresh rate.
 
1 members found this post helpful.
Old 06-11-2013, 09:08 PM   #20
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,434
Blog Entries: 6

Rep: Reputation: Disabled
I think from post #1 this is gael33 video card-
Code:
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
 
Old 06-11-2013, 09:17 PM   #21
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by Ztcoracat View Post
I think from post #1 this is gael33 video card-
Code:
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
But that doesn't tells us if the correct driver is used on that system. Since there are compalints about software rendering I assume that Gallium over llvmpipe is used, so that all rendering is done on the CPU rather than on the GPU.
 
Old 06-11-2013, 09:59 PM   #22
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,434
Blog Entries: 6

Rep: Reputation: Disabled
This thread is for Linux Mint 14 but it might help-

If the intel driver does not load you will get: GLX Renderer Gallium 0.4 on llvmpipe in the inxi -Gx output.

http://forums.linuxmint.com/viewtopic.php?f=42&t=117294
 
Old 06-12-2013, 12:02 AM   #23
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04
Posts: 1,258

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by TobiSGD View Post
The output of glxgears from the OP is as it should be, since the drawing is synchronized to the monitors refresh rate.
Then presumably my monitor refresh rate is ten times that of gael33's monitor refresh rate.

Last edited by mark_alfred; 06-12-2013 at 12:04 AM.
 
Old 06-12-2013, 12:36 AM   #24
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by mark_alfred View Post
Then presumably my monitor refresh rate is ten times that of gael33's monitor refresh rate.
Or, since you use the proprietary Nvidia driver, your vertical synchronizing is not controlled by the VBLANK variable, which glxgears doesn't know and you simply have vertical synchronizing not enabled.

This is what I get on my laptop, one time with vsync enabled, one time disabled:
Code:
tobi ~ ☹ $ glxgears
300 frames in 5.0 seconds = 59.886 FPS
300 frames in 5.0 seconds = 59.866 FPS
300 frames in 5.0 seconds = 59.873 FPS
300 frames in 5.0 seconds = 59.869 FPS
300 frames in 5.0 seconds = 59.869 FPS

tobi ~ ☹ $ glxgears
2615 frames in 5.0 seconds = 522.952 FPS
2631 frames in 5.0 seconds = 526.135 FPS
2631 frames in 5.0 seconds = 526.053 FPS
2631 frames in 5.0 seconds = 526.025 FPS
2630 frames in 5.0 seconds = 525.890 FPS

Last edited by TobiSGD; 06-12-2013 at 12:41 AM.
 
1 members found this post helpful.
Old 06-12-2013, 06:16 AM   #25
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 18.0 Cinnamon 64 bit
Posts: 301

Original Poster
Rep: Reputation: 20
WOW! you guys lost me after the first line
All I know is that if I had a better graphics card the FPS would be improved ... is that correct?
I am limited because my computer case is rather small ... it is a AX3950.
If anyone knows which graphics card would fit in the case, I would invest in one.
Could you recommend a graphics card that is not too complicated to install?

thanks again for all your help.

gael

PS. My monitor is a Benq 22 Senseye 3 which doesn't give me a refresh choice ... in fact, it doesn't tell me what the refresh number is!
 
Old 06-12-2013, 09:16 AM   #26
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
The problem at the moment for you is not that your video device is slow, but that it probably runs with the wrong driver.
Buying a better videocard only makes sense if you want to play 3D games or want to use CAD or 3D modelling programs with very large models.

Regarding your monitor, it is an LCD device, those usually run at 60Hz, which is fine for LCD devices.

Last edited by TobiSGD; 06-12-2013 at 09:18 AM.
 
Old 06-12-2013, 10:08 AM   #27
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 18.0 Cinnamon 64 bit
Posts: 301

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by TobiSGD View Post
The problem at the moment for you is not that your video device is slow, but that it probably runs with the wrong driver.
Buying a better videocard only makes sense if you want to play 3D games or want to use CAD or 3D modelling programs with very large models.

Regarding your monitor, it is an LCD device, those usually run at 60Hz, which is fine for LCD devices.
I see the point you are making and it makes perfect sense.
I always thought that Linux, in this case Mint, always installs a working generic driver ... there appears to be no Proprietary drivers available, so it looks like I am stuck with whatever I have got.
Thanks for the advice on the LCD Monitor, that's one less thing to be concerned about.

Once again I am delighted that you took time to assist me.

Thank you.

gael
 
Old 06-12-2013, 11:34 AM   #28
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by gael33 View Post
I always thought that Linux, in this case Mint, always installs a working generic driver
Usually it does. In case it, for whatever reason, can't find that one modern distributions use a software renderer.

Quote:
there appears to be no Proprietary drivers available, so it looks like I am stuck with whatever I have got.
No, you are not. Just provide the info you were asked for and we can try to help you. Without that info that is indeed impossible.
 
Old 06-12-2013, 02:49 PM   #29
gael33
Member
 
Registered: Feb 2009
Location: Scotland
Distribution: Linux Mint 18.0 Cinnamon 64 bit
Posts: 301

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by TobiSGD View Post
Usually it does. In case it, for whatever reason, can't find that one modern distributions use a software renderer.

No, you are not. Just provide the info you were asked for and we can try to help you. Without that info that is indeed impossible.
This is a summary of my system;
-Computer-
Processor : 4x Intel(R) Core(TM) i3 CPU 550 @ 3.20GHz
Memory : 5006MB (1628MB used)
Operating System : Linux Mint 15 Olivia
User Name : gael33
Date/Time : Wed 12 Jun 2013 07:46:42 PM BST
-Display-
Resolution : 1920x1080 pixels
OpenGL Renderer : Mesa DRI Intel(R) Ironlake Desktop
X11 Vendor : The X.Org Foundation
-Multimedia-
Audio Adapter : HDA-Intel - HDA Intel MID
Audio Adapter : USB-Audio - USB Device 0x46d
-Input Devices-
Power Button
Power Button
AT Translated Set 2 keyboard
HID 0a5c:4502
HID 0a5c:4503
UVC Camera (046d:081d)
HDA Intel MID HDMI/DP,pcm : 3=
HDA Intel MID Line
HDA Intel MID Rear Mic
HDA Intel MID Front Mic
HDA Intel MID Front Headphone
HDA Intel MID Line Out
ImPS/2 Generic Wheel Mouse
-Printers (CUPS)-
PSC-2350-series : <i>Default</i>
-SCSI Disks-
TSSTcorp CDDVDW TS-H653G
ATA ST3500418AS
HP PSC 2355
Generic- Compact Flash
Multiple Flash Reader
HP DVD Writer 557s

Vielen Dank

gael
 
Old 06-12-2013, 03:17 PM   #30
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
That looks OK, so far. What is the output of
Code:
glxinfo | grep render
Also, can you try to install a little 3D game, like Tuxracer, and see if it is playable?
 
  


Reply


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
video acceleration ? or what ... please help trukin Linux - Software 2 06-05-2007 04:53 PM
SuSE 10 no video acceleration shingalated SUSE / openSUSE 4 11-22-2005 07:18 PM
video card acceleration diamonds Linux - Newbie 5 05-14-2005 08:07 PM
Video Acceleration (10.0 Official) askjeffro Mandriva 1 06-01-2004 02:02 PM
WHY cant i get video acceleration V_LESTAT Linux - Newbie 16 02-25-2004 05:26 PM


All times are GMT -5. The time now is 05:15 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration