Maximizing a windows doesn't change the size of the player

Bug #1247499 reported by Felipe Castillo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pipelight
New
Undecided
Unassigned

Bug Description

I have try this only on Netflix, when staring to play anything in a window and then maximizing it the player doesn't maximize or changes sizes at all. Any change in sizes is not reflected on the player at all.
This behavior didn't happen with the previous version of pipelight. I also have tried both version 5.1 and 5.0 of Silverlight and the same happens with both.
Refreshing the window fixes the problem

I'm using Ubuntu 13.10 64bit

description: updated
Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi Felipe,

unfortunately I don't have access to Netflix from my location, so I'm not able to check exactly this page. With other pages that show the video "fullscreen" in a browser window I haven't experienced this issue so far.

I would like to know:

* which browser are you using for testing? if you've multiple browsers installed (for example firefox and chromium), does the problem occur in all of them?

* which desktop environment are you using?

* what did you change before it stopped working? do you still remember if it was a pipelight or wine-compholio update? is the problem related to the switch to Ubuntu 13.10 ?

* is there some other page to reproduce this problem? does it for example also occur with this Silverlight application?
http://www.microsoft.com/silverlight/silverlight/demos/controls/default.htm

* when you've the latest pipelight version, you should see an option "Embed into browser" when right-clicking on the Silverlight app. Unselect this option and refresh the page. Does the Silverlight application in a separate window have the same resizing issues?

Sebastian

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :

I'm using the latest stable version of Chrome (i don't user chromium, it doesn't get updated regularly). I tried to duplicate the behaivor on firefox but I've never been able to make Netflix work there, I can't seem to switch the User Agent succesfully, I'm always getting an error and I can't load it, it's too annoying. The error I get on Netflix is: N8109. After googling it seems that the solution is to reinstall silverlight, so firefox doesn't work at all. I guess that's another bug to be discussed in another report.

* I use the default Unity for Ubuntu environment

* Regarding the update, I checked under history and all three packages got updated (pipelight-multi, pipelight and wine-compholio). I didn't change anything before it stopped working, I just simply updated the packages.

* I tried other pages (specifically the link you gave me) and they all have the same problem, I'm attaching an screenshot of the problem.

* I deselected the option to "Embed into browser" and after reloading, maximizing doesn't work properly. What happens is that the window just fills the whole monitor but the resolution doesn't change. In other words, everything gets huge words and pictures instead of resizing to fill the screen.

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :
Revision history for this message
Robert Nuttall (robnuttall) wrote :

I have the same problem, but using SkyGo and Firefox 25 with Ubuntu 13.10 64bit.

I use the option to break the video out into a seperate browser window. As a small window it is OK. When you expand the window using the grab handles.

What appears to be happening is that the video stays the same size but moves / centres itself into the blank space meaning you begin to only see a half or quater of the picture.

Revision history for this message
Robert Nuttall (robnuttall) wrote :

Further info to the above comment. The video appears to scale DOWN in size no problem at all. Also if you use the SkyGo players option to go full screen it will expand to fill the screen.

Revision history for this message
Sebastian Lackner (slackner) wrote :
Revision history for this message
Sebastian Lackner (slackner) wrote :
Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi,

well, as you guys are saying that it worked before, I've prepared a pipelight package where some specific code parts have been changed back to the previous version.

They are for Ubuntu 13.10, don't try to use them for other Ubuntu versions.

Could you please test this package

* just download it, for example to ~/Downloads
* install them with (second one is optional):
sudo dpkg -i pipelight-multi_0.2.2_amd64.deb
sudo dpkg -i pipelight_0.2.2_amd64.deb

and check if it makes any difference?

Sebastian

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :

I just checked the packages you provided and I still see the same problem. On top of that, now I see that the Silverlight Plug-in couldn't load and I have to refresh the page so Silverlight starts working for the first time. This behavior happens for all pages. It only happens when I just open the browser for the first time; once I reload the page, silverlight starts working in all the pages even if I close their windows or tabs (as long as the browser session stays open).
I'm attaching a screenshot of the error I get

Revision history for this message
Sebastian Lackner (slackner) wrote :
Revision history for this message
Sebastian Lackner (slackner) wrote :
Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi Felipe,

thanks for testing.

Its really weird that it doesn't load at all on the first attempt with this version. Is your system currently under heavy load - if yes it could also just be caused by that, there is a timeout implemented somewhere, which gives up after some time, if its not yet loaded properly.

I've added a new version (try 2) above for testing, which also changes back some more things to the previous behaviour.
Please report back if this makes any difference.

Sebastian

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :

I just tried the new version and I see the same behavior. Maximizing is not working and I see the same error about not being able to load silverlight the first time it's loaded. My system is not under heavy load at all, I just restarted my computer and nothing else was open or running in the background. My CPU load is 18%.
I only see the error the first time silverlight is run per browser session. So if I close and re-open Chrome, I will see the error, but if I close a tab running silverlight and open a new one, I don't see the error.

Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi,

unfortunately I have no direct idea which of our changes could cause this behaviour. Can you please check the following ideas:

1) can you please check if you see any errors on the diagnostic page:
http://fds-team.de/pipelight

2) can you please check if its related to GPU acceleration. Close all other browser windows first, and then run (all in one line):

PIPELIGHT_GPUACCELERATION=0 chromium-browser

its really necessary that all other browsers are closed before running this! If you're using a different browser, then just replace the name in the command line. If this turns out to be the problem, please send us the output of your "glxinfo" command.

3) your description of what happens when you select "Embed into browser" doesn't really match the expected behaviour. Can you check again what happens when you select this option, and then refresh the page. The expected behaviour is that a new separate window appears which shows the Silverlight content. Based on Roberts description the problem shouldn't occur then.

4) these are the links to the previous pipelight and wine-compholio versions:

https://launchpad.net/~mqchael/+archive/pipelight/+files/pipelight-multi_0.2.0~ubuntu13.10.1_amd64.deb
https://launchpad.net/~mqchael/+archive/pipelight/+files/pipelight_0.2.0~ubuntu13.10.1_amd64.deb
https://launchpad.net/~ehoover/+archive/compholio/+files/wine-compholio_1.7.4-1~ubuntu13.10.1_i386.deb

can you please downgrade everything to pipelight 0.2.0 and wine-compholio 1.7.4-1. Similar to above you can install the packages with:

sudo dpkg -i nameofthepackage

NOTE: Its possible that the changes don't have an effect immediately, you can right click on the Silverlight application to see the version. When you right click and don't see any version number, then its version 0.2.0

If you notice that everything works fine after downgrading, please try to upgrade manually again to the latest versions (step by step):

https://launchpad.net/~mqchael/+archive/pipelight/+files/pipelight-multi_0.2.1~ubuntu13.10.1_amd64.deb
https://launchpad.net/~mqchael/+archive/pipelight/+files/pipelight_0.2.1~ubuntu13.10.1_amd64.deb
https://launchpad.net/~ehoover/+archive/compholio/+files/wine-compholio_1.7.5~ubuntu13.10.1_i386.deb

this should allow to track down if the error is really related to exactly one of these packages or probably to some other update.

5) concerning the problem that the plugin doesn't load on the first attempt: Can you close all your browser windows first, then open a terminal:

* first ensure that really all related processes are stopped. run
killall pluginloader.exe
killall chrome
ps aux | grep chrom # check if really all chrome processes are terminated, if not, then repeat the steps above

* then run:
chromium-browser &> ~/pipelight.log
# (or google-chrome, depending on which browser you're using exactly)

* visit any of the pages that causes the problems, close the browser, and upload the "pipelight.log" file

Sebastian

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :

Regarding your last comment:

1) The diagnostic page passed all tests for Silverlight 5.1 and 5.0

2) after running pipelight without GPU acceleration, the error that I couldn't load pipelight is gone, but the maximizing error is still there. This was tested with Google Chrome and Firefox.

3) I can upload images so you can see better what I mean. I'm using the link http://www.microsoft.com/silverlight/silverlight/demos/controls/default.htm which has an option for fullscreen mode. This is not the same error as in this bug report (that the screen only shows a part of the player when maximized) but the resolution is not kept when in fullscreen. You can clearly see the size of the font and the amount of content displayed when I selected "View Full Screen" from the webpage in comparison to maximizing the window. You can see that the resolution of both are almost 1080p, because the window still has the toolbar on top and the unity launcher on the side.

4) I couldn't downgrade the pipelight-multi package because I'm getting a dependency problem with package g++-mingw-w64-i686. I tried installing this package but it just gave more more dependency problems and trying to fix those gave me even more dependencies, so I decided not to downgrade any of the packages (even though the others worked).

5) Refering back to (2) maybe is related to GPU accelation, because I don't see the error after turning it off. Then I decided to create the log, and I notice that the error is gone when I run google-chrome from the command line (with or without GPU acceleration). So I couldn't replicate the error on the log file.
Today I decided to delete my firefox profile and restart it, and the loading error was fixed there. The error is only happening on google-chrome and only when I don't run it under the command line. I guess we shouldn't worry to much about this bug, since it might be chrome's problem and not pipelight, also I should just open a different bug for this problem.

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :
Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :
Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :

I can report that the maximizing problem is present also on Ubuntu 13.04. Is there anything else needed to help fix this bug? I can sed logs from this different Ubuntu version.
Also, this was tested in a different machine than the original one and using Intel graphics cards instead of nVidia

Revision history for this message
Michael Müller (mqchael) wrote :

Hi Felip,

which 'maximizing problem' exactly do you still have problems with? Do you mean that the Silverlight application does not resize at all or that there is a difference between for example going into fullscreen or resizing a non-embedded plugin?

Michael

Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi Felipe,

sorry, but its not yet clear to me which of the problems are fixed in the meantime, and which of them still exist.
Could you please give some short feedback, about which of the following problems are solved (and how you solved them)?

.

#1) When running Silverlight embedded into the browser it doesn't resize at all, as on this screenshot
https://bugs.launchpad.net/pipelight/+bug/1247499/+attachment/3898903/+files/Controls.Samples%20-%20Google%20Chrome_010.png
Does this problem still exist? Did it disappear when you disabled GPU acceleration? I would consider this the main problem as you've filed the bug report for this one.

#2) Silverlight running in a separate window, and resizes properly, but the font sizes do not match the embedded behaviour.
We're working on a fix for this one, basically the problem is that for some rendering parts Silverlight still uses the size from the browser, not the size from the separate window. As a "temporary fix" you can just change the size of the browser window in the background. I assume we'll have a full fix for this one included in the next version.

#3) Concerning the problems when starting from a desktop/launcher shortcut: Could you probably open a new bug report for this so we can take a closer look at this problem? As you already suspected it could also be an issue with the launcher and/or browser itself.

#4) Silverlight doesn't load the first time when starting the browser.
When I understand you correctly this definitely seems to be related to GPU acceleration? Did you already check if there are driver updates available?

.

Please note that all these problems are completely different, and are definitely not related to each other. Fixing problem #2 for example will have no effect on embedded plugins, and vice versa, thats why I'm asking you about all them again.

Concerning GPU acceleration: As written above the output of "glxinfo" could be useful to find out if its really related to some specific graphic card series or a driver specific problem.

Sebastian

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :

Hi Sebastian,

Hopefully this message will clarify this bug.

1) This problem still exist on Ubuntu 13.04 and 13.10 with the latest updates in both versions. The problem exist exactly like the image you posted, even when I turned off GPU acceleration on google-chrome and firefox.

2) This problem still happens in both version of Ubuntu. Your workaround did help solved the issue, but then again, I never watch silverlight content in a separate window, it's always embedded.

3) I'm going to reinstall google-chrome to have a fresh start and to see if this behavior is still happening. For now, on Ubuntu 13.04 Silverlight is always loading. I haven't seen any sign of Silverlight not been able to load.
As soon as I get a better way to report this bug, and see if I can replicate it, I'll be posting a separate bug for this.

4) I think there was a confusion, because this item is the same as item #3. Silverlight wasn't loading (crashing) the first time I started the browser from the shortcut and if I try to start the browser from the command line (with or without GPU acceleration) I don't see the problem.

.

I doubt it might be related to a graphics card since problem #1 and #2 were reproduced in two very different systems, one running Intel video and the other nVidia. Problem #3 might be related to that.
One system is a Dell Inspiron 1440 laptop and the other a desktop, both runing different versions of Ubuntu (13.04 and 13.10 respectively)
The output to "glxinfo" for the system running Ubuntu 13.10 with nVidia graphics card (desktop) is going to take a while since I'm moving and I recently shipped the desktop to my new place.
I'm attaching the output to "glxinfo" for the system running Ubuntu 13.04 with an Intel graphics card (laptop)

Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi Felipe,

well, its really very weird that you've already two PCs where problem #1 occurs, and we're absolutely unable to reproduce this problem. We're always testing with several Ubuntu versions (12.04 and 13.10), several completely different distributions (Ubuntu, Debian, Fedora, ...), different graphic cards (Intel, Nvidia, AMD) and never have experienced exactly your problem.

I think that it must either be an configuration issue or something else that both of your PCs have in common, like for example other browser plugins you've installed.

Two additional ideas you could try out:

* You already wrote above that our diagnostic page for the user-agent check returns that everything is okay. But this doesn't necessarily mean that you're using one of our recommended user agent strings. Wrong user agent strings can lead to all kind of weird issues, thats why I would suggest to check your current setting, and switch it exactly to the recommended one: "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120427 Firefox/15.0a1". Please use exactly this setting in both of your browsers (for Chromium this is just the Firefox 15 option, when you've managed to get it working there).

* One of the logs above shows that you've also some other plugins like google talk enabled. I would suggest you to disable this one (and also all other plugins, that could probably be incompatible), and then check again.

Sebastian

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :

I don't think it's a configuration issue, since I completely deleted all configuration files, so I can start from scratch, from my google-chrome and firefox, and I'm experiencing the same problem.
I decided to try the user agent string you suggested but the error is still there. I also went ahead and disable every single plugin in google-chrome and firefox and I still see the problem.
I'm not sure why you guys can't reproduce this problem, it's not only me who has it, comment #4 from Robert shows exactly the same problem, he even posted a screenshot that shows exactly the same thing I'm experiencing.
I could send a new log from firefox under Ubuntu 13.04 if you need it.

Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi,

can you please copy&paste the debug output from the diagnostic page from both firefox and google-chrome and upload it here. Moreover a new log under Ubuntu 13.04 could probably also help.
Unfortunately I don't have so many ideas, especially as its not reproduceable for us. :/ Which window manager do you use?

@Robert: Can you also confirm that the problem still exists? Can you probably also check my ideas (especially those in answer #22), and check if one of these solves the problem?

Sebastian

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :

I'm using Unity as the window manager. To make sure that you can reproduce the problem, as soon as you open your browser, make sure it's not maximized. Then under the small browser window, go to any silverlight webpage, such as the link you provided in post #1. Then maximize the window and you'll see the result. You will not find the problem if you start the page maximized already and then proceed to make it a small window and then maximize from then. The webpage with the silverlight content needs to be loaded in a small window (non-maximized) to be able to reproduce this problem.
I'm attaching the log from firefox under Ubuntu 13.04 using Unity. I took a quick look and I saw that Unity hacks are turned off, not sure if that could be a problem since I'm using Unity.
Here's the debug from the diagnostic page:

Google-chrome:
User agent (Javascript)
Checking for Windows user agent ...okay
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120427 Firefox/15.0a1
Please note: not every user agent works on every site, try multiple ones if something doesn't work!

Silverlight (as seen by a website)
Checking for Silverlight ...okay
Version: 5.1.20513.0

Result
Result from all tests ...okay
You are ready to use Silverlight

Firefox:
User agent (Javascript)
Checking for Windows user agent ...okay
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120427 Firefox/15.0a1
Please note: not every user agent works on every site, try multiple ones if something doesn't work!

Silverlight (as seen by a website)
Checking for Silverlight ...okay
Version: 5.1.20513.0

Result
Result from all tests ...okay
You are ready to use Silverlight

Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi Felipe,

the config option unityHacks is not related to the unity desktop environment, but to the unity3d browser plugin. The default config should work very well with all desktop environments, and I've just tested myself again with unity - but I was not able to reproduce any of the described problems. The log above and the diagnostic output also doesn't contain anything unusual.

Can you please check which versions you've exactly installed of all these packages? You can just use the following command to find the version numbers:

dpkg --list | grep "\(wine-.*-installer\|wine-compholio\|pipelight\|firefox\|chrom\)" | sed 's/ \+ /\t/g' | cut -f2-3;

If you've installed multiple desktop environments, I would suggest you to try with a different one for testing.

Sebastian

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :

I don't have installed multiple desktop environments, I have only Ubuntu with Unity running, and have never installed anything else, not even to try. I only have one user for each system.
Here's the output to the command for the Ubuntu 13.04 system, I won't be able to send the output for the other system until the end of next week:

chromium-codecs-ffmpeg-extra 30.0.1599.114-0ubuntu0.13.04.2
firefox 25.0+build3-0ubuntu0.13.04.1
firefox-globalmenu 25.0+build3-0ubuntu0.13.04.1
firefox-gnome-support 22.0+build2-0ubuntu0.13.04.2
firefox-locale-en 25.0+build3-0ubuntu0.13.04.1
firefox-locale-es 25.0+build3-0ubuntu0.13.04.1
google-chrome-stable 31.0.1650.57-1
libchromaprint0:amd64 0.6-2ubuntu1
pipelight 0.2.2~ubuntu13.04.1
pipelight-multi 0.2.2~ubuntu13.04.1
wine-browser-installer 0.8.6~ubuntu13.04.1
wine-compholio 1.7.6-1~ubuntu13.04.1
wine-mpg2splt-installer 0.8.6~ubuntu13.04.1
wine-silverlight4-installer 0.8.6~ubuntu13.04.1
wine-silverlight5.1-installer 0.8.6~ubuntu13.04.1
xserver-xorg-video-openchrome 1:0.3.1-0ubuntu1.13.04.1
xul-ext-webaccounts 0.4.5-0ubuntu4

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :

Sorry for such a late reply, but I haven't been able to get a hold of my computer. I've seen that pipelight has been updated several time but this problem still persists. Here's the output to the versions of all those apps I have for my desktop system running Ubuntu 13.10, with an nVidia card:

chromium-codecs-ffmpeg-extra 31.0.1650.63-0ubuntu0.13.10.1~20131204.1
firefox 26.0+build2-0ubuntu0.13.10.2
firefox-locale-en 26.0+build2-0ubuntu0.13.10.2
firefox-locale-es 26.0+build2-0ubuntu0.13.10.2
google-chrome-stable 32.0.1700.77-1
libchromaprint0:amd64 0.7-1
pipelight 0.2.4.2~ubuntu13.10.1
pipelight-multi 0.2.4.2~ubuntu13.10.1
unity-scope-chromiumbookmarks 0.1+13.10.20130723-0ubuntu1
unity-scope-firefoxbookmarks 0.1+13.10.20130809.1-0ubuntu1
wine-compholio 1.7.11~ubuntu13.10.1
xserver-xorg-video-openchrome 1:0.3.1-0ubuntu2.1
xul-ext-webaccounts 0.5-0ubuntu1

Have anybody been able to replicate this problem in a different system? I recently got a hold of a different laptop (HP running Ubuntu 13.04) and I have exactly the same problem. Now I have 3 different computers with completely different configurations that have the exact same problem. The third system is an HP dv6t-3100 with intel graphics.
Here's the output of the third system of the versions of those packages:

firefox 26.0+build2-0ubuntu0.13.04.2
firefox-globalmenu 26.0+build2-0ubuntu0.13.04.2
firefox-gnome-support 26.0+build2-0ubuntu0.13.04.2
firefox-locale-en 26.0+build2-0ubuntu0.13.04.2
google-chrome-stable 32.0.1700.77-1
libchromaprint0:amd64 0.6-2ubuntu1
pipelight 0.2.4.2~ubuntu13.04.1
pipelight-multi 0.2.4.2~ubuntu13.04.1
wine-browser-installer 0.8.7-2~ubuntu12.04.1
wine-compholio 1.7.11~ubuntu13.04.1
wine-mpg2splt-installer 0.8.7-2~ubuntu13.04.1
xserver-xorg-video-openchrome 1:0.3.1-0ubuntu1.13.04.1
xul-ext-webaccounts 0.4.5-0ubuntu4

I hope you can replicate this problem or ask other people to test it. So a solution can be found. Remember that the window has to start not maximize to replicate the problem.

Revision history for this message
Felipe Castillo (fcastillo.ec) wrote :

This bug is still present in the latest version of Firefox, Chrome and Ubuntu 14.04 with the latest pipelight.
I failed to mention before that I have a multi-monitor setup, and I found this other bug: 1297724 which can be related to this problem.
It looks like it's been confirmed in the other bug a similar behaivor than this bug.
Could you take a look at the problem again?
I'm attaching a screenshot of the problem to refresh the memory of what's happening.

Revision history for this message
Sebastian Lackner (slackner) wrote : Re: [Bug 1247499] Re: Maximizing a windows doesn't change the size of the player

Hi Felipe,

can you maybe try out the suggestions mentioned at the other bug report?
The other one seems to be related to a driver issue, but its possible to
workaround the issues by having your monitor connected at boot time or by
switching to "clone"-mode, where every monitor shows the same output.

Does this also help in your case? (if yes then its most likely the same
problem)

Regards,
Sebastian

2014-05-07 0:24 GMT+02:00 Felipe Castillo <email address hidden>:

> This bug is still present in the latest version of Firefox, Chrome and
> Ubuntu 14.04 with the latest pipelight.
> I failed to mention before that I have a multi-monitor setup, and I found
> this other bug: 1297724 which can be related to this problem.
> It looks like it's been confirmed in the other bug a similar behaivor than
> this bug.
> Could you take a look at the problem again?
> I'm attaching a screenshot of the problem to refresh the memory of what's
> happening.
>
>
> ** Attachment added: "Screenshot of the problem"
>
> https://bugs.launchpad.net/pipelight/+bug/1247499/+attachment/4106781/+files/Netflix%20-%20Google%20Chrome_009.png
>
> --
> You received this bug notification because you are subscribed to
> Pipelight.
> Matching subscriptions: pipelight
> https://bugs.launchpad.net/bugs/1247499
>
> Title:
> Maximizing a windows doesn't change the size of the player
>
> Status in Pipelight:
> New
>
> Bug description:
> I have try this only on Netflix, when staring to play anything in a
> window and then maximizing it the player doesn't maximize or changes sizes
> at all. Any change in sizes is not reflected on the player at all.
> This behavior didn't happen with the previous version of pipelight. I
> also have tried both version 5.1 and 5.0 of Silverlight and the same
> happens with both.
> Refreshing the window fixes the problem
>
> I'm using Ubuntu 13.10 64bit
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/pipelight/+bug/1247499/+subscriptions
>

To post a comment you must log in.