Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

2.6.x kernel - Radeon Framebuffer console, HOW???

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
19 posts • Page 1 of 1
Author
Message
cepler
n00b
n00b
Posts: 16
Joined: Wed Feb 11, 2004 10:18 pm
Location: Wilmington, DE

2.6.x kernel - Radeon Framebuffer console, HOW???

  • Quote

Post by cepler » Sun Feb 15, 2004 3:19 am

I can't seem to get the Radeon framebuffer console to work properly in 2.6.x kernels (haven't tried 2.4.x). Is this broken? (It's not marked experiemental in the kernel so I'd think it'd work...at least a bit..)

Yes, I can get VESA to work, no, I don't want to USE VESA, not when there is a Radeon option which would most likely be faster, so please don't tell me to use VESA mode, because frankly I'm tired of reading that on USENET.

Has ANYONE gotten Radeon FB console to work in 2.6.x? If so, can you share your grub lines and kernel .config lines?

PS: Don't tell me to use X either please...another response that came up often on USENET Google searches (*GROAN*) I just want to have a nice fast larger than 80x24 or 80x50 text mode that is a framebuffer mode supported by a hardware driver (radeonfb). *sigh* Sorry if I sound grumpy, just been trying to get this to work for a couple days with no luck.
Top
michaelb
l33t
l33t
User avatar
Posts: 686
Joined: Thu Jun 06, 2002 2:10 pm
Location: Ann Arbor, MI

  • Quote

Post by michaelb » Sun Feb 15, 2004 3:26 am

For what it's worth, even though you don't want to hear it, I have a Radeon card, but I use the vesa driver for my console frame buffer. I have a seriously yummy 1280x1024 console with no noticable dip in speed from not using framebuffer at all.
Behold, The power of SEARCH!
Top
cepler
n00b
n00b
Posts: 16
Joined: Wed Feb 11, 2004 10:18 pm
Location: Wilmington, DE

  • Quote

Post by cepler » Sun Feb 15, 2004 4:00 am

No noticeable dip in speed? So you got radeonfb to work? (Otherwise how could you say it wasn't noticeable? ;-P)

Anyhow, I did a bunch of googling and poking around and it looks like it's just not possible to use the FireGL drivers alongside the RadeonFB driver. And, to make matters worse, the Radeonfb.c that is included in most of the sources I've seen is VERY VERY VERY old. There was a newwer version in the XFS sources which explained how it couldn't coexist with FireGL X drivers. So, unfortunatly, I guess I'll do VESAVB. BAH!

I did get the driver to get past the not seeing the FB by doing a MEM=840M but then my sync got lost and I couldn't find a mode to make it work right. I guess I'll give VESA a shot again since it's all I'll be able to use.
Top
maw
Apprentice
Apprentice
Posts: 175
Joined: Sun Aug 25, 2002 6:54 pm
Location: Nottingham, UK
Contact:
Contact maw
Website

  • Quote

Post by maw » Wed Feb 25, 2004 3:47 pm

Perhaps you could enlighten us as to how you got vesafb to work at a decent resolution... whenever I try it, I get a totally black screen. That's with 2.6, a Radeon 9800 Pro and a 17" LCD plugged into the DVI port.
Your Gentoo woll sle me sodenly!
I may the beaute of it not sustene
(to misquote Chaucer)
Top
Instinct82
n00b
n00b
Posts: 42
Joined: Sat Aug 16, 2003 1:15 pm
Location: Trier, Germany
Contact:
Contact Instinct82
Website

  • Quote

Post by Instinct82 » Wed Feb 25, 2004 4:17 pm

well, in 2.6.3 there is an new version of radeonfb
i compiled it into the kernel using genkernel but initrd seems to use vesafb by default. i think after initrd startup, radeonfb can't be initialized because vesafb is already there

i get the message

Code: Select all

radeonfb: cannot reserve FB region
any hints on how to change the initrd's fb?
my gentoo boxes
Desktop:
AMD Athlon XP 2000+
512MB DDR
GeForce3 Ti200
Samsung SyncMaster 193T
Laptop:
Asus M6800N 1,5GHz
768MB DDR
Radeon 9600 Mobility
Router:
Intel Pentium 90, 128MB RAM, True Headless
Top
michaelb
l33t
l33t
User avatar
Posts: 686
Joined: Thu Jun 06, 2002 2:10 pm
Location: Ann Arbor, MI

  • Quote

Post by michaelb » Thu Feb 26, 2004 3:43 pm

cepler wrote:No noticeable dip in speed? So you got radeonfb to work? (Otherwise how could you say it wasn't noticeable? ;-P)
No noticable change from not using framebuffer at all. For the record, I use the vesa driver for console only, my X server is using the accelerated radeon driver.

Hopefully that clears up any confusion over my last post.
Behold, The power of SEARCH!
Top
g3n
Guru
Guru
User avatar
Posts: 543
Joined: Sat Dec 13, 2003 6:52 pm
Location: México

  • Quote

Post by g3n » Thu Feb 26, 2004 10:12 pm

My Radeon Mobility M6 had a problem too, if it is configured with the radeon FB module it appear to be out of sync (the flat panel). But with Vesa i got no problems and i see no slowdown.
--[G]--
Top
patroclo7
n00b
n00b
Posts: 68
Joined: Sat Feb 28, 2004 7:57 pm
Contact:
Contact patroclo7
Website

  • Quote

Post by patroclo7 » Mon Mar 01, 2004 7:31 pm

I have an Ati Radeon Mobility U1 and I compiled the radeonfb in kernel 2.6.3 WITHOUT compiling the vesa one. In this way, during the boot, the console goes automatically to full screen, with the penguin icon on the top). However, the behaviour of the framebuffer is far from ideal: he has problems to sync and refresh and sometimes it generates strange images... However I do not want to go back to vesa one, in so far as the radeonfb allows me to use all my screen resolution (1024x768).
You do not need to pass any option through the bootloader: the radeonfb guesses the screen data from the BIOS.
I do not know if some option could resolve the sync and refresh troubles, also because it seemingly (looking to the logs) ignores any option: it appears to consider only the biosdata.

Anyway, if you need for some reasons to have also the vesafb, I think you can avoid it from taking the prominence passing the option "vga=normal".

Another problem with radeon is that it is officially incompatible with any bootsplash image. On the contrary, vesafb is fully compatible... But I never succeeded in giving it the proper resolution, so I definitely prefer some sync error and no bootsplash than the horrible vesa resolution. Obviously, if someone si able to teach me how to give a decent resolution to vesafb, I'll come back!

Giorgio Lando
Top
Master One
l33t
l33t
User avatar
Posts: 754
Joined: Mon Aug 25, 2003 5:14 pm
Location: Austria

  • Quote

Post by Master One » Mon Mar 01, 2004 9:56 pm

Yeah, it's pretty weird. I have a ATI Radeon 9200SE 64MB, and tried it with the radeonfb and vesafb.

With radeonfb it seem indeed that no screenmode-options (using vga=...) are processed, it always gave me a strange low-res which did not fit in my 17" flat-panel, and I could not find any way to influence this behavior.

With vesafb I get it working using the vga=... option, but strangely I only can get up to 1024x768 (so vga=792). When I try it with 1280x1024 (like vga=795), I get a nasty flickering picture at 87 Hz with is barely readable...

No idea, what this is all about. I already searched the forum, but all I could find was some postings reporting the same problem on a Radeon card, but no sollution for this problem.

Maybe someone has a clue and likes to share. I would like to have my console running with a framebuffer on 1280x1024.
Las torturas mentales de la CIA
Top
patroclo7
n00b
n00b
Posts: 68
Joined: Sat Feb 28, 2004 7:57 pm
Contact:
Contact patroclo7
Website

  • Quote

Post by patroclo7 » Mon Mar 01, 2004 11:45 pm

Actually, you can pass options to the kernel, but not through "vga=... " You need vga=normal only to disable the eventually coinstalled vesa...
Moreover, I manage to make it work fine on my 15' screen of a Compaq Presario 2120, with the maximum resolution of 1024x768 automatically detected from the bios. The troubles which I explain above disappear, passing the "noaccel" option to the kernel... The acceleration in the framebuffer is not very useful and I can live fine without it!!!!
The only remaining troubles are:
1) a bit of strange colours when the boot-penguin appears;
2) in the first 4-5 seconds of the boot-up, the resolution is that of the previous vesafb... It seems that radeonfb is used afterwards. Very unimportant troubles, in my opinion... I read somewhere googling that they are well-known bugs.

I passed these options to the kernel (adding it to the kernel line in grub.conf):

video=radeonfb:1024x768,noaccel

I think that, in this way, also the resolution you like is substituted to that taken from the bios, but I'm not sure, since in my situation they coincide... Note that after "video=" you have to write "radeonfb" only in 2.5 and above kernels... in 2.4 kernels write "radeon" instead, without "fb"...
You find a complete how-to for radeonfb, with many more options and their detailed syntax at this address:

http://thesapphirecat.iwarp.com/present ... eonfb.html

The author affirms that his guide has to be referred to 2.4 kernels only... But I can tell you that the only differences in the newer kernels concern the change of name from "radeon" to "radeonfb" :-)))

Giorgio Lando
Top
Master One
l33t
l33t
User avatar
Posts: 754
Joined: Mon Aug 25, 2003 5:14 pm
Location: Austria

  • Quote

Post by Master One » Thu Mar 11, 2004 9:00 am

Didn't look at this any further, as I now use vesafb with 1024x768 at the console, disabled the radeonfb in my kernel, which does not matter anyway, as these two machines with ATI Radeon's 9200SE are now used as servers, and I only connect to them using ssh. I'll probably will install Gentoo also on my workstation and notebook, which use Radeon 9200 and Radeon Mobility 9000, then I'll play arround with it again.
Las torturas mentales de la CIA
Top
pjp
Administrator
Administrator
User avatar
Posts: 20668
Joined: Tue Apr 16, 2002 10:35 pm

  • Quote

Post by pjp » Thu Mar 11, 2004 6:06 pm

Moved from Installing Gentoo.
Quis separabit? Quo animo?
Top
sapphirecat
Guru
Guru
Posts: 376
Joined: Wed Jan 15, 2003 4:09 am

  • Quote

Post by sapphirecat » Fri Mar 12, 2004 2:15 am

Radeons have issues. A number of them always report 1024x768 for any flat panel connected to the DVI port. This manifests in breakage with VESA drivers (both fbcon and XFree86), and radeonfb defaulting to the lower-resolution mode as well. There are currently (as in, "being posted to linux-fbdev-devel earlier today") patches going to Andrew Morton to use EDID data from the monitor to figure out the available modes for 2.6.

Meanwhile, specifying a specific mode and resolution to radeonfb would be an option, except it's still broken because the driver believes the BIOS over the command-line panel_yres parameter. I have a page with my collected radeonfb knowledge and a patch (but against 2.4) here. The patch should be pretty trivial to port to 2.6, and I'd be willing to post it if someone did port it and sent it to me.
Former Gentoo user; switched to Kubuntu 7.04 when I got sick of waiting on gcc. Chance of thread necro if you reply now approaching 100%...
Top
chrisyu
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Thu Apr 10, 2003 1:36 am
Location: China

  • Quote

Post by chrisyu » Fri Mar 12, 2004 3:26 am

I use love-sources-2.6.4-rc2-love1, which include the radeonfb patch.
And my boot parameter

Code: Select all

vga=0x31A video=radeonfb:accel,mtrr,1280x1024-16@76
It works basicly well, only one problem to me.
If start into X, then press ALt+F? to switch to console, console get messed.
When you press Alt+F7 back to X, X get messed too.
After logout X, everything is fine.

I use radeonfb because it's faster in console.
And important , it dosn't have a bug while vesafb has(it's fixable).
The bug will cause a performence problem.
Please check this thread on rage3d.
http://www.rage3d.com/board/showthread. ... d=33736241
Top
g3n
Guru
Guru
User avatar
Posts: 543
Joined: Sat Dec 13, 2003 6:52 pm
Location: México

  • Quote

Post by g3n » Tue Mar 30, 2004 2:59 pm

I m emerging with the framebuffer and kernel 2.6.5-r2, can i install the framebuffer in it? can i have bootsplash?

I think the first could be done, but the second... uhm... :?
--[G]--
Top
patroclo7
n00b
n00b
Posts: 68
Joined: Sat Feb 28, 2004 7:57 pm
Contact:
Contact patroclo7
Website

radeonfb and bootsplash with 2.6.5-r2-mm3

  • Quote

Post by patroclo7 » Wed Mar 31, 2004 1:26 pm

I'm using your same 2.6.5-r2-mm3 kernel. My video card is a Radeon Mobility IGP 320 U1. Radeonfb is functioning, but: in my system it is usable only at 32 bpp. At 16, you need to turn off acceleration, otherwise the console will be ALWAYS confused. Moreover, also at 32, passing to X and returning back is slow and confusing. Finally, radeonfb has some problem in booting, with a strenge chromatic effect which fortunately disappears soon.
About splash: this kernel has not the bootsplash patch in itself, but you can aplly it... You have to aplly the patch SPECIFIC to this kernel (nor that for 2.6.4 nor that for 2.6.5-r1-mm1 are good...) You find the link to the correct patch in the framebuffer & bootsplash support thread in the forums.
In order to use bootsplash images you need to follow the instructions in the tips & tricks specific thread. Moreover... You CAN NOT use radeonfb, and you CAN NOT have framebuffer at 32 bpp. The only choice available for using bootsplash images and framebuffer is vesafb at bpp. However, the refresh ratesn in vesafb are much bettere than before: I can use it at 76 Hz
Actually, I'm using this last solution. I have not the problem with mtrr mentned in a previous post (and in the corresponding link).

A last observation: with this kernel, nor radeonfb nor vesafb have any negative impact on using DRI in X; such compatibility (in particular between radeonfb and radeon rdm) was on the contrary affecting previous kernels.
Top
g3n
Guru
Guru
User avatar
Posts: 543
Joined: Sat Dec 13, 2003 6:52 pm
Location: México

  • Quote

Post by g3n » Wed Mar 31, 2004 3:39 pm

Ok ill try it and tell you what happen as soon as kde finish to compile.
--[G]--
Top
Sudrien
Apprentice
Apprentice
Posts: 207
Joined: Wed Oct 01, 2003 4:05 pm
Location: Michigan
Contact:
Contact Sudrien
Website

Re: radeonfb and bootsplash with 2.6.5-r2-mm3

  • Quote

Post by Sudrien » Tue Apr 06, 2004 5:02 pm

patroclo7 wrote:At 16, you need to turn off acceleration, otherwise the console will be ALWAYS confused.
Just what I needed :wink: I was tired to switching between consoles.


-Sud.
...
Top
MADcow
l33t
l33t
Posts: 742
Joined: Thu Jan 23, 2003 1:24 am
Location: RIT (Henrietta, New York, United States)

  • Quote

Post by MADcow » Fri Apr 09, 2004 12:06 am

hmm, works well for me.. i'm using love-2.6.5-rc1
only problem is that when i switch from X back to a VT, the screen goes all scrambley and the box totally crashes
the keyboard leds (numlock, capsloc, etc) don't even work
wah
Top
Post Reply

19 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic