LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-21-2004, 05:16 PM   #1
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
Question How do i activate the Frame Buffer in Mandrake 10?


Hi,

I want to know how I can activate the framebuffer in Mandrake 10. Below gives a copy of my lilo.conf and I have the necessary i810fb drivers compiled in, and i can do modprobe and that adds /dev/fb0.

However, I dont understand how to activate the framebuffer console after doing the modprobe. Any ideas?

Also, how can i create a framebuffer console boot up in lilo.conf? (the Mandrake-10-FB option doesnt seem to work, as I dont see any pengui logos on the screen after activating is :S as I supposed should)

Thanks in Advance,
Paul


Current lilo.conf:
Code:
boot=/dev/hda
map=/boot/map
default="Mandrake-10"
keytable=/boot/uk.klt
prompt
nowarn
timeout=300
message=/boot/message
menu-scheme=wb:bw:wb:bw
# vga=787
vga = normal
# See http://www.jeepster.org.uk/cli/cli.html for more details
image=/boot/vmlinuz
	label="Mandrake-10"
	root=/dev/hda5
	initrd=/boot/initrd.img
	append="devfs=mount acpi=ht resume=/dev/hda6"
	read-only
image=/boot/vmlinuz
	label="Mandrake-10-FB"
	root=/dev/hda5
	initrd=/boot/initrd.img
	append="video=i810fb xres=800 yres=600 bpp=16 devfs=mount acpi=ht resume=/dev/hda6"
	read-only
image=/boot/vmlinuz
	label="Failsafe"
	root=/dev/hda5
	initrd=/boot/initrd.img
	append="failsafe acpi=ht resume=/dev/hda6 devfs=nomount"
	read-only
other=/dev/hda1
	label="Windows-XP"
	table=/dev/hda
other=/dev/fd0
	label="Floppy"
	unsafe
 
Old 06-21-2004, 05:33 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Code:
vga=787
# vga = normal
try that.
 
Old 06-23-2004, 04:06 PM   #3
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Original Poster
Rep: Reputation: 30
This seems to have no effect on the mandrake system at all.

Any other ideas how i can load the module then run switch over to the framebuffer device?

Thanks in advance
 
Old 06-23-2004, 04:43 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
you won't be able to switch over half way....

you did run "lilo" as root after you changed the file right?
 
Old 06-24-2004, 03:19 PM   #5
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Original Poster
Rep: Reputation: 30
yes i did run lilo as root.

No /dev/fb0 is created when booting, and there is not any penguin log displayed as there should be on a framebuffer console.

Is mandrake somehow overriding the settings? The screen flickers slightly when going from lilo boot loader to start the mandrake boot, which it didnt used to do, so it seems to have had some effect, but not the one i am looking for.

Thanks,
 
Old 06-24-2004, 05:02 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
ok well change it to "vga = ask" and reboot. this will give you a menu, so you can be sure that the settings are taking effect. you'll want to add 200 ( i think ) to the listed resolution in order to use the framebuffer equivalent of each mode. see the framebuffer howto for full table of the values you can try. But mandrake will not be overriding anything. there is no where for it to do this... unless there is simply no framebuffer compiled into the kernel, which is pretty unlikely.
 
Old 06-25-2004, 03:36 PM   #7
pnh73
Member
 
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Original Poster
Rep: Reputation: 30
ok, it throws up an "Invalid video mode passed. Press Return for list....." message (or something like that. I then did 'scan' to see what was available. It only gave me resolutions for consoles, so i chose the highest one, it wouldnt let me add 200 to the option as i had to chose 0-9 or a-f. I chose the max one, but it didnt do anything. The following is my /etc/modules.conf

Code:
options i810fb xres=1024 yres=768 hsync1=69 vsync1=85 vram=2 bpp=16 accel=1 mtrr=1
probeall scsi_hostadapter imm ppa
probeall usb-interface usb-uhci
alias eth0 driverloader
I did follow the instructions on http://i810fb.sourceforge.net/howto/x83.html#AEN278 and when i run

# modprobe i810fb

it loads and creates /dev/fb/0 which is not present before hand. I can then run software framebuffer software (some that i developed with Qt/Embedded, and their examples) on that device, but I can't see it :s

I have tried MPlayer and that flicked to the device somehow to show the display, but then went again.

Also, when I do the modprobe, would it be suggestable to exit KDE/X Windows to a real console to do anything further to try and get this to work?
 
  


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
frame buffer problem sureshraju Linux - Software 3 06-29-2005 09:17 AM
Frame Buffer problem sureshraju Programming 0 06-29-2005 08:14 AM
Frame buffer bkeating Linux - Newbie 6 04-22-2003 06:09 PM
lilo (frame buffer maybe??) watashiwaotaku7 Linux - Software 6 03-10-2003 04:25 PM
kernel 2.4.17 and frame buffer help hanzerik Linux From Scratch 2 03-12-2002 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:01 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration