Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Amd a4-3300 apu & x
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gcyoung
n00b
n00b


Joined: 04 Jul 2007
Posts: 60
Location: England

PostPosted: Mon Mar 12, 2012 2:35 pm    Post subject: Amd a4-3300 apu & x Reply with quote

I have just installed a new motherboard and apu as listed above. I have installed a basic gentoo X86_64
system, but am having problems with getting Xorg installed.

I understand the graphics are controlled by an ati-radeon HD6000 system on the GPU element about which I know nothing.

I have installed 'X' step by step in conformity with the gentoo 'Xserver Configuration Howto' with the result that I lose all screen output (Black screen of death!), on leaving grub. I can only access my disks now via a live CD. I suspect that frame buffer software may be missing. I can just catch a glimpse of the message "Parsing ELF" before the screen blanks.

My previous experience has all been with nvidia agp graphics, so all this is unknown territory for me. If there is anyone who has had successful experience with this processor and can give advice I'd be grateful to have it.
***********************************************
Later Addendum:
It seems the computer does not crash. It just can't write to the screen. I am now accessing it with ssh via another computer. I will try to setup a display manager to see if the failure to output to the screen is simply in text mode.
I can't seem to find any information on setting up this particular graphics arrangement other than that mentioned above which does not seem to work.
Back to top
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 188
Location: Cork, Ireland

PostPosted: Tue Mar 13, 2012 11:28 pm    Post subject: Reply with quote

i assume you have installed the radeon open-source driver and you are missing the firmware, that's why you have the black screen.
the a4-3300 has Integrated Radeon HD 6410D GPU


You will need firmware
Code:
emerge sys-kernel/linux-firmware


kernel config
Code:
CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_KMS=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FB_RADEON is not set


Code:
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
CONFIG_EXTRA_FIRMWARE="radeon/PALM_me.bin radeon/PALM_pfp.bin"


http://wiki.gentoo.org/wiki/Radeon

I am not so sure if the PALM is the correct firmware for you but i would try it as the first option.
Back to top
View user's profile Send private message
gcyoung
n00b
n00b


Joined: 04 Jul 2007
Posts: 60
Location: England

PostPosted: Sun Mar 18, 2012 8:01 pm    Post subject: radeon graphics Reply with quote

I think you are correct. As it happens I had worked out by single stepping into my boot-up that the loss of a screen occurred as it loaded the radeon module.

I had misunderstood the Gentoo Doc "The X Server Configuration HOWTO" I interpreted that as requiring the 'ATI Radeon' box in the kernel config to be ticked. (See "Enable Radeon KMS support) in article. In fact, it still looks to me that it implies the module should be compiled!
However, I have removed the radeon module and I now have a graphic screen again. If anyone else should read this I can confirm that the firmware is PALM, SUMO2 AND SUMO.

If you can advise me how I can get a framebuffer with my setup, I'd be grateful, as I prefer a non graphics screen for software development etc. With the time I've wasted jumping in and out of 'System Rescue" ( marvellous disk that!), and my new system, attempting to get the radeon driver working I'm a bit reluctant to continue with trial and error.

All my previous computing has been with nvidia, so I'm a bit lost with radeon/ati
Back to top
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 188
Location: Cork, Ireland

PostPosted: Sun Mar 18, 2012 9:50 pm    Post subject: Reply with quote

post you current kernel config into pastebin plz.
this is what i have in kernel for ati 5770
Code:
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="radeon/JUNIPER_rlc.bin radeon/JUNIPER_pfp.bin radeon/JUNIPER_me.bin rtl_nic/rtl8168d-2.fw"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"

Code:
# Graphics support

CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_TTM=y
CONFIG_DRM_RADEON=y
CONFIG_DRM_RADEON_KMS=y
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y

Code:
# Console display driver support

CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y

Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1390
Location: Berlin, Germany

PostPosted: Sun Mar 18, 2012 10:40 pm    Post subject: Reply with quote

You need all the firmware listed under http://www.gentoo.org/doc/en/xorg-config.xml # Radeon HD 6000 series Fusion APUs

If you don't want to set CONFIG_EXTRA_FIRMWARE it is also possible to build DRM_RADEON =m, but you need to make sure that the radeon module is loaded before X starts. DRM_RADEON_KMS=y is required in any case.
Back to top
View user's profile Send private message
gcyoung
n00b
n00b


Joined: 04 Jul 2007
Posts: 60
Location: England

PostPosted: Mon Mar 19, 2012 12:00 pm    Post subject: AMD/Radeon HD6410D Reply with quote

A quick live install of ubuntu to see all the necessary modules for this new motherboard & LPU showed me there is a proprietory driver (ati-drivers) for this graphics chip, so I have installed it, and it seems to be rather better than the open source version.

I still havn't sorted out a framebuffer, however, and the higher resoloution vga modes do not seem to work. I note that portage provides x11-drivers/xf86-video-fbdev. Does this conflict with the ati-drivers?
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1390
Location: Berlin, Germany

PostPosted: Mon Mar 19, 2012 12:11 pm    Post subject: Reply with quote

If you want framebuffer console with ati-drivers, you have to use vesafb or uvesafb. Once vesafb is enabled, you can boot with vga=ask parameter to see the available video modes.
Back to top
View user's profile Send private message
gcyoung
n00b
n00b


Joined: 04 Jul 2007
Posts: 60
Location: England

PostPosted: Mon Mar 19, 2012 6:35 pm    Post subject: Reply with quote

I have now just discovered the aticonfig program which has helped with xorg.conf. It's a pity that the suppliers can't give all this Linux information when they supply the motherboards etc. Perhaps one day .......? It's a lot better today, but a bit like going on a treasure hunt to find the clues when one installs new hardware.

I tried installing uvesafb, which I have used in the past, but it doen't seem to work with the ati graphics. I had a bit of trial and error with mplayer as well, since my familiar settings didn't work. Ie xv. The gl2 setting seems to be the best.

Thanks for the help given. I shall persevere in finding a framebuffer setting, but that is not so critical for me.
Back to top
View user's profile Send private message
gcyoung
n00b
n00b


Joined: 04 Jul 2007
Posts: 60
Location: England

PostPosted: Sat Apr 14, 2012 10:05 pm    Post subject: ati graphics plus uvesa framebuffer Reply with quote

Just to set the record straight, if anyone should look here in future, I was wrong about the failure of the uvesa framebuffer with the generic ati graphics driver. I must have corrupted something or made an error in my installation.

I have now installed it and that has given me a comfortable non graphics console screen to do my maintenance, scripting and programming on.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum