SliTaz SliTaz Forum

You are not logged in.

#1 2012-08-22 11:59:37

christopherb
Member
Registered: 2012-08-22
Posts: 9

Videos Playback In Black and White

Hi all,

Firstly I just want to say that SliTaz is THE BEST OS, I am completely blown away.

So I am having one issue, when watching videos in VLC, the video is squashed up to 50% the actual video width and it playback in black and white....

This happens with flv, avi, mp4 etc..

Videos on YouTube are perfect, so I presume it's something to do with a needed codec.

All comments are welcome, thanks.

[attachment=13069,631]

Offline

#2 2012-08-23 01:08:46

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Videos Playback In Black and White

The video out driver on vlc player requires xorg setup with OpenGL video acceleration with direct hardware rendering.

Youtube videos in web browser are played by libflashplayer.so which doesn't have that requirement.

Offline

#3 2012-08-23 07:17:56

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Videos Playback In Black and White

What mojo means is that you probably should setup your video driver properly. I have similar issues with full screen in programs like ZSNES and VLC displayed videos when using the vesa video driver. When I install the proper sis video driver for my system (and remove vesa), those issues go away. Maybe the same will work for you. The OpenGL acceleration isn't really needed, but the direct hardware rendering is.

EDIT: Btw, how are you doing that panel? It looks awesome.

Offline

#4 2012-08-24 07:57:16

christopherb
Member
Registered: 2012-08-22
Posts: 9

Re: Videos Playback In Black and White

Hey,

@Trixar, the bar at the bottom is the normal Cairo-Dock, and them I just changed the Dock's theme tot hat one.

When I do a terminal run with

"tazhw detect-pci"

I get:

"snd_intel8x0"

I then install the correct driverc, but it still gives me a 800X600 screen resolution and a black and white video...

how do I modify my driver? I'm new to these kinda problems. I used to run Linux Mint.

Offline

#5 2012-08-24 09:54:17

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Videos Playback In Black and White

That's the sound driver. Try running tazx from terminal and let it install the video driver for your system. You have to reboot for it to take effect. If it still defaults to vesa instead of the right video driver, then you may have to tazpkg remove xorg-xf86-video-vesa to force it to use the right driver.

As a side note about Linux Mint, SliTaz isn't really out of the box (yet). I am working on a side project that will include most things out of the box while still fitting under 50MB for SliTaz. It's still far from complete, but should be the Linux Mint of the SliTaz world tongue

Offline

#6 2012-08-24 10:45:44

christopherb
Member
Registered: 2012-08-22
Posts: 9

Re: Videos Playback In Black and White

hmm, it doesn't work with the intel driver, it says

no monitor 0:0

something like that, then i reinstall the vesa driver and then it works, but still with the small resolution, I'm running a i7 laptop, can that be the problem?

Offline

#7 2012-08-24 11:14:42

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: Videos Playback In Black and White

please post the output of:

a)

[c]tux@slitaz:~$ lspci -nn | grep -i VGA[/c]

b)

[c]tux@slitaz:~$ cat /etc/X11/xorg.conf | grep Driver[/c]

and c)

[c]tux@slitaz:~$ cat /var/log/Xorg.0.log | grep EE[/c]

For info, here is my output for a) and b):

[c]tux@slitaz:~$ lspci -nn | grep -i VGA
01:00.0 VGA compatible controller [0300]: nVidia Corporation G84M [Quadro FX 570M] [10de:040c] (rev a1)
tux@slitaz:~$
tux@slitaz:~$ cat /etc/X11/xorg.conf | grep Driver
    Driver         "mouse"
    Driver         "kbd"
    Driver         "nvidia"
tux@slitaz:~$[/c]

Offline

#8 2012-08-24 11:23:42

christopherb
Member
Registered: 2012-08-22
Posts: 9

Re: Videos Playback In Black and White

00:02.0 VGA compatible controller [0300]: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter [80ee:beef]

---------------

# You can put here your own Xorg configurations. This config file is read

# before all files in /etc/X11/xorg.conf.d and will NOT be erased by any

# updates.

-------------------

    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[     8.701] (II) Loading extension MIT-SCREEN-SAVER

[     9.203] (EE) VirtualBox USB Tablet: failed to initialize for relative axes.

Offline

#9 2012-08-24 12:55:14

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: Videos Playback In Black and White

With the lspci command I thought to find out what is graphic board. Obviously [c]... VirtualBox ...[/c] means you are running a virtual machine. I might be wrong anyway.

Here are the steps to set xorg for your graphic hardware:

http://doc.slitaz.org/en:handbook:xwindow?s[]=tazx#xorg

Once xorg installed, it may be useful to post the xorg.log file contents.

Hope it helps.

Offline

#10 2012-08-24 14:38:23

christopherb
Member
Registered: 2012-08-22
Posts: 9

Re: Videos Playback In Black and White

after installing the intel driver, which is a Intel HD family card of 1500mb, and running the Xorg testing, I get a black screen, then I restart and run the slim then i get a GUI.. I'll upload the log file later

Offline

#11 2012-08-31 07:59:08

christopherb
Member
Registered: 2012-08-22
Posts: 9

Re: Videos Playback In Black and White

in the end, I set MPlayer to use x11 and not the xv...that fixed it.

Offline

#12 2012-08-31 09:03:46

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: Videos Playback In Black and White

wow, good to know. Thx for sharing.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]