rstorelli / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
0 stars 1 forks source link

White (not theme related) letterbox #659

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Since an upgrade of my system (and possibly gnome-mplayer) I've noticed that 
the originally black letterbox of video files that don't match my screen 
resolution has turned white. At first I thought that this issue might be caused 
by the GTK theme (even though I've been using the same one for months now). So 
I've changed themes, without result. I've downgraded GTK itself, without result.

I also launched gnome-mplayer from a terminal with the "-v" switch but didn't 
notice any strange output/warnings/errors.

Do you have any idea what might cause this problem?

Thanks in advance!

Original issue reported on code.google.com by wesley_g...@hotmail.com on 4 Dec 2012 at 9:35

GoogleCodeExporter commented 8 years ago
This question has actually be asked several times, and you don't mention which 
version of gnome-mplayer you are seeing this issue with. So I can only guess at 
the cause. But the most common cause is the setting of the video output to 
vdpau on an nvidia card, as that type of VO has issues with drawing of the 
background color of the video window.

Original comment by kdeko...@gmail.com on 5 Dec 2012 at 1:14

GoogleCodeExporter commented 8 years ago
My apologies, but I looked for relevant issues first before posting and did not 
found any solutions.

I'm using version 1.0.7 and tried changing the video output to some of the 
other options without success. I have an ATI video card, but I'm using the 
open-source drivers. Could it be possible that they are causing the problem? 
For I hadn't changed any of the options when the problem suddenly occured.

Original comment by wesley_g...@hotmail.com on 8 Dec 2012 at 12:42

GoogleCodeExporter commented 8 years ago
Actually, my primary development machine is using the open source ATI video 
driver. I'm using Fedora 17, soon to be 18. So I don't think it is the video 
driver that is causing it. 

What window manager or desktop are you using? Gnome, KDE, Unity? Perhaps that 
can give me more information.

Original comment by kdeko...@gmail.com on 8 Dec 2012 at 2:24

GoogleCodeExporter commented 8 years ago
Do you use a symlink for the .gtk-3.0 directory or
did you copy it into ~/.config/
to use a GTK3 theme together with a different GTK2 theme?

Original comment by thomas.s...@gmail.com on 8 Dec 2012 at 10:38

GoogleCodeExporter commented 8 years ago
My theme is set using gnome-tweak-tool and I am just using Adwaita.

That is a question for you, are you using gnome-mplayer compiled in GTK3 mode 
on a GTK2 desktop? Perhaps that could be the reason for the issues you are 
seeing.

Original comment by kdeko...@gmail.com on 8 Dec 2012 at 11:23

GoogleCodeExporter commented 8 years ago
I'm running Cinnamon on Archlinux.
The GTK3 theme is set using the Cinnamon configuration utility. I'll create a 
symlink as well to check whether this is the reason of the problem. I have no 
GTK2 themes installed.

When I installed gnome-mplayer, I used the Archlinux User Repository so it was 
already a binary. It is the GTK3 version (I checked it on the dependencies 
list). Cinnamon should be GTK3-only as well.

Original comment by wesley_g...@hotmail.com on 9 Dec 2012 at 6:50

GoogleCodeExporter commented 8 years ago
Yeah sounds like the environment I have. 

Original comment by kdeko...@gmail.com on 10 Dec 2012 at 1:23

GoogleCodeExporter commented 8 years ago
What version of gtk are you using, perhaps there is a bug with the background 
color setting in the version you have. I am assuming your version might be 
newer than mine, so that is why I am not seeing it.

Original comment by kdeko...@gmail.com on 11 Dec 2012 at 3:06

GoogleCodeExporter commented 8 years ago
I made a change to gmtk in SVN that sets the background color for specifically 
for each widget in the player as they are realized. This may solve this 
problem, it may not, but please test if you can.

Original comment by kdeko...@gmail.com on 14 Dec 2012 at 3:55

GoogleCodeExporter commented 8 years ago
I'm not on my Linux machine at the moment, but I think I'm using GTK3 3.4.4.2. 
It's not the latest version, but the new one from Gnome 3.6 broke several of my 
themes so I downgraded until that's fixed, though the problem with 
Gnome-MPlayer occured with the new version as well.

I'll check the update in SVN as soon as possible. Thanks!

Original comment by wesley_g...@hotmail.com on 16 Dec 2012 at 9:20

GoogleCodeExporter commented 8 years ago
I upgraded to Fedora 18 yesterday (GTK 3.6, and I see what you mean about the 
themes), and I am still unable to duplicate this issue.

Original comment by kdeko...@gmail.com on 19 Dec 2012 at 1:55

GoogleCodeExporter commented 8 years ago
OK, so I downloaded the new gmtk and gnome-mplayer branch for compiling and 
installing. gtmk worked fine, but when I ran the ./configure procedure for 
gnome-mplayer I got an error saying that gmtk wasn't installed. (configure: 
error: Package requirements (gmlib... )

I found a related topic in the issues about it not being found because of a 
different install location (or not defined in some environment variable) so I 
uninstalled gmtk and configured it as follows:

./configure --prefix=/usr --libdir=/usr/lib

This worked fine and the command "make" as well, but when I continue with "sudo 
make install" I receive following error:

libtool: install: error: cannot install `libgmtk.la' to a directory not ending 
in /usr/local/lib

Do you have any idea what might be the cause of this?

Original comment by wesley_g...@hotmail.com on 26 Dec 2012 at 10:49

GoogleCodeExporter commented 8 years ago
This is the process I use to build gmtk and gnome-mplayer

http://kdekorte.blogspot.com/2011/10/105b1-of-gmtk-gnome-mplayer-and-gecko.html

As for the libtool error, never seen that, little google'ing for that message 
seems to reveal that it is either an old libtool or you might need to run make 
clean first. You also might try running autoreconf -fiv in the gmtk directory 
to rebuild the autoconf files and tools.

Oh, and I think your problem might be fixed with the 1.0.8a version of gmtk.

Original comment by kdeko...@gmail.com on 26 Dec 2012 at 11:09

GoogleCodeExporter commented 8 years ago
Thanks!
Concerning the libtool-error: I forgot to run "sudo make clean" so that problem 
is solved now. Thus I was able to compile and install gmtk.

However when I run the configure-script for gnome-mplayer "./configure 
--prefix=/usr --libdir=/usr/lib64" (I tried it with and without the 
parameters), I still receive the error:

checking for GMLIB... no
configure: error: Package requirements (gmlib >= 1.0.7) were not met:

No package 'gmlib' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GMLIB_CFLAGS
and GMLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I checked the content of the directory /usr/lib64:

libgmlib.a  libgmlib.la  libgmlib.so  libgmlib.so.1  libgmlib.so.1.0.7  
libgmtk.a  libgmtk.la  libgmtk.so  libgmtk.so.1  libgmtk.so.1.0.7  pkgconfig

I tried setting a value "/usr" or "/usr/lib64" for the environment variabele 
$PKG_CONFIG_PATH, but this did not solve it. Do you have any ideas?

Original comment by wesley_g...@hotmail.com on 28 Dec 2012 at 3:17

GoogleCodeExporter commented 8 years ago
I'm guessing that you installed gmtk/gmlib into /usr/lib/local so here is what 
I would do..

Uninstall gmtk (sudo make uninstall)

in the gmtk source directory

./configure --prefix=/usr --libdir=/usr/lib64

make

make install

and then rerun the configure for gnome-mplayer

Original comment by kdeko...@gmail.com on 28 Dec 2012 at 4:37

GoogleCodeExporter commented 8 years ago
OK, I got both gmtk and gnome-mplayer installed. I tried to reproduce the 
problem with the white letterbox, but it's black now so the problem's fixed.
Thanks again for all your effort!

Original comment by wesley_g...@hotmail.com on 29 Dec 2012 at 12:31

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 29 Dec 2012 at 2:14