native resolution ( disable upscaling ) option

  Thread Rating:
  • 4 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
benworld Offline
Junior Member
Posts: 16
Joined: Oct 2009
Reputation: 0
Post: #21
I think, for the first attempt, block the possibility to go to the GUI while watching a movie, with this feature enable, could solve the problem.

What do you think ?
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,264
Joined: Jun 2006
Reputation: 55
Location: Earth
Post: #22
still got the OSD and info windows over the top of fullscreen

Skins I have done....
[Image: skinsq.png]
And others in the past...

Want to know what I'm working on currently? Check me out on Google+
find quote
benworld Offline
Junior Member
Posts: 16
Joined: Oct 2009
Reputation: 0
Post: #23
you'r right Wink my bad Wink need some sleep.
find quote
giniedp Offline
Junior Member
Posts: 4
Joined: May 2011
Reputation: 0
Location: Germany/Kiel
Post: #24
+1 for that feature. I currently do stream all low resolution movies to a hardware media player that does the upscaling.
find quote
elite1967 Offline
Senior Member
Posts: 165
Joined: Apr 2010
Reputation: 0
Post: #25
+1 for this feature
find quote
hellrider77 Offline
Junior Member
Posts: 4
Joined: Jun 2011
Reputation: 0
Location: Bucharest, Romania
Post: #26
+1
Forget the GUI / overlay.
Just separate settings for GUI and video resolution.

For example:

Set GUI resolution to 1080p@60HZ
Set video resolution to native video resolution @ native video FPS.

If video resolution is different from GUI resolution, disable GUI and overlay during playback. If one needs to adjust settings, stop playback, adjust settings, resume playback.

The main concern would be only to get correct subbtitle scaling to match the resolution.

Media player classic on Ati cards were able to output native resolution video and correct subtitle scaling years ago.

In modern catalyst drivers long gone are the options for separately handling video output from general desktop and color options.

Nvidia also disabled video mirror about 4 years ago.
find quote
htpcnooby Offline
Junior Member
Posts: 1
Joined: May 2012
Reputation: 0
Big Grin  RE: native resolution ( disable upscaling ) option Post: #27
+1!

This is actually on of the very few things keeping me from buying/making a home cinema system. Smile

My plans are to have a nice Panasonic plasma with an Onkyo A/V receiver (with a Marvell Qdeo) and a HTPC filled with DVD VOB's.

If else I also would need an expensive Blu Ray player like e.g. a Pioneer LX55 or an Oppo for upscale processing, and a big external hdd,
or a "standard" BR player + an expensive media player with good upscaling chip and a big internal/external hdd... etc, etc

Simplicity, cost and functionallity (video, music, even games and massive storage room!) would be wonderful if the receiver could do the upscaling job!
I suppose xbmc would actually become more accessible for the more "nooby" cinema-lovers, like myself... (since something like proper codecs or fdd-show is somewhat Chinese to me, lol)

And I really, really want to become part of the HTPC-generation...? Big Grin lol

Anyway, thanks for providing such marvellous software! and I have by now become much wiser because of these forums, thanks for that!

greets, K (and sorry for my crappy English...)
find quote
adam.h. Offline
Junior Member
Posts: 21
Joined: Apr 2011
Reputation: 1
Post: #28
a journey of a thousand miles begins with a single step... so let's start Wink

I spent few hours to dig into it and the results are promising. I'm pretty fresh to xbmc though, so maybe there is better way to deal with it. Anyway, what you need to run native resolution:

- patch the xbmc with these changes and rebuild the sw: http://www.filedropper.com/xbmc-native-res
- set in your advancedsettings.xml following variable in <video> section:
Code:
<video>
   <upscalemode>1</upscalemode>      <!-- upscalemode: 0-default, 1-native scaling, 2-max scaling --->
</video>
- set your receiver to upscaling mode - upscale source to maximum display resolution (1080p in my case)

How it works:
- the GUI works with maximum resolution
- when the player is spawned it reads the source dimension and sets the renderer to the lowest supported resolution which is the best match for the source resolution
- the movie is played with lowest acceptable resolution and is upscaled by the receiver to 1080p
- when the playback stops, the xbmc GUI is back to default resolution (1080p for me)

Here are few examples, where
USER = default screen resolution
NATIVE = movie resolution
ADJUST2 = final xbmc resolution for playback

Code:
NOTICE: Display resolution USER : default: 1920x1080 @ 24.00Hz (17)
NOTICE: Searching for NATIVE resolution: 1920x1080
NOTICE: Display resolution ADJUST2 : default: 1920x1080 @ 24.00Hz (17)

NOTICE: Display resolution USER : default: 1920x1080 @ 24.00Hz (17)
NOTICE: Searching for NATIVE resolution: 1280x720
NOTICE: Display resolution ADJUST2 : default: 1280x720 @ 50.00Hz (29)

NOTICE: Display resolution USER : default: 1920x1080 @ 24.00Hz (17)
NOTICE: Searching for NATIVE resolution: 720x304
NOTICE: Display resolution ADJUST2 : default: 720x576 @ 50.00Hz (37)

NOTICE: Display resolution USER : default: 1920x1080 @ 24.00Hz (17)
NOTICE: Searching for NATIVE resolution: 608x336
NOTICE: Display resolution ADJUST2 : default: 640x480 @ 60.00Hz (41)

NOTICE: Display resolution USER : default: 1920x1080 @ 24.00Hz (17)
NOTICE: Searching for NATIVE resolution: 640x256
NOTICE: Display resolution ADJUST2 : default: 640x480 @ 60.00Hz (41)

NOTICE: Display resolution USER : default: 1920x1080 @ 24.00Hz (17)
NOTICE: Searching for NATIVE resolution: 640x272
NOTICE: Display resolution ADJUST2 : default: 640x480 @ 60.00Hz (41)

NOTICE: Display resolution USER : default: 1920x1080 @ 24.00Hz (17)
NOTICE: Searching for NATIVE resolution: 720x392
NOTICE: Display resolution ADJUST2 : default: 720x576 @ 50.00Hz (37)

NOTICE: Display resolution USER : default: 1920x1080 @ 24.00Hz (17)
NOTICE: Searching for NATIVE resolution: 608x256
NOTICE: Display resolution ADJUST2 : default: 640x480 @ 60.00Hz (41)

NOTICE: Display resolution USER : default: 1920x1080 @ 24.00Hz (17)
NOTICE: Searching for NATIVE resolution: 640x352
NOTICE: Display resolution ADJUST2 : default: 640x480 @ 60.00Hz (41)

NOTICE: Display resolution USER : default: 1920x1080 @ 24.00Hz (17)
NOTICE: Searching for NATIVE resolution: 624x224
NOTICE: Display resolution ADJUST2 : default: 640x480 @ 60.00Hz (41)

NOTICE: Display resolution USER : default: 1920x1080 @ 24.00Hz (17)
NOTICE: Searching for NATIVE resolution: 1280x544
NOTICE: Display resolution ADJUST2 : default: 1280x720 @ 50.00Hz (29)

NOTICE: Display resolution USER : default: 1920x1080 @ 24.00Hz (17)
NOTICE: Searching for NATIVE resolution: 624x352
NOTICE: Display resolution ADJUST2 : default: 640x480 @ 60.00Hz (41)

I have to say that results are surprisingly good. I'm using receiver with Marvell Qdeo chip and it is doing great job, the picture is visible better than when xbmc is upscaling directly to 1080p. Well, you need to try yourself to judge.

The function used to find the closest resolution match is very simple, perhaps it might be improved. For now it tries to find the lowest resolution which is equal or higher than source resolution and tries to keep as close as possible to original refresh rate for the display.

well, enjoy Wink
find quote
live4ever Offline
Fan
Posts: 556
Joined: Sep 2006
Reputation: 3
Post: #29
Put it up on XBMC's github as pull request as well.
find quote
adam.h. Offline
Junior Member
Posts: 21
Joined: Apr 2011
Reputation: 1
Post: #30
ok, done: https://github.com/xbmc/xbmc/pull/1096
find quote
Post Reply