LinuxQuestions.org
Visit Jeremy's Blog.
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 11-11-2010, 07:43 AM   #1
chromei386
Member
 
Registered: Dec 2008
Distribution: Fedora 13
Posts: 30

Rep: Reputation: 15
How to detect whether Radeon HD 3870 GPU usage, temp, or any stats?


Hi, I am on Fedora 13, and have a Radeon HD 3870 graphics card. Using the standard open source graphics driver. I am doing some video editing and watching some large movie files (5gb+) so I would like to see if my graphics card is actually doing anything to help. I'm up against a brick wall though - I can't get the GPU usage, memory, or temp. It should do something through GPU hardware video decoding with motion compensation etc. But I can't tell if it doing anything because I can't find anyway to test it.

Anyone have any ideas?

I've enabled direct rendering in mplayer but I don't know if it is doing anything as I have no way to test.


Details below:
PHP Code:
# lsmod | grep radeon
radeon                665912  4 
ttm                    44703  1 radeon
drm_kms_helper         21722  1 radeon
drm                   139268  6 radeon
,ttm,drm_kms_helper
i2c_algo_bit            4117  1 radeon
i2c_core               20553  5 i2c_nforce2
,radeon,drm_kms_helper,drm,i2c_algo_bit

# dmesg | grep radeon
[drmradeon defaulting to kernel modesetting.
[
drmradeon kernel modesetting enabled.
radeon 0000:02:00.0PCI INT A -> Link[AE0A] -> GSI 16 (levellow) -> IRQ 16
radeon 0000
:02:00.0setting latency timer to 64
radeon 0000
:02:00.0VRAM512M 0x00000000 0x1FFFFFFF (512M used)
radeon 0000:02:00.0GTT512M 0x20000000 0x3FFFFFFF
[drmradeon512M of VRAM memory ready
[drmradeon512M of GTT memory ready.
radeon 0000:02:00.0irq 29 for MSI/MSI-X
radeon 0000
:02:00.0radeonusing MSI.
[
drmradeonirq initialized.
platform radeon_cp.0firmwarerequesting radeon/RV670_pfp.bin
platform radeon_cp.0
firmwarerequesting radeon/RV670_me.bin
platform radeon_cp.0
firmwarerequesting radeon/R600_rlc.bin
[drmradeonib pool ready.
fbconradeondrmfb (fb0is primary device
fb0
radeondrmfb frame buffer device
[drmInitialized radeon 2.5.0 20080528 for 0000:02:00.0 on minor 0

# glxinfo | grep vendor
server glx vendor stringSGI
client glx vendor string
Mesa Project and SGI
OpenGL vendor string
Advanced Micro DevicesInc.

# glxinfo | grep direct
direct renderingYes

Tried to get temp through lm_sensors but met this when I did sensors
-detect

Do 
you want to probe the I2C/SMBus adapters now? (YES/no): YES
Using driver 
`i2c-nforce2' for device 0000:00:01.1: nVidia Corporation nForce SMBus (MCP78S)
Module i2c-dev loaded successfully.

Next adapter: Radeon i2c bit bus HDMI (i2c-0)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: Radeon i2c bit bus VGA (i2c-1)
Do you want to scan it? (YES/no/selectively): YES

Next adapter: Radeon i2c bit bus DVI (i2c-2)
Do you want to scan it? (YES/no/selectively): YES
Client found at address 0x50
Probing for 
`Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'
...                     No
Probing 
for `SPD EEPROM'...                                 No
Probing for 
`EDID EEPROM'...                                Yes
    (confidence 8, not a hardware monitoring chip)

Next adapter: SMBus nForce2 adapter at 1c00 (i2c-3)
Do you want to scan it? (YES/no/selectively): YES
Client found at address 0x52
Probing for `Analog Devices ADM1033'
...                     No
Probing 
for `Analog Devices ADM1034'...                     No
Probing for 
`SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Client found at address 0x53
Probing for `Analog Devices ADM1033'
...                     No
Probing 
for `Analog Devices ADM1034'...                     No
Probing for 
`SPD EEPROM...                                 Yes
    
(confidence 8not a hardware monitoring chip

Last edited by chromei386; 11-11-2010 at 07:54 AM. Reason: Put details in code format
 
Old 11-11-2010, 08:31 AM   #2
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
The open source driver only recently gained support for XvMC via gallium. Since F13 isn't new enough, and you clearly aren't using gallium, you are not using any GPU acceleration for video playback.

EDIT: BTW, newer kernels (2.6.36 and newer, iirc) support reading/adjusting certain power management features on the GPU via the /sys filesystem. I do not believe that memory usage is one of them.

Last edited by adamk75; 11-11-2010 at 08:48 AM.
 
Old 11-14-2010, 08:18 PM   #3
chromei386
Member
 
Registered: Dec 2008
Distribution: Fedora 13
Posts: 30

Original Poster
Rep: Reputation: 15
Ah, seems I'm out of luck
 
  


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
Starting Compiz (Slack 12.2, ATI Radeon 3870) Innervision Slackware 25 06-15-2009 08:37 AM
Accessing 1680x1050 in Slack 12.2 (Radeon HD 3870) Innervision Slackware 6 06-05-2009 12:27 PM
Video Complications with Radeon 3870 neogeek23 Linux - Hardware 3 12-04-2008 07:03 AM
What with the Radeon 3870 X2? MichaelPalin Linux - Hardware 1 05-01-2008 08:51 PM
ATI Radeon 3870 driver rehan999 Linux - Software 2 03-08-2008 11:47 PM


All times are GMT -5. The time now is 11:08 AM.

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