Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] 2.6.35 Kernel Radeon driver - Garbled Console
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
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Sat Aug 07, 2010 6:22 pm    Post subject: [Solved] 2.6.35 Kernel Radeon driver - Garbled Console Reply with quote

I upgraded to the 2.6.35 Gentoo sources kernel on my Asus N81Vp laptop, (ATI's Radeon Mobility HD 4670 GPU), within an existing xorg-server 1.8.2/KDE 4.4.5 system, (previously using the proprietarty ati-drivers 10.7). Everything installed correctly and is running fine except one thing.

The point at which the boot process would typically switch to the frame buffer screen, change the console font, and display the Linux kernel logo picture, the screen goes black, with the backlight on, then completely black, and then the display come back on but it only displays garbled green/white text/pixels. Also when I exit KDE, it does a similar thing, in not displaying the console screen at all.

Can someone who's done this recently, go over how to setup the frame buffer part of the in kernel Radeon driver? I selected agpgart, and intel_agp, as modules, and they get loaded correctly. The DRI/radeon driver, (with KMS), and it gets loaded correctly. And then I do like the wiki says, and DON'T select the Radeon framebuffer module. In fact, I don't select ANY framebuffer hardware module. Everything else seems load correctly according to my dmesg, including the RV730 microcode. I just can't get a correct console display anymore.

I'm thinking that perhaps the resolution of the laptop screen causes these kinds of issues, so I appended the correct resolution statement to my kernel boot line, video=1366x768-24@60, but it doesn't change anything.

Thanks..


Last edited by jasn on Tue Aug 10, 2010 3:17 am; edited 1 time in total
Back to top
View user's profile Send private message
ssteinberg
Apprentice
Apprentice


Joined: 09 Jul 2010
Posts: 206
Location: Israel

PostPosted: Sat Aug 07, 2010 6:49 pm    Post subject: Reply with quote

Are you still using the fglrx drivers? Or did you switch to radeon?
fglrx with radeon framebuffer and without DRM and no KMS.
Or radeon with KMS and no framebuffers.

If you use KMD you don't need framebuffer drivers. Try to pass radeon.modeset=1 to kernel in grub.conf.

edit: Reread your post again... If radeon.modeset=1 doesn't work, double check kernel log for clues.
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Sat Aug 07, 2010 8:42 pm    Post subject: Reply with quote

Thanks for the suggestion. I tried passing the radeon.modeset=1 on the kernel boot command line but I still get the same behavior. What kind of kernel log messages should I look for, when trying to debug this?

/var/log/dmesg output
/var/log/messages output
/var/log/Xorg.0.log output
/usr/src/linux/.config

Thanks again..
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Sun Aug 08, 2010 6:07 am    Post subject: Reply with quote

under Support for frame buffer devices, enable only Enable firmware EDID
also, mark both as builtin
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Sun Aug 08, 2010 1:11 pm    Post subject: Reply with quote

Thanks Daggy..

But still same garbled console behavior..

/var/log/dmesg
/var/log/messages
/var/log/Xorg.0.log
/usr/src/linux/.config
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Sun Aug 08, 2010 1:31 pm    Post subject: Reply with quote

are you sure you are using manual kernel?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Sun Aug 08, 2010 1:36 pm    Post subject: Reply with quote

I dont' know what you mean by manual kernel. I use "genkernel --menuconfig kernel" to set the kernel options via the menu system, and then to build and install my kernel, if that's what you mean.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Sun Aug 08, 2010 6:27 pm    Post subject: Reply with quote

jasn wrote:
I dont' know what you mean by manual kernel. I use "genkernel --menuconfig kernel" to set the kernel options via the menu system, and then to build and install my kernel, if that's what you mean.

ok, in this case, what is the output of zcat /proc/config.gz?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Mon Aug 09, 2010 8:11 pm    Post subject: Reply with quote

/proc/config.gz

Same as the second kernel config I posted in this thread.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


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

PostPosted: Mon Aug 09, 2010 10:40 pm    Post subject: Reply with quote

You have framebuffer console built as module. Either make it built-in or ensure that the fbcon module loads.
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Tue Aug 10, 2010 3:17 am    Post subject: Reply with quote

Thanks for the solution chithanh.

I verified the solution both ways. As built into the kernel, and then going back to all modules, but making sure I edited my /etc/conf.d/modules file to load the fbcon module on boot, (which is what I'm running now..)

Thanks again..
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