Ubuntu 14.04 i386, with compiled libavg, full screen xibo client is shifted on a half of the screen

Asked by vvlads

I know, Ubuntu 14.04 is not officially supported.

I just give a try to Ubuntu Gnome 14.04 x86 with latest xibo client 1.6. rc2.

It is true, in order to run xibo client on Ubuntu 14.04, one needs to compile libavg and it works without any ptroblems.

Xibo in not full mode works like a charm, but when I set fullscreen=true, the layout is shifted in the right and started from the half of the screen.

Is there any way to fix the problem?

The computer has many outputs but only HDMI is used. I use arandr in order to use the proper sh script but it changes nothing.

I have vertical screen with left turn. The screen resolution is 1080x1920. It works flawless on Ubuntu 12.04, but with Ubuntu 14.04, it is a problem.

if you need, Ican provide screenshots.

Thank you for any possible help, Vlad.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
vvlads
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

You need to do the rotation in the Xibo config file, not with your graphics
card driver.

Revision history for this message
vvlads (t-vla7-l) said :
#2

Pleaase tell me how

Revision history for this message
Alex Harrington (alexharrington) said :
#3

Look in defaults.cfg.

All the options are documented there

Revision history for this message
vvlads (t-vla7-l) said :
#4

Alex, thanks a lot for your support.
Your answer on the question https://answers.launchpad.net/xibo/+question/152054 gave me all details, I need.

But is it correct, when at vertical orientation, when the screen width is 1080, the program still believe it is 1920?

And in not full screen mode it works well.

In Ubuntu 12.04, it works correctly too - the screen in vertical mode, the width=1080 in the configuration file.

Thx, Vlad.

Revision history for this message
Alex Harrington (alexharrington) said :
#5

Width and height need to be set up to your actual screen resolution. So you
should have turned rotation off on your graphics card now, so the width is
indeed 1920

You then configure your virtual screen with a width of 1080

Revision history for this message
vvlads (t-vla7-l) said :
#6

Alex,

Thanks a lot for your explanation. As I wrote before, I made exactly what you mentioned and the system works.

I will check the code in order to understand better the logic.

Thank you again, your answer helped me a lot.
B.r. Vlad.

Revision history for this message
Alex Harrington (alexharrington) said :
#7

It's pretty straight forward

width and height are the real physical screen - so 1920x1080 respectively

vwidth and vheight are the virtual screen you're defining - so 1080x1920
respectively

And the rotation describes the relationship between those two screens

--
Alex Harrington
Spring Signage Ltd | http://springsignage.com
Proud founders and sponsors of the Xibo Project | http://xibo.org.uk
Registered Company #7811749
Registered Office: Spring Signage Ltd, Kemp House, 152 City Road, London, EC1V
2NX

On 25 April 2014 09:31, vvlads <email address hidden> wrote:

> Question #247570 on Xibo changed:
> https://answers.launchpad.net/xibo/+question/247570
>
> Status: Answered => Solved
>
> vvlads confirmed that the question is solved:
> Alex,
>
> Thanks a lot for your explanation. As I wrote before, I made exactly
> what you mentioned and the system works.
>
> I will check the code in order to understand better the logic.
>
> Thank you again, your answer helped me a lot.
> B.r. Vlad.
>
> --
> You received this question notification because you are a member of Xibo
> Developers, which is an answer contact for Xibo.
>

Revision history for this message
vvlads (t-vla7-l) said :
#8

Alex, my problem is as follows:
1) I turn my screen left 90grad as I use vertical system.
2) I can see normal desktop and use it if any needs.
3) But If I run xibo, I need to turn the screen in normal orientation first.
4) So, my problem is as follows: it would be convenient if I don't need to turn the screen if it was turned already on system level. If I changed screen orientation I would prefer that xibo won't do this job again.

From this type of setup, physical screen is as follows: width=1080 and height=1920.

If such thing can be implemented, it would be great. Otherwise it looks like you implemented the software fixing that orientation of the system is always normal... but I have so many vertical devices, like this one: http://www.liatoss.com/products-en/i-kiosks/models/indoor/ktc-42p31-detail.html

Anyway, thank you for your help.

B.r. Vlad.

Revision history for this message
Alex Harrington (alexharrington) said :
#9

It's not possible I'm afraid.

There's some kind of bug low down when screen rotation is enabled which
causes the content to be shown half off the screen.

You could try configuring the client to run with no window boarder at the
correct size, but with fullscreen disabled. That may do what you want
instead.

Revision history for this message
vvlads (t-vla7-l) said :
#10

Now it is clear. As I wrote I have got system working in window. Now, I have a work around for the full screen.

And you are right about the bug I saw it...

Thank you again, Alex.

Revision history for this message
P.B. (philippe-bost) said :
#11

Hi vvlads !

Can you put down here or by a link the method you used to compile libavg for 14.04 plz ?

Revision history for this message
Gustav (spam-p) said :
#12

Hi!

Please do an update on this?

Did a compilition on libavg, following this instructions:
https://www.libavg.de/site/projects/libavg/wiki/UbuntuSourceInstall#Compilation-and-Installation

But the "Xibo Python Client Installation Script v1.6" following the automation installation didnt work well since it asking for ubuntu version.

Any better guide how to install Xibo manually???

Revision history for this message
Alex Harrington (alexharrington) said :
#13

Try the client installation guide in the manual?

Note only Ubuntu 12.04 is supported. It will not compile on newer versions

Revision history for this message
Samarth Parikh (samarthparikh) said :
#14

Hi Gustav,

I have compiled a small how to guide for compiling libbrowsernode.so & libavg which are required to run Xibo Python Client 1.6 on 64-bit Ubuntu 14.04. Hope it helps:

http://samarthparikh.blogspot.in/2014/05/compile-libbrowsernode-on-64-bit-ubuntu.html

Thanks,
Samarth