View Full Version : how can i get 1920 x 1080 video output useing mplayer in console mode ?


kofboy
09-30-06, 02:37 PM
how can i get 1920 x 1080 video output useing mplayer in console mode ?

my graphical card is i865G

nitrogen
09-30-06, 11:36 PM
how can i get 1920 x 1080 video output useing mplayer in console mode ?

my graphical card is i865G

Check the documentation in /usr/src/linux/Documentation/fb/

You can probably compile vesafb-tng into your kernel (or the i865 driver if one exists) and run in a 1920x1080 mode. Your kernel command line would include an option like:

video=vesafb:gtf:mtrr:1920x1080-32@60

Mplayer may also have a driver to directly access the video card's overlay function. Check "man mplayer".

kofboy
10-01-06, 03:21 AM
thanks a lot, i'll try it.

did overlay function means hardwear overlay resize and calibration? that's great! how to set it, such as brightness and gamma?

LV Tehnoman
10-02-06, 04:42 PM
Hello... One question I think related to this.

Is there any chance to use Frame Buffer (and fb console) together with NVIDIA closed drivers? And if yes, how?

nitrogen
10-06-06, 12:21 AM
Hello... One question I think related to this.

Is there any chance to use Frame Buffer (and fb console) together with NVIDIA closed drivers? And if yes, how?

If you mean use the framebuffer for console while still using nvidia's drivers for X, then yes, this is possible. I use vesafb without any problems.

LV Tehnoman
10-06-06, 05:22 PM
Well, It's 50:50 what I meant!

But It's in one of my options... Nitrogen, do you use vesafb, that is compiled in kernel directly or as a module? And what abount kernel NVidia fb stuff?

When I compiled NVidia fb support into the kernel, I got fb console but NVIDIA closed drivers refused to load, 'couse fb was using VGA.

nitrogen
10-09-06, 02:31 AM
Well, It's 50:50 what I meant!

But It's in one of my options... Nitrogen, do you use vesafb, that is compiled in kernel directly or as a module? And what abount kernel NVidia fb stuff?

When I compiled NVidia fb support into the kernel, I got fb console but NVIDIA closed drivers refused to load, 'couse fb was using VGA.

I use vesafb built in. I've used it as a module, but when it's built in, it switches to graphical mode earlier in the boot up, and lets me have a boot splash screen.

The nvidia fb driver will probably not work with the nvidia X driver until nvidia decides to support some kind of embedded, X-independent OpenGL standard, at which point they will have to support the framebuffer.

kofboy
10-09-06, 03:44 PM
hello nitrogen:

I have looked at document of frambuffer, but can't find something abaut "vesafb-tng"? and no such argument in kernel config menu? i'm useing kernel 2.6.18

I just find a intel driver, and build it into kernel, then use it at kernel command line:


video=intelfb:mtrr,1920x1080-32@60



but it doesn't work. Then i found a hacked BIOS name 855resolution. so i build intelfb as a module of kernel. then add two line at bottom of rc.local:


855resolution 3a 1920 1080
modprobe intelfb mtrr mode=1920x1080-32@60


it still doesn't work. i just get a big screen (1920x1200). what shall i do?
this is something i found in dmesg:




.
.
intelfb: options: mode = "1920x1080-32@60"
intelfb: intelfb_set_fbinfo
intelfb: intelfb_init_var
intelfb: Looking for mode in private database
.
.
.
intelfb: No mode in private databases,
intelfb: looking for mode in global database
.
.
.
intelfb: Initial video mode is 1920x1200-32@60.
intelfb: Initial video mode is from 13.
intelfb: update_dinfo
.
.
.

kofboy
10-09-06, 04:26 PM
an other question.

"Mplayer may also have a driver to directly access the video card's overlay function. "
which one? do u mean vidix?


now i have got a resolutin 1366x768, the only one resolutin of 16:9 in console mode.
but mplayer can't accept this. just -vo vesa:nodga can work, and still useing 4:3 resolutin.

-vo fbdev can useing 16:9 resolutin, but got a white and black graphics.

-vo intelfb? no such a driver.

LV Tehnoman
10-10-06, 03:37 PM
I use vesafb built in. I've used it as a module, but when it's built in, it switches to graphical mode earlier in the boot up, and lets me have a boot splash screen.

The nvidia fb driver will probably not work with the nvidia X driver until nvidia decides to support some kind of embedded, X-independent OpenGL standard, at which point they will have to support the framebuffer.

Oh, I see... I do this stuff because I want a kind of more prettey start up than kernel text messeges too... :rolleyes: Could you give a link or direction where I can find more about it, the kernel options, how-to-compile-logos-in-kernel, fb stuff and so on, please! :)

EDIT: The ideal target is completley graphic startup...

Thanks!

kofboy
10-10-06, 10:58 PM
i just found a "vesafb-tng" patch for kernel. Then i can see "vesafb-tng" in kernel menu, and it has alse patched the document of framebuffer.


Looking at the new document. it seems VBE 3.0 has more features than VBE 2.0, and more arguments.


when i load vesafb-tng driver as a module with "mode=1920x1080-32@60", i got a black screen. it looks like my CRT can not accept this mode? may be i can set CRT arguments some where like modeline in xorg.conf? go on trying... :(

nitrogen
10-16-06, 10:42 PM
Check out http://www.bootsplash.org/.

Also look through the documentation to see if there is a way to specify interlaced modes with vesafb, as there is with a native driver. You may want to try 960x540 for the boot splash, then switch to 1920x1080 in X.

What video card are you using again?

Edit:

More useful URLs:

http://dev.gentoo.org/~spock/projects/vesafb-tng/
http://dev.gentoo.org/~spock/projects/gensplash/


Since there are two questions being asked here, could both of you please restate where you are at and where you want to go?

LV Tehnoman
10-17-06, 10:15 AM
OK, I'll be first! :)

At this time I have succesful installed NVIDIA closed drivers and they are working with X quite nice. I tried to compile in kernel NVIDIA fb support, but that resulted in closed driver mailfunction (As I got it - because the VGA was used as fb device).

And my present goal is to union fb device with NVIDIA X driver (as I understood, for this I should use vesafb - not yet done, but will try), and second - change grub to some of kind more "graphical" bootloader. Grub has it's splash image, but when loading kernel and initrd images it displays text. I realy liked Ubuntu LiveCD bootup appearence, where loading kernel image and initrd was graphical too, If you know what I mean! Which bootloader I should use for that? Maybe ISOLINUX?

Btw, my video card is NVIDIA 6150. :rolleyes:

kofboy
10-19-06, 02:13 PM
I just wont to play HDTV useing Geexbox. and get 1080i vga output for my CRT projector.

nitrogen
10-27-06, 12:05 AM
LV T:

I also have sought after fully graphical boot. Of course, the only way to completely achieve this is to use LinuxBIOS (http://www.linuxbios.org/), which doesn't support many motherboards (mine isn't on the list).

If you haven't figured out a fully graphical boot loader, check out Freespire and/or its original ancestor, Xandros. I haven't used Freespire/Linspire since it was called Lindows, but they had a fully graphical lilo that ran in a 256 color (?) VESA mode, and the kernel didn't touch the screen until X started. There were utilities that allowed the init scripts to display progress info on the screen.

If you have figured out a nice way of doing this, let us all know.

modul8r
02-10-07, 04:53 PM
I just wont to play HDTV useing Geexbox. and get 1080i vga output for my CRT projector.

I'm also interested in tweaking GeeXboX to run at 1080i, if it's possible. I'm told it supports up to 1600x1200 now ("VESA modes" I think) but that doesn't look right connected to my HDTV via DVI, because my HDTV only supports 480i, 480p, and 1080i.

kofboy
03-21-07, 11:07 AM
interlaced for DVI? interlaced is a working mode for CRT displayer. can interlaced image out put from DVI port?