LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-22-2017, 04:14 PM   #1
inafking
LQ Newbie
 
Registered: Jan 2017
Posts: 11

Rep: Reputation: Disabled
Unhappy Need to confirm if this AMDAPU is supported in radeon driver


Hi, Sorry if my first post is a question, but this problem is driving me nuts. I need to confirm if Radeon HD 7480D is supported by the "radeon" driver. The codename of the card (which is an AMDAPU BTW) is Scrapper.

These are the Xorg.0.log and xorg.conf in question.

Xorg.0.log

xorg.conf

The offending log is this:
Code:
    [  2208.216] (EE) Screen 0 deleted because of no matching config section.
    [  2208.216] (II) UnloadModule: "radeon"
As you may have noticed, I'm trying to use 15Khz modelines to output video on a CRT TV via Component Cable and a Scart to YUV converted (which I plugged though a VGA2SCART adapter).

I didn't have a problem with a Mobility Radeon HD 5430 and could output all those resolutions in my TV successfully. It's just that IDK which driver should I used or why isn't supported since it has passed almost 5 years since the release of those AMDAPU's. I've also tried with the "amdgpu" driver to no avail.

I hope you can shed me a ray of light about what's the cause of the problem and what can be done to solve it.
Thanks in advance!

Greets!
 
Old 01-23-2017, 05:11 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Quote:
Originally Posted by inafking View Post
Hi, Sorry if my first post is a question, but this problem is driving me nuts. I need to confirm if Radeon HD 7480D is supported by the "radeon" driver. The codename of the card (which is an AMDAPU BTW) is Scrapper.
Hello and welcome to the forum

While I can't provide 100% confirmation your chip is supported, from what I see here and here, I'm guessing that it is. In both site's description of supported chips, notice the "-" between...

Quote:
HD7450-HD7670
To me, this indicates that everything between and including the two chips mentioned is supported. However, to be sure, you might want to contact the x.org foundation here, under "Reporting problems, asking questions and getting help."

Also, I'm including (I'm guessing) your other thread here, in case anyone wants to review it.

Regards...

Last edited by ardvark71; 01-23-2017 at 05:20 PM. Reason: Deleted wordage.
 
Old 01-24-2017, 09:14 AM   #3
inafking
LQ Newbie
 
Registered: Jan 2017
Posts: 11

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by ardvark71 View Post
Hello and welcome to the forum

While I can't provide 100% confirmation your chip is supported, from what I see here and here, I'm guessing that it is. In both site's description of supported chips, notice the "-" between...
Thanks a lot, but I poked around in the radeon and amggpu driver source code and they seem to keep a list of "Device ID's" they currently support and unfortunately mine wasn't there.

The Device Id can be get by the following command:
Code:
lspci -nn|grep VGA
It's a 4 digit hex number. Can't remember the exact c file in the source code in which they have that list but I guess I'll have to wait for them to include those special AMDGPU's/APU's

Also unfortunately, the "DynamicClocks" option for the device in xorg.conf seems to be only for the radeon driver and not the amdgpu one, so I guess I won't be able to use AMD APU's to get 15Khz resolutions. But looking on the bright side there are inexpensive radeon cards like X1650, X1550 and so on that are more than enough to use them with sdlmame and old console emulators.

Thanks anyways. Greets!
Have a nice day!
 
Old 01-24-2017, 01:49 PM   #4
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Quote:
Originally Posted by inafking View Post
Thanks anyways.
You're welcome, hope you get it squared away. Perhaps someone else on the forum who has more knowledge of this will chime in.

Regards...

Last edited by ardvark71; 01-24-2017 at 10:10 PM. Reason: Correction.
 
Old 01-24-2017, 02:58 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,426
Blog Entries: 10

Rep: Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249
if you still want to pursue this, please post the output of
Code:
lspci -k|grep -iEA5 'vga|3d'
 
Old 01-24-2017, 08:58 PM   #6
inafking
LQ Newbie
 
Registered: Jan 2017
Posts: 11

Original Poster
Rep: Reputation: Disabled
Sure:
Code:
casaubuntu@casaubuntu:~$ lspci -k|grep -iEA5 'vga|3d'
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7480D]
	Subsystem: Elitegroup Computer Systems Trinity [Radeon HD 7480D]
	Kernel modules: radeon
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller
	Subsystem: Elitegroup Computer Systems Trinity HDMI Audio Controller
	Kernel driver in use: snd_hda_intel
And also this that shows the device ID's
Code:
casaubuntu@casaubuntu:~$ lspci -nnk|grep -A3 VGA
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7480D] [1002:9993]
	Subsystem: Elitegroup Computer Systems Trinity [Radeon HD 7480D] [1019:7c90]
	Kernel modules: radeon
00:01.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Trinity HDMI Audio Controller [1002:9902]
Does this mean the OS is assigning the radeon driver? Please enlighten me which is the next step to find out why it didn't like my 15KHz modelines. As a matter of fact, there was a 64Khz mode (1280x1024) and it didn't even honored adding it to the custom modelines.

It seems the Device ID list applies only for amdgpu (amdgpu_drv.c). Couldn't find any device id list in the radeon driver.

Greets! (too late and too tired to keep posting and reading. See ya tomorrow!)
 
Old 01-25-2017, 01:27 PM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,426
Blog Entries: 10

Rep: Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249
i never mess with xorg.conf, so i cannot answer that question.
i think Xorg should recognize almost everything; maybe i'm just spoiled because i never used sufficiently obscure hardware.

tbh, i just wanted to make sure i got the proper device names before i start searching.
but unfortuantely all my searches lead quickly to the proprietary amd driver, so not helpful since you're asking specifically about radeon ( = open source).
 
Old 01-28-2017, 04:52 PM   #8
inafking
LQ Newbie
 
Registered: Jan 2017
Posts: 11

Original Poster
Rep: Reputation: Disabled
I think I solved it, but my cards are not as capable as I thought

I enabled the 15Khz modelines in the AMDAPU and the Radeon X1550 by adding this to /etc/rc.local (Ubuntu 16.04, must be root)

Code:
#!/bin/sh
modprobe -r -v radeon drm
modprobe -v drm debug=1
modprobe -v radeon modeset=1
Then I enabled rc.local by typing (as root)
Code:
systemctl enable rc.local.service
Then reboot and all the custom modes are "available", but some of them are not viewable:
  • In AMDAPU HD 7480D interlaced modes can't be watched on a CRT TV. It stays without signal or in the best case with garbled picture
  • In an Radeon X1550 you can view interlaced modes flawlessly, but progressive modes with low clock are refused to be shown with xrandr -s <resolution>

It seems AMDAPU Gfx cards as X.... cards can't be used to do what I want: Spit out 15Khz progressive and interlaced modes on a CRT TV at the same time. Can't have the best of two worlds.

I know for right that cards in the HD2xxx, HD3xxx, HD4xxx, HD5xxx, HD6xxx and maybe HD 7xxx are well suitable to what I'm trying to do. At least I only spent $45.50 in two cards (the other one was a Radeon X1650). The AMDAPU is a different story because I thought I could output 15Khz modelines in the dual Windows XP x64 and Ubuntu PC but I couldn't at the moment.

Thanks for everybody for your support!

PS: The modelines used and the configuration are in the first post.
 
Old 01-28-2017, 05:11 PM   #9
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
I have an older APU system sporting the Radeon HD 7310 that works just fine. As long as you don't mix proprietary and open drivers. As long as it's not hot off the presses < 6 months, the open drivers should be fine.

$ sudo apt-get install mesa-utils mesa-vdpau-drivers libgl1-mesa-glx freeglut3 xserver-xorg-video-radeon

Seems to grab most of what I need to game (debian jessie). Make sure the user is in the video group or performance might suck. And verify that 3D acceleration is setup with glxinfo.

$ glxinfo | grep -i direct
direct rendering: Yes

You shouldn't need to mess with xorg.conf type stuff. On most modern distros doing so is actually counter productive.
 
Old 01-29-2017, 09:32 AM   #10
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 157Reputation: 157
7000 series AMD IGPs are actually based on 6000 architectureand they are supported by the radeon kernel and r600g user space driver. They should be fully supported. I had a 7000 series IGP inside the A8-5500 APU and now have a 8570D which is still 6000 based, both work perfectly well.
 
Old 01-29-2017, 12:35 PM   #11
seasons
Member
 
Registered: Dec 2014
Distribution: siduction
Posts: 263

Rep: Reputation: 58
Code:
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic root=UUID=5218cef3-c8db-4a90-b762-a832e7fe1aa0 ro nomodeset quiet splash vt.handoff=7
Get an updated Xorg log. The original log you posted shows you booted with 'nomodeset' option, which prevented the radeon module from loading. Subsequent lspci output you gave shows the module loaded.

The radeon module should support your GPU. It is a "Northern Islands" chip based on Terascale/VLIW architecture. The amdgpu module will not support it because amdgpu only supports cards based on "Graphics Core Next" (GCN 1.0) architecture or later.

Quote:
But looking on the bright side there are inexpensive radeon cards like X1650, X1550
I'm not sure why anyone would want those cards. If you're looking for an older, inexpensive card to use with Linux, look at RadeonHD 4350/4550. At least they will give you OpenGL 3.3 and video decode support.

EDIT: Also curious why the kernel you're using is 4.4.0-31, unless you're using a LiveUSB. You need to update the system for critical/security updates if you actually installed it.

Last edited by seasons; 01-29-2017 at 12:42 PM.
 
Old 01-29-2017, 03:52 PM   #12
inafking
LQ Newbie
 
Registered: Jan 2017
Posts: 11

Original Poster
Rep: Reputation: Disabled
Post

Quote:
Originally Posted by seasons View Post
Code:
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic root=UUID=5218cef3-c8db-4a90-b762-a832e7fe1aa0 ro nomodeset quiet splash vt.handoff=7
Get an updated Xorg log. The original log you posted shows you booted with 'nomodeset' option, which prevented the radeon module from loading. Subsequent lspci output you gave shows the module loaded.

The radeon module should support your GPU. It is a "Northern Islands" chip based on Terascale/VLIW architecture. The amdgpu module will not support it because amdgpu only supports cards based on "Graphics Core Next" (GCN 1.0) architecture or later.


I'm not sure why anyone would want those cards. If you're looking for an older, inexpensive card to use with Linux, look at RadeonHD 4350/4550. At least they will give you OpenGL 3.3 and video decode support.

EDIT: Also curious why the kernel you're using is 4.4.0-31, unless you're using a LiveUSB. You need to update the system for critical/security updates if you actually installed it.
It's not a Live USB. And as I've said, I made it work by the config made here but coudn't enable all the resolutions I needed. In some I could use only progressive 15Khz modelines and in other only interlaced 15Khz modes with some progressive modes over 384 pixels wide.

And I'll buy an Radeon HD 4830 tomorrow to make more tests. Guess every Radeon XNNNN (X300, X1550 and so on) cards have that limitation (caused by enforcing higher pixel clocks lower limits).
 
Old 01-29-2017, 04:50 PM   #13
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Did you check /var/log/Xorg.0.log for available modes? Or the output of xrandr?
 
Old 01-29-2017, 07:41 PM   #14
inafking
LQ Newbie
 
Registered: Jan 2017
Posts: 11

Original Poster
Rep: Reputation: Disabled
Code:
xrandr -q
I think I checked the Xorg.0.log but can't remember if I saw the modes there, I'll have to confirm it on another day. Have to sleep soon to wake up very early to go to work. Maybe next weekend I'll have an answer.

Greets!
 
Old 01-29-2017, 10:57 PM   #15
seasons
Member
 
Registered: Dec 2014
Distribution: siduction
Posts: 263

Rep: Reputation: 58
Quote:
Originally Posted by inafking View Post
The codename of the card (which is an AMDAPU BTW) is Scrapper.
I've never heard that codename used for an AMD product. I've always heard these APU's called Trinity and the graphics part called Aruba.

If you're still in doubt, here is the exact code line where the PCI ID (1002:9993) of your GPU is recognized by the radeon module:
https://github.com/torvalds/linux/bl..._pciids.h#L687
Support for it was added in kernel 3.4.x
 
  


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
LXer: Open Source AMDGPU Driver Now Detects All Linux Kernel Supported AMD Radeon GPUs LXer Syndicated Linux News 0 09-16-2016 05:44 AM
USB 3.0 driver and scsi - need to confirm dmesg output redjupiter58 Linux - Kernel 4 03-19-2015 01:17 PM
How do I confirm if I installed NVIDIA driver correctly? Fear58 Linux - General 4 03-24-2006 10:38 AM
Confirm Driver Activation? Yes or No? r3dhatter SUSE / openSUSE 1 09-18-2005 08:38 AM
ATI Radeon Supported on FC3? JulianoF Fedora 4 01-13-2005 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:28 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
Open Source Consulting | Domain Registration