Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATi Radeon HD 6450M Kernel configuration
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Un.tot
n00b
n00b


Joined: 16 Mar 2006
Posts: 55
Location: Hannover, Germany

PostPosted: Mon Jun 20, 2011 11:03 am    Post subject: ATi Radeon HD 6450M Kernel configuration Reply with quote

Hi all!

I am currently doing a new install on my laptop and try to get the ATi Radeon HD 6450M chip to work.

I have followed the Xorg Config Manual on gentoo.org but the kernel configuration supplied there does not seem to work for me. I have tried 2.6.38-r6 and 2.6.39 kernels. Both will first hang during startup at "switching to clocksource tcs" and after 5min or so the disply will just display random black or white pixels.

I also googled and found Bug368821 and Bug368109 - but when it comes to applyinf the fbcondecor patch, I have to admit I don't have the slightest idea how to do it.

Any help is appreciated.

Regards.
_________________
Currently running gentoo on
Toshiba Tecra R840-109 and one Desktop-PC
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Tue Jun 21, 2011 6:47 am    Post subject: Reply with quote

applying a patch:

1. look at the patch file itself (text editor, less, etc) - identify how many "extra" directory names are in the file paths.
For example, let's say our kernel source is in...
/usr/src/linux-2.6.38-gentoo-r4/
and the patch files reference names like...
/testing/fbkernel/drivers/video/fb_notify.c

So, in our case, there are 2 extra directory names that don't relate to our system (testing/fbkernel), but actually it is 3 because the leading / refers to the root of the filesystem which is also a directory we don't want to go through. Another way to think of it, is how many slashes (and stuff before or in between) need to be removed from the names to make it match our file tree.

2. cd to the common place on our system where the patch locations start to match up (in this case, it's the root of the kernel source tree)
cd /usr/src/linux-2.6.38-gentoo-r4

3. patch it, using the number we identified above as the parameter to the -p option, like this:
patch -p3 < /path/to/awesomefbfix.patch

If there were no extra directories in the patch file (eg, it referenced files like "drivers/video/fb_notify.c") then you don't need the -p parameter at all.

To be clear, I haven't actually looked at the patch file you're talking about, this is just an example so you'll have to adjust for how that file is set up.


Hope this helps, good luck!
Back to top
View user's profile Send private message
Un.tot
n00b
n00b


Joined: 16 Mar 2006
Posts: 55
Location: Hannover, Germany

PostPosted: Tue Jun 21, 2011 12:49 pm    Post subject: Reply with quote

Thanks a lot - I won't get near my system until late tonight - so it will be some time before I can report failure or success.

Regards.
_________________
Currently running gentoo on
Toshiba Tecra R840-109 and one Desktop-PC
Back to top
View user's profile Send private message
chithanh
Developer
Developer


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

PostPosted: Tue Jun 21, 2011 4:09 pm    Post subject: Reply with quote

Current stage3 suffers from a problem with missing device nodes. Workaround ist to enable devtmpfs or follow these instructions to create them manually.
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Tue Jun 21, 2011 6:38 pm    Post subject: Reply with quote

I never thought I'd see a broken null device in linux... ever... then again it's just the device node so I guess that doesn't really count!
Back to top
View user's profile Send private message
Un.tot
n00b
n00b


Joined: 16 Mar 2006
Posts: 55
Location: Hannover, Germany

PostPosted: Sat Jun 25, 2011 4:37 pm    Post subject: Reply with quote

Thanks chithanh - I already followed those instructions - things get messy when I try to follow the Xorg guide and try to use the radeon driver.

The patch I mentioned is already included in the kernel. Any other ideas?
_________________
Currently running gentoo on
Toshiba Tecra R840-109 and one Desktop-PC
Back to top
View user's profile Send private message
chithanh
Developer
Developer


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

PostPosted: Sat Jun 25, 2011 7:39 pm    Post subject: Reply with quote

You need to be more precise in describing your problem.
Back to top
View user's profile Send private message
Un.tot
n00b
n00b


Joined: 16 Mar 2006
Posts: 55
Location: Hannover, Germany

PostPosted: Sun Jun 26, 2011 7:26 pm    Post subject: Reply with quote

Ok. I'll try again:

I am currently trying to install the X Server. I have an ATi Radeon 6450m graphics card and I am trying to follow the kernel configuration for using the radeon driver which is in the gentoo xorg documentation.

When I configure the kernel accordingly my system won' start anymore. It hangs at "switching to clocksource tcs" during boot. After 5mins or something the screen will just display random black and white pixels and will flicker occasionally.

Any idea where this goes wrong?
_________________
Currently running gentoo on
Toshiba Tecra R840-109 and one Desktop-PC
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Sun Jun 26, 2011 7:33 pm    Post subject: Reply with quote

Do you have both KMS enabled and framebuffer drivers? I don't think you can have both at the same time. Try turning off framebuffer drivers if they're on.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


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

PostPosted: Sun Jun 26, 2011 7:37 pm    Post subject: Reply with quote

Can you still access your system via ssh when that happens? Maybe something is wrong with the firmware.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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