SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I just installed latest mplayer from source but I cannot get the fullscreen view of the videos. I researched a bit and came to the conclusion that the video output driver (ie vo) should be xv but It looks like i dont have xv. When I run xvinfo i get :
X-Video Extension version 2.2
screen #0
no adaptors present
So I used vo x11 but it has the fullscreen problem. I know the quick solution to this is to use -zoom option *but* its *not* the same. You get fullscreen but its software zoom, by xv you get hardware zoom and its very easy to tell the difference.
What I want is a method to enable/install xv for my X window. Do I need a latest version of X (X11R7 or something) ?
I have Intel D945GCL chipset with pentium D (still I have to suffer with the bad video quality )
Its really a pain to get dri working. I tried and failed. First I installed the kernel module drm.ko (direct rendering manager reqd by dri), then I saw on dri.freedesktop.org (http://dri.freedesktop.org/wiki/Building) that dri can be available with mesa3d, then I went to mesa and downloaded it, it said you need libdrm to compile . Then I installed libdrm. Back to mesa I tried 'make linux-dri-x86' and 'make install' It successfully compiled and installed mesa libs and dri modules in x11 directories.
After that , I made /sbin/modprobe drm entry in rc.modules. REBOOT
Everything works as it was before. NO EFFECT of all that jazz. glxinfo shows direct rendering: No
I dont know how all these thing are related
DRM DRI MESA XV GL X11
If so, what part failed. There have been issues in the past with that card and the framebuffer. Just in case, I would change the 'vga=' line in '/etc/lilo.conf' to 'vga=normal'.
And what my take on this:
* Mesa is slow, indirect, software 3D rendering (if you're card doesn't support OpenGL very well (maybe because of drivers), this is what you gotta use)
* GL is fast, direct, hardware 3D rendering (if you are lucky and have a good card and drivers)
* DRI is "direct rendering infrastructure", which allows 3D direct rendering
Quote:
This driver essentially converts OpenGL command sequences into hardware commands. It then uses the kernel module to transmit the commands to the hardware. The 3D driver and kernel module basically implement the entire OpenGL rendering pipeline. The 3D driver implements as much of it as possible in user space while the kernel module does whatever is needed in kernel space.
* DRM is just the direct rendering (kernel) module
* XV is an X video extention that allows for 2D hardware direct rendering (not 3D)
Quote:
Under XFree86 4.0.2 or newer, you can use your card's hardware YUV routines using the XVideo extension. This is what the option -vo xv uses. Also, this driver supports adjusting brightness/contrast/hue/etc. (unless you use the old, slow DirectShow DivX codec, which supports it everywhere), see the man page.
Outputs to X11 (uses shared memory extension), with no hardware acceleration at all. Supports (MMX/3DNow/SSE accelerated, but still slow) software scaling
Well actually nothing failed. Here is a sequence of what I did
1. Install drm modules in kernel modules directory
2. added /sbin/modprobe drm to rc.modules
3. Installed libdrm (reqd by mesa3d)
4. Install mesa3d by make linux-dri-x86 and make install (this *will* enable dri in mesa as per their docs)
5. thats all .. i think
Everything worked. Still I dont understand how mesa3d is related to xv? And ofcourse glxinfo says direct rendering: No
May be I an not able to tell(?) X to use the new mesa libs.
Also I found out my graphics card Intel GMA950 has got problem using xv according to this guy.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
by the way i also have an intel 915 GMA and i have dri enabled.In default settings mplayer works fine with me but when i append -vo x11 in the command i get the same problem as yours, that is it does not go into fullscreen mode.Just a note.
Also some parts of Xorg.0.log in which it shows loading dri and drm modules
Code:
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "xtrap"
(II) Loading /usr/X11R6/lib/modules/extensions/libxtrap.a
(II) Module xtrap: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.