LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2018, 11:27 PM   #46
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,780

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431

Very cool, Richard Cranium. It's good to see it can run at all and I am curious to see if nouveau actually does better as I suspect on older design and/or lower performance chipsets. I'd like to know if you installed Mesa or GLX libraries since I made no changes to those other than those the nvidia installer effected. Incidentally I bought one of those 2GB 640s for my son and was rather knocked out with it's bang for the buck. Terrific value. I ended up buying another for a secondary boxen of mine.

NOTE: - In my last post I just now noticed the platforms. The SlackLive/Nouveau was 64bit but the hdd install running the nvidia driver was 32bit. I doubt though that this accounts for much with such a huge difference but in the interest of full disclosure I had to point that out..
 
Old 07-15-2018, 06:36 AM   #47
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Nvidia only really supports the latest drivers well, their legacy kernels can be subpar at times. On the other hand nouveau explicitly supports older cards that nvidia no longer will, but without documentation there are a few old issues that have been still unsolved. A good example is that nouveau does not do well with multiple GL contexts at once and will crash or freeze the program and sometimes the entire system.
 
1 members found this post helpful.
Old 07-15-2018, 07:23 PM   #48
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by Richard Cranium View Post
When I run Unigine Heaven Benchmark 4.0 with the nouveau driver, the benchmark results are:

Code:
FPS:	 1.9
Score:	 49
Min FPS: 1.4
Max FPS: 3.3

System:

Platform:	Linux 4.4.132 x86_64
CPU model:	AMD Phenom(tm) II X6 1100T Processor (3409MHz) x6
GPU model:	Unknown GPU (256MB) x1

The card is actually an ASUS GT-640 2GD3

Settings:
Render:	OpenGL
Mode:	1920x1080 2xAA fullscreen
Preset:	Custom
Quality:	High
Stereo:	Horizontal
Tessellation:	Normal
Now I'm curious. I'll install the nvidia drivers and see what the delta turns out to be.
And the answer is...
Code:
Unigine Heaven Benchmark 4.0

FPS:	9.6
Score:	242
Min FPS:4.2
Max FPS:17.9


System

Platform:	Linux 4.4.132 x86_64
CPU model:	AMD Phenom(tm) II X6 1100T Processor (3409MHz) x6
GPU model:	GeForce GT 640 PCI Express 390.59 (2048MB) x1

Settings

Render:	OpenGL
Mode:	1920x1080 2xAA fullscreen
Preset	Custom
Quality	High
Stereo	Horizontal
Tessellation:	Normal
The benchmark was able to fully identify the card, for one thing.
 
2 members found this post helpful.
Old 07-15-2018, 08:01 PM   #49
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Does nouveau reclocking work for your card? It requires the debugfs to be built into the kernel to test.

For example:

Code:
# cat /sys/kernel/debug/dri/0/pstate
07: core 324 MHz memory 648 MHz AC DC *
0a: core 324-692 MHz memory 1620 MHz
0d: core 549-1137 MHz memory 7000 MHz
0f: core 549-1137 MHz memory 7000 MHz
DC: core 324 MHz memory 648 MHz

# echo 0f > /sys/kernel/debug/dri/0/pstate

# cat /sys/kernel/debug/dri/0/pstate
07: core 324 MHz memory 648 MHz
0a: core 324-692 MHz memory 1620 MHz
0d: core 549-1137 MHz memory 7000 MHz
0f: core 549-1137 MHz memory 7000 MHz AC DC *
DC: core 1072 MHz memory 6999 MHz
The first 4 lines represent the different reclocking states and the last line shows the current state. This could help the performance with nouveau a lot. However I think the kernel in 14.2 might be too old, I recall there was a lot of improvements to reclocking around 4.10 (?). It should be pretty trivial to build the kernel from current with Pat's config for 14.2 to test this however.

This helper function could also be added to /root/.bashrc to make it easier to control.

Code:
pstate='/sys/kernel/debug/dri/0/pstate'

pstate () {
  if [ "${1}" ] ; then
    case "$1" in
      -1) echo 07 > "$pstate" ;;
      -2) echo 0a > "$pstate" ;;
      -3) echo 0d > "$pstate" ;; 
      -4) echo 0f > "$pstate" ;;
      -l) cat "$pstate" ;;
      -h) echo 'pstate [-1][-2][-3][-4][-l][-h]' ;;
       *) echo 'unrecognized option, use -h for help' ;;
    esac
  else
    echo 'use -h for help or -l to see the pstate file'
  fi
}

# pstate -l
07: core 324 MHz memory 648 MHz AC DC *
0a: core 324-692 MHz memory 1620 MHz
0d: core 549-1137 MHz memory 7000 MHz
0f: core 549-1137 MHz memory 7000 MHz
DC: core 324 MHz memory 648 MHz

# pstate -3

# pstate -l
07: core 324 MHz memory 648 MHz
0a: core 324-692 MHz memory 1620 MHz
0d: core 549-1137 MHz memory 7000 MHz AC DC *
0f: core 549-1137 MHz memory 7000 MHz
DC: core 1072 MHz memory 6999 MHz
Note the values can differ between cards so its important to not simply copy/paste this function and make sure the values are correct first.

Last edited by orbea; 07-15-2018 at 08:05 PM. Reason: typo
 
1 members found this post helpful.
Old 07-16-2018, 02:57 PM   #50
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,780

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
Thank you, Richard Cranium, for your efforts to discover and provide some actual numbers in the area of accelerated 3D performance on a "middling" performance chipset.
 
Old 07-16-2018, 03:59 PM   #51
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Original Poster
Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by Richard Cranium View Post
And the answer is...
Very interesting test and results. What a disparity.
 
Old 07-16-2018, 09:45 PM   #52
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by enorbet View Post
Thank you, Richard Cranium, for your efforts to discover and provide some actual numbers in the area of accelerated 3D performance on a "middling" performance chipset.
Thanks, I think.
 
1 members found this post helpful.
Old 07-16-2018, 09:46 PM   #53
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by orbea View Post
Does nouveau reclocking work for your card? It requires the debugfs to be built into the kernel to test.

For example:

Code:
# cat /sys/kernel/debug/dri/0/pstate
07: core 324 MHz memory 648 MHz AC DC *
0a: core 324-692 MHz memory 1620 MHz
0d: core 549-1137 MHz memory 7000 MHz
0f: core 549-1137 MHz memory 7000 MHz
DC: core 324 MHz memory 648 MHz

# echo 0f > /sys/kernel/debug/dri/0/pstate

# cat /sys/kernel/debug/dri/0/pstate
07: core 324 MHz memory 648 MHz
0a: core 324-692 MHz memory 1620 MHz
0d: core 549-1137 MHz memory 7000 MHz
0f: core 549-1137 MHz memory 7000 MHz AC DC *
DC: core 1072 MHz memory 6999 MHz
The first 4 lines represent the different reclocking states and the last line shows the current state. This could help the performance with nouveau a lot. However I think the kernel in 14.2 might be too old, I recall there was a lot of improvements to reclocking around 4.10 (?). It should be pretty trivial to build the kernel from current with Pat's config for 14.2 to test this however.

This helper function could also be added to /root/.bashrc to make it easier to control.

Code:
pstate='/sys/kernel/debug/dri/0/pstate'

pstate () {
  if [ "${1}" ] ; then
    case "$1" in
      -1) echo 07 > "$pstate" ;;
      -2) echo 0a > "$pstate" ;;
      -3) echo 0d > "$pstate" ;; 
      -4) echo 0f > "$pstate" ;;
      -l) cat "$pstate" ;;
      -h) echo 'pstate [-1][-2][-3][-4][-l][-h]' ;;
       *) echo 'unrecognized option, use -h for help' ;;
    esac
  else
    echo 'use -h for help or -l to see the pstate file'
  fi
}

# pstate -l
07: core 324 MHz memory 648 MHz AC DC *
0a: core 324-692 MHz memory 1620 MHz
0d: core 549-1137 MHz memory 7000 MHz
0f: core 549-1137 MHz memory 7000 MHz
DC: core 324 MHz memory 648 MHz

# pstate -3

# pstate -l
07: core 324 MHz memory 648 MHz
0a: core 324-692 MHz memory 1620 MHz
0d: core 549-1137 MHz memory 7000 MHz AC DC *
0f: core 549-1137 MHz memory 7000 MHz
DC: core 1072 MHz memory 6999 MHz
Note the values can differ between cards so its important to not simply copy/paste this function and make sure the values are correct first.
I may fall back and try that in a couple of days. Thanks for the info! I didn't realize that level of tweaking was possible.
 
Old 07-16-2018, 09:50 PM   #54
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
And I ran Blender with cuda support.
  1. The result was really, really fast.
  2. The result was also low-quality crap rendering. I mean 256 colors bad rendering.

I find the Blender UI to be almost a crime but I haven't done very much with it; lots of people love it, so I assume I'm the outlier. I assume there's something I can tweak to improve the rendering quality. Any pointers?
 
Old 07-19-2018, 09:57 PM   #55
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
As an aside, nouveau reclocking is not available with Slackware64 14.2's kernel.

When the next version of Slackware is released, I'll re-run the test and modify the nouveau clock speed if possible.
 
  


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
Can't Install nVidia Drivers without Failed to Initialize the NVIDIA GPU at PCI Error FreakofPurple Linux - Laptop and Netbook 1 08-29-2014 12:30 AM
[SOLVED] Instructions on how to make nVidia GTX645 graphics card run using nVidia in RHEL 6.5 anthony000 Linux - Newbie 12 04-11-2014 11:42 AM
Can't build nvidia.ko on MEPIS3.3. Read /usr.../nvidia-kernelsource/README.debian digorykirke Linux - Software 0 03-16-2005 02:10 AM
Nvidia fx5500 mandrake 10.1 problem:Nvidia in /etc/modprobe.preload doesn't work eikeland Linux - Hardware 5 01-17-2005 02:09 PM
kernel 2.6.3--bk8 and NVIDIA-Linux-x86-1.0-5336 video driver from Nvidia zdenkod Linux - Hardware 2 03-09-2004 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:27 PM.

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
Open Source Consulting | Domain Registration