View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 21 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Aug 02, 2014 7:15 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
so this very likely might be a question better answered in the xbmc forums but what the heck.
I decided to try out xbmc on my front end/backed machine to test mythtv support (pretty good) but also for some online streaming. Somehow when I'm watching some videos I'll notice that my oversaw correction will go away. it doesn't happen with every video and it seems to affect the xorg settings because when I exit back to LinHES it's screwed up there too.
How do I keep XBMC from messing with video settings of xorg or how do I reset them on exit?

_________________
My System


Last edited by mattbatt on Wed Aug 06, 2014 9:52 pm, edited 1 time in total.


Top
 Profile  
 
PostPosted: Sat Aug 02, 2014 7:38 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
I had a similar problem. When I left XBMC to return to LinHes I had a big blue bar at the bottom of the screen. I configured my XBMC video resolution to match the nvidia screen resolution, Once I did that I didn't have any other problems.

Check you setting In XBMC System | Settings | Video Output | Resolution

Change that to match your native screen resolution and see what happens.


Top
 Profile  
 
PostPosted: Sat Aug 02, 2014 8:55 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
Thanks, That was one of the work arounds I was considering, I have to wonder what else it is changing.

_________________
My System


Top
 Profile  
 
PostPosted: Sat Aug 02, 2014 9:17 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
well that "fix" seems to have worked inside xbmc but it still screws up LinHES.

_________________
My System


Top
 Profile  
 
PostPosted: Sun Aug 03, 2014 4:29 am 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
XBMC has a super tool to adjust overscan.
Code:
\System\Video Output\Calibration


It's a lot like Nvidia one in Windows, here is a video

http://www.youtube.com/watch?v=zReEUyI85bA

The result only applys to XBMC.

Additionally this will also give you a better idea on how much overscan exists with your TV.

It would be an awesome :D exhancement if Linhes could capture the results of the tool and remove the overscan from Enlightment and Myth.

I'm using XBMC most of time now it works really well


Top
 Profile  
 
PostPosted: Sun Aug 03, 2014 11:23 am 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
mattbatt,

I guess I was lucky because I was using a standard resolution in both environments.

You might want to look through this:

http://forum.xbmc.org/showthread.php?tid=54685

and this

http://wiki.xbmc.org/index.php?title=Co ... _xorg.conf

Don't know if will help but might.


Top
 Profile  
 
PostPosted: Sun Aug 03, 2014 2:45 pm 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
One of the problems that I had was the the all the edges were being cut off when I let LinHES and Myth decide the resolution by using the Auto select options. I did some research and found out that my TV's resolution was actually 1360 x 768.

Once I specified that in LinHES settings and in XBMC I no longer needed to make any other changes and all my screens fit perfectly, and no more problems.


Top
 Profile  
 
PostPosted: Sun Aug 03, 2014 10:49 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
I think it would be helpful if I described how I underscaned my image.
First I used Nvidia-settings to determine how much underscan I needed. I saved that "xorg" file out. Which gives me this section.
Code:
 Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "1920x1080 +0+0 {viewportin=1920x1080, viewportout=1825x1024+42+35}"
    SubSection     "Display"
        Depth       24
    EndSubSection

I tried the obvious GUI method of Service Menu>LinHES settings>Display checked the box that said I want you to read my xorg file located at ~/templates/xorg.user . That didn't work.
So essentially I followed this advice viewtopic.php?f=22&t=24023&hilit=XORG&start=0#p138763 and put the the Nvidia created code into
Code:
/etc/X11/xorg.conf.d/20-automv.conf

and that works .... for LinHES and XBMC in the beginning.
after watching a few trailers for movies all of the sudden the XBMC GUI is overscanned and if I exit out to LInHES it is also overscanned. I think if I can get X to just reload the video settings from /etc/X11/xorg.conf.d/20-automv.conf then I would be grand.

_________________
My System


Top
 Profile  
 
PostPosted: Sun Aug 03, 2014 11:09 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
Thanks Tscholl for those links, They talk mostly about manually configuring your xorg.conf file. I already have that part my problem is that XBMC is overriding or ignoring my xorg.conf.

_________________
My System


Top
 Profile  
 
PostPosted: Mon Aug 04, 2014 8:59 am 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
There is a tool inside xbmc to reset your resolution settings

Code:
\Settings\System\Video Output\Reset the above settings to default


It should change XBMC back to stock resolution and then you can work on manually creating your modeline in 20-automv.conf.


Last edited by RacerX on Mon Aug 04, 2014 1:47 pm, edited 2 times in total.


Top
 Profile  
 
PostPosted: Mon Aug 04, 2014 11:02 am 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
ok cool ill try that when I get home.

_________________
My System


Top
 Profile  
 
PostPosted: Mon Aug 04, 2014 9:26 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
Thanks RacerX there doesn't seem to be that option in the version 12.2 XBMC in the Repository.
Also it appears that the XBMC folks don't care that they are breaking standards.
http://forum.xbmc.org/showthread.php?tid=138306
https://bbs.archlinux.org/viewtopic.php?id=152232
They seem to be under the assumption that XBMC is the answer for everything. Anywho I found a glimmer of hope and a band-aid. From the first link the poster mentioned fixing the metamode with a simple nvidia-settings command line. So I created a little script called overscan.sh and it looks like this.
Code:
#!/bin/bash
nvidia-settings --assign CurrentMetaMode="1920x1080 +0+0 { ViewPortOut=1825x1024+42+35, ViewPortIn=1920x1080 }


If I can figure out how to get xmbc to execute it on exit then I might have a Band-Aid for the problem. Also if I run XBMC in windowed mode it never changes any settings.

_________________
My System


Top
 Profile  
 
PostPosted: Mon Aug 04, 2014 9:54 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Sorry I'm using XBMC 13.1 it's a little more enhanced than 12.2. It'll be good when when a new package rolls out for Linhes. Personally I like 13.1 better with the update function moved to the side and

Code:
\Settings\System\Video Output\Reset the above settings to default


Might suggest trying to uninstall xbmc, rebooting, and then reinstall. I realize this isn't great it's the only thing I can think of until XBMC 13.1 rolls


Top
 Profile  
 
PostPosted: Tue Aug 05, 2014 10:57 am 
Offline
Joined: Mon Apr 10, 2006 3:48 pm
Posts: 997
Location: Lexington, Ky
I think you could call it at the end of the xbmc start script.
Code:
/usr/LH/bin/xbmc.sh

And it should run when xbmc exits.


Top
 Profile  
 
PostPosted: Tue Aug 05, 2014 9:17 pm 
Offline
Joined: Tue Aug 15, 2006 11:14 am
Posts: 1343
Location: Orlando FL
I was looking in that script but I wasn't sure if I tagged it on to the end if it would run at the close of XBMC or how that worked exactly.
OK cool so it works SAF is vastly improved.

Since I'm a NOOB at any kind of programming (even simple bash scripting) I couldn't decide whether I should hard code the "nvidia-settings ...." or if I should just call the overscan script?

Code:
#!/bin/bash
#Stop XScreensaver
stop_xss.sh &
#Launch XBMC
/usr/bin/xbmc --lircdev /var/run/lirc/lircd
#Once XBMC exits, start XSceensager again
killall stop_xss.sh
#MattBatt added restore overscan comensation.
#nvidia-settings --assign CurrentMetaMode="1920x1080 +0+0 { ViewPortOut=1825x1024+42+35, ViewPortIn=1920x1080 }"
overscan


But hey it solves my problem so thanks guys. :D

Here is where it gets odd you can change the overscan settings for the interface in XBMC but when it plays a video it does so without the overscan compensation. That is where the bugaboo lies.

_________________
My System


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu