MHL HDMI Screen Resolution - One (M8) Q&A, Help & Troubleshooting

Hi,
I want to change the screen resolution of the MHL output because it's not correctly detected maybe because my old monitor or the hdmi to dvi adapter. I wonder there is no native menu to configure the resolution and audio output device or an alternative app... My device is rooted.
So the screen settings are here:
/sys/devices/virtual/graphics/fb1
There is a thread for the evo http://forum.xda-developers.com/showthread.php?t=2090396 but on my One there is no hdmid service and no video_mode.
Available is a file named modes which probably contains all available modes and a file named mode which maybe should contain the current output mode.
modes contains in my case U:640x480p-0 and U:640x480p-94
mode contains nothing if I echo an value into its also empty after that.
The monitor supports a maximum of 1280x720.
Is there someone with deeper android development knowledge who can help in that case?
Thanks,
Patrick
Edit: Maybe I get 640x480px because of HDCP protection problems - is there any solution to get the HDCP back to work on a rooted phone or disable it? In the developer menu there is no setting for that

Related

Unrestricted hdmi out

Has anyone made any progress on getting the hdmi out to just just display whats on the screen and bypass the drm limitations?
Either that or Composite out...for mobile use...(car audio)...but unrestricted HDMI would be SICK....
hopefully this happens...definitely donation-worthy!
Composite out from the HDMI? I guess, but the hardware is there fro HDMI. Sprint wrote their own API for it So I am guessing that Tweeking it a bit will allow for full screen display.
The Desire already does Composite output and it is full display. I don't get the DRM issue, because who cares if the home screen displays on the HDMI and the videos are pushed out the HDMI so where is the issue?
It seems like it would be relatively trivial to write an app that takes a screen shot 30 times per second and broadcasts it over the HDMI cable. I don't know if its the most elegant way to do it, but it should be worth a shot.
that would be one way to skin a cat, but damn it would make the phone slooooooowwwww
Need a thread with wishes for hardware/software tweaks.
Like higher fps and bitrate in video recording.
Better algorithm to focus camera for taking photos.
Etc.
theillustratedlife said:
It seems like it would be relatively trivial to write an app that takes a screen shot 30 times per second and broadcasts it over the HDMI cable. I don't know if its the most elegant way to do it, but it should be worth a shot.
Click to expand...
Click to collapse
I already tried that, by directly copying the framebuffer for the LCD to the HDMI framebuffer. It didn't work. It steals the frames from the display, but it refuses to output it over HDMI, probably because the HDCP (right term for HDMI DRM?) handshake hasn't been completed.
acrh2 said:
Need a thread with wishes for hardware/software tweaks.
Like higher fps and bitrate in video recording.
Better algorithm to focus camera for taking photos.
Etc.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=716547
Here's a thread dedicated to that
Geniusdog254 said:
I already tried that, by directly copying the framebuffer for the LCD to the HDMI framebuffer. It didn't work. It steals the frames from the display, but it refuses to output it over HDMI, probably because the HDCP (right term for HDMI DRM?) handshake hasn't been completed.
Click to expand...
Click to collapse
Mind sharing the code for exactly what you did? I've been looking through the code on this as well and might just provide a starting point for someone else or atleast let us see what hasn't worked so we can try a different approach. thanks
Geniusdog254 said:
I already tried that, by directly copying the framebuffer for the LCD to the HDMI framebuffer. It didn't work. It steals the frames from the display, but it refuses to output it over HDMI, probably because the HDCP (right term for HDMI DRM?) handshake hasn't been completed.
Click to expand...
Click to collapse
From what I found, the HDMI is already sharing a framebuffer with the LCD...
Cicatrize said:
From what I found, the HDMI is already sharing a framebuffer with the LCD...
Click to expand...
Click to collapse
I admit I am still learning linux but isn't the FB_BASE the base address for the memory allocated for the frame buffer? If so, they don't appear to be the same...
#define MSM_HDMI_FB_BASE 0x02B00000
#define MSM_HDMI_FB_SIZE 0x00400000
http://github.com/toastcfh/HTC-Supe...ster/arch/arm/mach-msm/board-supersonic.h#L23
#define MSM_FB_BASE 0x03B00000
#define MSM_FB_SIZE 0x00465000
http://github.com/toastcfh/HTC-Supe...ster/arch/arm/mach-msm/board-supersonic.h#L46
Cicatrize said:
From what I found, the HDMI is already sharing a framebuffer with the LCD...
Click to expand...
Click to collapse
Nope it doesn't. Look either the memory init code in board-supersonic.h to see both memory banks initiated separately or run "adb shell ls /dev/graphics" and you'll see fb0 & fb1.
u guys are nerds and i love u for it... i really hope u guys figure this out, i don't program or anything like that, but if there's a way i can help, pls don't hesitate to ask. i'm sure alot more people feel the same way. cheers n ty for ur hard work.
Sorry, what I meant was it's probably sharing the same display RAM. Too busy thinking about old school hardware framebuffers. lol

MHL to VGA adapter question

Hi guys,
I have some question for MHL specialists please.
I'd like to connect SG S2 to my car's (Acura MDX 09) navigation screen using MHL USB to VGA adapter (like this one http://www.amazon.com/iKross-micro-...ectronics&ie=UTF8&qid=1326098625&sr=1-2-fkmr0).
As far as I know, my car's native Screen resolution is 800x480, 15hz, RGB+S. The question is - will this setup work ? Is it possible to adjust output resolution and refresh rate on S2 so that it will output correct image to my navigation screen ?
Thanks in advance.
Mark
you can't change refresh rate or resolution on the phone, but the screen in your dash can most likely scale it.
Did anybody tested this? Is it working but not asking for HDMI (this should work), asking for VGA output..
thanks for answer..
Sent from my GT-I9100 using XDA App

[Q] Set resolution on Smart Dock ?

Does anyone know if it's possible to change the resolution the note 2 Smart dock outputs over the HDMI port?
My 1680x1050 (native) monitor is being driven at 720x480 by the dock which seems unusually low to me.
The monitor isn't capable of 1080 but surely there is a step between 480 and 1080????
Update: I've now got a Dell P2311H monitor which is 1920x1080 native and I STILL can not get anything more than 480p out of the smart dock
Probably best asking here:
http://forum.xda-developers.com/showthread.php?t=2022380
we reaaly need a programmer to make a tweak to choose output resolution..

how to change output resolution on Pine64 with Remix OS 2.0 to work with NexDock

I received a Nexdock which is basically a display and a bluetooth keybord. The idea is that with Nexdock you can turn your Pine64 computer into a laptop.
More info on NexDock on indiegogo.com
I'm running RemixOS 2.0 on my Pine64 2GB but I can't change the output resolution of the Pine64 to 1366x768.
1366x718 is the native resolution of the Nexdock.
Nexdock works together with Pine64, but all text is hard to read because of the wrong display setting.
When ordering a Nexdock Nexdock claimed compatibility with Pine64...
Any solution or Remix OS update to fix this issue?
I'm on the same boat as you.
Running debian the display is using the right resolution but obviously there's no GPU acceleration and no bluetooth working.
Bluetooth will get a fix in the future probably but I have little hope for GPU on debian. That means no usable Kodi-
At this stage of development Android (and RemixOS) seems to be the better solution for the Pine64.
On PC you can change the vesa mode at boot but I don't know how to do it on Pine.
Ok. I don't have an available SD to burn again RemixOS but could you try this?
in settings> experimental features >enable debug terminal console
press Alt+F1 this will opens the console
type wm size 1366x768 hit enter
press Alt+F7 to exit
Debug window
Unfortunately, that option seems to have been removed for the Pine build. I tried alt+f1 to see if maybe it was enabled by default, but no luck.

[email protected] doable?

Hi!
I recently got my hands on an [email protected] monitor, and I would like to know if I could get some benefits of those extra 15Hz and 1440p resolution on the Shield! After all, it has HDMI 2.0 and enough horse power to run [email protected]
It's not to run apps or games at this refresh rate as it might cause some timing issues (games running faster as natively locked at 60Hz) but I'm using Shadow on it. Shadow streams the screen of a virtual PC in the cloud with low latency and resolution/refresh rates variating from between [email protected] to [email protected] That being said, the Shadow client received an image between 144FPS to 60FPS, and accordingly to Shadow's "PC" resolution. Of course you can receive 4K stream on a 1080p TV but that's not where I'm headed to.
I would like to run the Shield at 1440p, at a 75Hz refresh rate... Which is natively not doable but I wanted to know if there was a possibility to edit some files in order to add those options in the settings, or use a third party app... Anything that may help me to achieve it would be awesome!
Cheers!
EDIT: Whoops! Can someone move this to "Shield Android TV Q&A, Help & Troubleshooting"?
Make sure you have developer mode activated.
1. Enable the developer mode by going to Settings > Device preferences > About, scroll to the bottom and tap Build several times.
2. Go back to device preferences, go to the bottom.
There should now be a Developer Options.
3. Click on that.
4. Go down to HDMI and enable "Show all supported modes in custom display modes".
5. Go back to Device Preferences and click on Display & Sound > Advanced display settings > Custom display mode.
It might be there now.
If it's not, then there might be no way to get it, since its not supported
But be aware, as it say under developer options, there might be graphical and ui issues by using a custom resolution in some apps.

Categories

Resources