LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-24-2010, 03:11 AM   #16
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48

# ls -l /dev/fb*
ls: /dev/fb*: No such file or directory
 
Old 02-24-2010, 03:25 AM   #17
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Right, then we need to do extra work. Assuming that your kernel supports it (I have no idea if it will) you should be able to enable it by adding the vga parameter to your kernel boot line. To do so you need to edit either /etc/lilo.conf of /boot/grub/menu.lst. I haven't used lilo for ages, and I don't know if RHEL uses grub or lilo as its bootloader. You will have to find yourself or ask around if no one here knows.

In the case of grub, a tipical entry in menu.lst looks like this:

Code:
title whatever
        root (hd1,1)
        kernel /boot/vmlinuz 3 root=/dev/sdb1 vga=791
This is just a guide, don't copy-paste it, just look at the red example and modify your menu.lst file adding the vga=xxx stuff to your kernel line.

Mode 791 is 1024x768. You can use "vga=ask" instead if that doesn't work, and grub will present you with a list of valid modes the next time you boot so you can choose. After this, save the file and reboot. If your kernel has been compiled with fb support you should see smaller (and hopefully nicer) text than usual while booting, that will be a sign that the framebuffer is on. If not, then probably you will need to compile your own kernel, with fb support.
 
Old 02-24-2010, 03:26 AM   #18
Refractor
Member
 
Registered: Oct 2008
Location: Rousse, Bulgaria
Distribution: Slackware
Posts: 89

Rep: Reputation: 24
Hello! If I understood correctly, you've got a working X server, correct? If this is the case, you should have the Xv Driver available while your X server is running. You can try opening a terminal while in your Desktop enviroment and trying mplayer -vo help. If Xv is not in the list, you could try installing the whole development section from the graphical frontend of yum (In Fedora 7 and Fedora 8 when PIRUT whas the package manager there was a whole Section named Development with X Development, KDE development, etc) and try to compile mplayer again. If not, you could always try Slackware... Version 13 comes with preinstalled MPlayer with support for almost every format there is (that includes mkv).

--
Good luck!
 
Old 02-24-2010, 03:43 AM   #19
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
(1)to Refractor
$mplayer -vo help
fbdev Framebuffer Device
fbdev2 Framebuffer Device
cvidix console VIDIX
null Null video output
mpegpes MPEG-PES to DVB card
yuv4mpeg yuv4mpeg output for mjpegtools
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame
That is why I am trying to watch video using vidix.
(2)In RHEL devel of x11 are not available.Here is what I tried .
Code:
[root@zenlin57 installed_softwares]# rpm -ivh gtk2-devel-2.10.4-20.el5.i386.rpm 
warning: gtk2-devel-2.10.4-20.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
	atk-devel >= 1.9.0-1 is needed by gtk2-devel-2.10.4-20.el5.i386
	cairo-devel >= 1.2.0-1 is needed by gtk2-devel-2.10.4-20.el5.i386
	glib2-devel >= 2.12.0-1 is needed by gtk2-devel-2.10.4-20.el5.i386
	libX11-devel is needed by gtk2-devel-2.10.4-20.el5.i386
	libXcursor-devel is needed by gtk2-devel-2.10.4-20.el5.i386
	libXext-devel is needed by gtk2-devel-2.10.4-20.el5.i386
	libXfixes-devel is needed by gtk2-devel-2.10.4-20.el5.i386
	libXi-devel is needed by gtk2-devel-2.10.4-20.el5.i386
	libXinerama-devel is needed by gtk2-devel-2.10.4-20.el5.i386
	libXrandr-devel is needed by gtk2-devel-2.10.4-20.el5.i386
	pango-devel >= 1.13.0-1 is needed by gtk2-devel-2.10.4-20.el5.i386
[root@zenlin57 installed_softwares]# rpm -ivh libX11-devel-1.0.3-9.el5.i386.rpm 
warning: libX11-devel-1.0.3-9.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
	libXau-devel is needed by libX11-devel-1.0.3-9.el5.i386
	libXdmcp-devel is needed by libX11-devel-1.0.3-9.el5.i386
	xorg-x11-proto-devel >= 7.1-2 is needed by libX11-devel-1.0.3-9.el5.i386
[root@zenlin57 installed_softwares]# rpm -ivh libXau-debuginfo-1.0.1-3.1.i386.rpm 
warning: libXau-debuginfo-1.0.1-3.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
	package libXau-debuginfo-1.0.1-3.1.i386 is already installed
[root@zenlin57 installed_softwares]# rpm -ivh mesa-libGL-devel-6.5.1-7.7.el5.i386.rpm 
warning: mesa-libGL-devel-6.5.1-7.7.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 82fd17b2
error: Failed dependencies:
	libX11-devel is needed by mesa-libGL-devel-6.5.1-7.7.el5.i386
[root@zenlin57 installed_softwares]# rpm -ivh xorg-x11-drv-openchrome-debuginfo-0.2.903-1.el5.i386.rpm 
Preparing...                ########################################### [100%]
	package xorg-x11-drv-openchrome-debuginfo-0.2.903-1.el5.i386 is already installed
[root@zenlin57 installed_softwares]# rpm -ivh xorg-x11-proto-devel-7.1-13.el5.i386.rpm 
warning: xorg-x11-proto-devel-7.1-13.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 192a7d7d
error: Failed dependencies:
	mesa-libGL-devel is needed by xorg-x11-proto-devel-7.1-13.el5.i386
[root@zenlin57 installed_softwares]# 

Last edited by sumeet inani; 02-24-2010 at 06:01 AM.
 
Old 02-24-2010, 10:55 PM   #20
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
to i92guboj
I added vga=ask in /boot/grub/menu.lst at the end of kernel line. As expected on reboot it gave the modes. To quote
Code:
video adapter:vesa vga
MOde columns
0     80x25
1     80x50
so on ...
I selected one of those by pressing number followed by enter & the boot messages came on screen with specified rows & columns. Still no luck I don't get anything starting with fb in /dev.
[root@zenlin57 abhiluv]# ls -la /dev | grep -i fb
[root@zenlin57 abhiluv]#
What else can I do ?

Last edited by sumeet inani; 02-24-2010 at 11:08 PM.
 
Old 02-25-2010, 01:54 AM   #21
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
80x25, 80x50, etc. are still text modes. Graphics modes should look like 640x480, 800x600, 1024x768 and so on. So try to look for these in grub and choose one of them.

Maybe your kernel doesn't support fb at all (that shouldn't matter to grub though), or maybe it's your display which is somewhat limited. Do you have a /proc/config.gz file? If so, please, post the output for this command, which will show us your fb related config for your kernel:

Code:
zcat /proc/config.gz | grep FB
 
Old 02-26-2010, 11:24 AM   #22
sumeet inani
Member
 
Registered: Oct 2008
Posts: 895
Blog Entries: 26

Original Poster
Rep: Reputation: 48
to i92guboj
Here are contents of /proc.
As you can see nothing starting with config
Code:
0 1/	 0 203/    0 2468/  0 3113/  0 3407/  0 372/   0 3823/	0 413/	 0 8/		0 ioports     0 stat
0 10/	 0 20389/  0 2470/  0 3114/  0 3410/  0 3745/  0 3826/	0 417/	 0 9/		0 irq/	      0 swaps
0 11/	 0 20390/  0 2495/  0 3115/  0 3413/  0 3747/  0 3832/	0 418/	 0 acpi/	0 kallsyms    0 sys/
0 128/	 0 20391/  0 2499/  0 3135/  0 3425/  0 3753/  0 3844/	0 425/	 0 asound/	0 kcore       0 sysrq-trigger
0 129/	 0 204/    0 2535/  0 3148/  0 3500/  0 3755/  0 3846/	0 4259/  0 buddyinfo	0 keys	      0 sysvipc/
0 132/	 0 20709/  0 2568/  0 3166/  0 3505/  0 3756/  0 3856/	0 4260/  0 bus/		0 key-users   0 tty/
0 134/	 0 20710/  0 2602/  0 3174/  0 3510/  0 3758/  0 3860/	0 4261/  0 cmdline	0 kmsg	      0 uptime
0 15/	 0 20711/  0 2603/  0 3186/  0 3511/  0 3761/  0 3863/	0 438/	 0 cpuinfo	0 loadavg     0 version
0 16/	 0 20985/  0 2610/  0 3197/  0 3515/  0 3763/  0 3868/	0 4402/  0 crypto	0 locks       0 vmcore
0 17/	 0 2209/   0 2629/  0 3209/  0 3517/  0 3778/  0 3883/	0 4403/  0 devices	0 mdstat      0 vmstat
0 1950/  0 2218/   0 2640/  0 3242/  0 3518/  0 3782/  0 3885/	0 4404/  0 diskstats	0 meminfo     0 zoneinfo
0 1951/  0 2219/   0 2646/  0 3255/  0 3525/  0 3784/  0 3887/	0 4456/  0 dma		0 misc
0 1952/  0 2220/   0 2671/  0 3266/  0 3526/  0 3788/  0 3906/	0 4461/  0 dri/		0 modules
0 1980/  0 2224/   0 2711/  0 3277/  0 3580/  0 3791/  0 3961/	0 4468/  0 driver/	0 mounts
0 1982/  0 2229/   0 2835/  0 3306/  0 3615/  0 3793/  0 4/	0 4469/  0 execdomains	0 mtrr
0 1995/  0 2230/   0 2855/  0 3327/  0 3617/  0 3796/  0 404/	0 4470/  0 fb		0 net/
0 1999/  0 2233/   0 2879/  0 3351/  0 3618/  0 3801/  0 405/	0 466/	 0 filesystems	0 partitions
0 2/	 0 2243/   0 2899/  0 3387/  0 3677/  0 3808/  0 406/	0 5/	 0 fs/		0 schedstat
0 200/	 0 2244/   0 3/     0 3388/  0 3709/  0 3816/  0 410/	0 504/	 0 ide/		0 scsi/
0 201/	 0 22670/  0 3111/  0 3399/  0 3716/  0 3819/  0 411/	0 6/	 0 interrupts	0 self
0 202/	 0 23030/  0 3112/  0 3400/  0 3718/  0 3822/  0 412/	0 7/	 0 iomem	0 slabinfo

Last edited by sumeet inani; 03-02-2010 at 02:56 AM.
 
  


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
How to loop or repeat video in MPlayer GUI? Trey2501 Linux - Software 3 08-29-2015 07:46 PM
Xserver failed,not able to watch GUI ravi_chobey Linux - Software 1 08-07-2008 06:30 AM
How to watch movie while recording in Mplayer? linx win Debian 3 01-27-2007 02:05 PM
Watch Commands Execute in GUI within background lennysokol Linux - General 1 05-16-2005 03:53 PM


All times are GMT -5. The time now is 01:24 AM.

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