Hi all, just want to share some simple workaround on how to achieve MHL lag free gaming.
(Some of you might have already know how to do this, but this simple info will still benefits other users)
I search the forum & found little information on this topic, hence I decided to write one myself :fingers-crossed:
Our Z Ultra use MHL 1 (Not MHL 2 or 3) & when I first connect it to my TV, the display is being fixed at: 1080/24p
At 24 frames per second, I can watch movies & videos without issue. But I noticed a minor lag when I open apps & the whole phone UI just feels slow....
Things get really worse, when I try to play games via MHL output on my TV (I use dualshock 3 controller + sixaxis app)
The lag is killing me & made most 60FPS games unplayable, I even tried 30FPS games & still notice a minor input lag.
For gaming, basically we need 60FPS output, 24 or 30 FPS is not smooth enough.
With some simple tweaks, we can force the Z Ultra to output 720p at 60FPS (We sacrifice the 1080p display quality in order to achieve a smoother 720p output)
First, you need to access the service menu by dialing *#*#service#*#*
After that, select Service tests, scroll down to TV-Out Test & select it
Now connect your phone to your TV via MHL cable/adapter & make sure that it's properly connected.
select Video format
There are a few options to choose from, for gaming we need 60FPS so we choose [email protected]
After that, disconnect the MHL adapter from your phone & then reconnect it again.
The phone should now output 720p at 60FPS to your TV.
Note: If you restart or shutdown your phone, you will need to access service menu & do this simple workaround again.
This should work with other Xperia models as well, as long as you are able to access the service menu & change those settings.
Hope the above info helps
UPDATE: I notice my MHL adapter (3rd party) stops charging the phone after I change the TV output resolution.
If your adapter is doing the same thing, just disconnect it from your phone.
Plug in your microUSB wall charger & let it charge for around 30 seconds.
After that, connect your MHL adapter again to your phone, the problem should be gone.
awesome tip!
now able to play Adventures of Mana on Z1C at 60fps on HDTV, thanks much!
Note 4 user here. There's no service test menu, and no TV out test menu. :/
Related
Hi there, sorry if this has been asked before. I did have a quick look (The first post in the FAQ thread) around but couldnt find this question, if it has already been asked please point me in the right direction .
I am looking at purchasing myself a SGS2 soon (Month or so, when the price drops) but I was wondering do you need a Samsung TV to connect it to the SGS2? I currently have a LG 32" and Panasonic 42", will either of these be ok?
Also a side question, which im guessing has been asked before, do I connect to the TV using a HDMI cable or DLNA? Im not exactly sure what DLNA is? is it just connecting to the Tv wirelesly?
Thanks for all the help. Cheers
Hi look here for DLNA http://www.dlna.org/digital_living/how_it_works/
In a nut shell yes its a way of communication between two wifi enabled devices that are DLNA certified . Your TV will have a certificate or state that it is DLNA compliant .
You can stream music , videos , etc to all DLNA devices over the air removing the need for cables.
I personally prefer cables as WiFi can be a hit and miss affair with most interference involving anything on 2.4 ghz will effect performance.
So any DLNA device your Samsung will connect to with the ALL share app
No it doesn't need to be a Samsung TV. Any TV which has a HDMI port would work perfectly fine.
I know it's maybe a little pedantic but you really dont need a tv to have a phone
The only thing a samsung TV one of the later ones will give you is the ability to use the phone as a wifi-remote and control.
DLNA which stands for complete crap, is actually good it's a simple way to stream from source to targets or to be able trigger said stream from targets specified. Best to do a youtube search as it will explain it more.
Most new tv's have dlna server clients built in. HDMI is a faster way to get a stream to play on a tv though so depends.
Side note : The current bit rate for HD vid shot on the phone is actually really crap, 10-13mbits so anything you shoot on the phone would stream over wifi using dlna quite easy. However if you decided to put a 40mbit per second HD movie, streaming over wifi maybe a little hard on all but the best wifi routes/systems. For that you would really want a hdmi out for your sgs2
Neways, hope that helps
Edit : 2 replies in the course of me typing this, must type faster
just be clear here, any TV with a HDMI port will allow picture and sound from the phone, however you are going to have to wait until june to get the adapter to allow this. This adapter (MHL) converts the mini usb port into a data port which will allow usb host, hdmi and charging from a MHL enabled TV (not available yet) and just picture and sound from a normal TV with HDMI.
Thanks for the replies everyobdy. Barry, I wouldnt want to record a video and then show it on Tv, I would most likely be downloading a movie/tv show to my PC, then onto my phone then play it through the TV. That can be done cant it?
Cheers
Edit: Sorry I didnt mean Barry, I meant Dean
Wellynz said:
Thanks for the replies everyobdy. Barry, I wouldnt want to record a video and then show it on Tv, I would most likely be downloading a movie/tv show to my PC, then onto my phone then play it through the TV. That can be done cant it?
Cheers
Click to expand...
Click to collapse
If you want to show wirelessly on TV, and the TV is DLNA compliant, you can show directly from PC to TV. You can also throw an HDMI cable from PC to TV if you can.
stoolzo said:
just be clear here, any TV with a HDMI port will allow picture and sound from the phone, however you are going to have to wait until june to get the adapter to allow this. This adapter (MHL) converts the mini usb port into a data port which will allow usb host, hdmi and charging from a MHL enabled TV (not available yet) and just picture and sound from a normal TV with HDMI.
Click to expand...
Click to collapse
Thanks for that. So basically what you are saying is currently if I was connecting the phone to a TV using HDMI the sound would come out of the phone and not the TV? However when this adapter gets released the sound will come out of the TV?
If you use DNLA then no, sound and video both will come out of the tv. If you're talking about connecting to tv's HDMI then again no, both sound and video come out of the tv. In other words, if video comes out of the tv, so will sound. If video doesn't come out of the tv, then neither will sound.
Basically you either get both or none lol
shabs52 said:
If you use DNLA then no, sound and video both will come out of the tv. If you're talking about connecting to tv's HDMI then again no, both sound and video come out of the tv. In other words, if video comes out of the tv, so will sound. If video doesn't come out of the tv, then neither will sound.
Basically you either get both or none lol
Click to expand...
Click to collapse
correct, both send sound and video to the tv digitally.
stoolzo said:
just be clear here, any TV with a HDMI port will allow picture and sound from the phone, however you are going to have to wait until june to get the adapter to allow this. This adapter (MHL) converts the mini usb port into a data port which will allow usb host, hdmi and charging from a MHL enabled TV (not available yet) and just picture and sound from a normal TV with HDMI.
Click to expand...
Click to collapse
Is it impossible to charge the phone while connected to a non-MHL TV, or does the adapter have a separate charging pass-through?
The MHL-HDMI adapter has a socket for a charger so you phone will get charged, too.
Hi,
I recently bought Xperia S - that has separate HDMI and USB ports, so i was thinking if i could use the device to play pc games and stream video and sound via my phone to tv.
The phone can stream 1280x720 resolution to tv, so i was thinking i could create some kind of onlive-like experience, by plugging phone to tv and connecting keyboard/mouse to it via usb hub/bluetooth - and WIFI streaming output from pc to my phone then to tv.
Is there any app i could use to archieve my goal?
I am pretty sure OnLive is kind of what you are looking for! You can't run windows on your phone, so this is as close as it gets!
Hope this helps! Hitting the thank button if I helped it much appreciated
Sent from my DROID3 using Tapatalk
You misunderstood, i dont want to run windows on my phone, i want to stream video/audio/input between my pc and phone - yes, same thing that OnLive does but with my own games on pc. I just dont want to use onlive - i want my local pc in other room - so far the closest thing out there seems to be kainy...
I know, I was just saying, I have tried several things and there is not really pc streaming to your phone that is instance from pc to phone. It has some lag.
Sent from my DROID3 using Tapatalk
I don't think this is possible. Closest you'll get is Onlive as previously stated or using teamviewer.
Sent from my GT-I9100 using XDA
Actually - ive figured out what i need to do - thankfully i can come by with 10 meter hdmi cable from pc to tv. So ill do this.
Bought "kainy" app from the market, bought samsung USB-otg adapter and a cheap usb hub. I will run kainy on minimal gfx and sound settings, plug keyboard and mouse to usb adapter so i will be able to stream input to pc via kainy.
HDMI output will its job for video and audio.
I've also tried super snes emulator with logitech rumble pad connected via usb to my phone - thos works awesomely well - a mobile console/emulator replacement, the only problem i experience now is that phone slows badly when i enable tv out via hdmi from my Xperia
ergo14 said:
Hi,
I recently bought Xperia S - that has separate HDMI and USB ports, so i was thinking if i could use the device to play pc games and stream video and sound via my phone to tv.
The phone can stream 1280x720 resolution to tv, so i was thinking i could create some kind of onlive-like experience, by plugging phone to tv and connecting keyboard/mouse to it via usb hub/bluetooth - and WIFI streaming output from pc to my phone then to tv.
Is there any app i could use to archieve my goal?
Click to expand...
Click to collapse
The only thing that could work is OnLive. VNC is too laggy for gaming. At least over my network.
Well i intend to use it only between 2 rooms, not over internet - if onlive works - local wifi should work better
chase2hoop said:
The only thing that could work is OnLive. VNC is too laggy for gaming. At least over my network.
Click to expand...
Click to collapse
I don't see this not being smooth/fast enough either, but who knows, maybe he will get it working.
Sent from my DROID3 using Tapatalk
well, i already got kainy working on my tv - but the compression is horrible, so i've decided instead to byu 8-10m HDMI cable and connect my pc -> tv directly , and just use phone as remote hub for keyboard, mouse - the lag for input should be minimal enough to play fps online - and probably way better option than onlive.
I found a thread about HDMI mirroring from DS 5;
As google translates;
[Evaluation] of the DELL STREAK MINI5 [HDMI】 update! Please pay attention! Up to support the use of skills and test
first to HDMI introduction of a period of official products: HDMI devices play video 2011/07/09 By, Via: Powered original player on the HDMI device video 1 will 30-pin connector of the bottom of the device is inserted into the 30-pin dock connector. 2 Use the HDMI data cable equipment with HDMI devices (such as HDMI monitor or TV) connected. 3 Touch Application "(application) button → Photos | & Videos (photo & video). 4 Touch video thumbnails, start the video. 5 device screen will display the Video out (video output) asks you to confirm. Touch Ye, s (is) in the connected HDMI device to play the video. If you do not want to play the video on the device, the Touch No (No). 6 To switch the device screen and HDMI display screen playback, touch the "Menu" (menu) button → Change video out (to change the screen output). 7 To control the playback, use the controls in the device screen:? Touch of a button to pause playback, the touch of a button you can continue playing. ? Touch or drag the yellow playback progress bar to rewind or fast forward the video. Note: The device supports HDMI output WMV9/MPEG-4/H264/H263 video files. Note: HDMI output resolution to 720p.
Original the Dell MINI5 base, $ 59 from the United States buy, buy address: http://www.ebay.com/itm/DELL-STREAK-TABLET-HOME-AV-HDMI-DOCK-KIT-ORIGINAL-NEW
written -/330621384311 base, MADE IN CHINA, work did not have to say, Chinese exports to the U.S. things, the quality often gray ash often good, then I buy it back. . And helpless. Domestic Dell official call, there is a clear domestic test ROM is 15881, the official ROM, you can connect to the TV, but must use the ROM comes with pictures and video player can choose to enter "switch to HDMI " connection so far, want to play something of special format or network video software can not play, some users said, MINI5 This feature is tasteless, there are not as good as 200 yuan of MP4, but I believe through our efforts, or have the opportunity to be resolved. . Is still in testing phase, the idea is as follows: an extraction can be used to switch the HDMI built-in player software to the 2.3 version of the ROM, the CM7 or DSC, two relatively stable some of the 2.3 version to see if success to find other players Andrews supports video output to HDMI devices, or network player. 3, other more effective measures to HDMI is no longer tasteless. . 2012.3.18.22:48 test software: real the HDMI
Original link to thread,apk and HDMI cable;
http://bbs.zhangku.com/thread-80580-1-1.html
Where wa the .apk download link? I couldn't find it...
I have just bought MHL adapter for my Evo 3D GSM.
At first, I tested it on an older LG 720p TV - everything was perfect - the display was cloned on the TV by just connecting the cable.
The games were perfectly playable, etc.
I'm not sure if the stock ROM supports cloning, but it does not matter - I'm using latest CoolSense.
However, on my Panasonic 42" LCD TV it sets the resolution to [email protected], which introduces considerable amount of lag between the phone's screen and the TV. This makes almost all games unplayable on the TV.
I've found that running the following command as root can change the resolution on the TV to [email protected] (and everything looks fine), but after a second, something reverts it back to [email protected]:
Code:
echo 4 > /sys/devices/virtual/graphics/fb1/video_mode
I think that the following command lists the available video modes:
Code:
cat /sys/devices/virtual/graphics/fb1/edid_modes
After some experimenting, I've come to this:
Code:
echo 4 > /sys/devices/virtual/graphics/fb1/video_mode ; sleep 1 ; killall hdmid
This changes the resolution to 720p, and kills hdmid before it's able to restore the previous resolution. And there is no lag at all when playing games (Dead Space, Need for Speed, etc...)
I'm sure it's not very OK to kill the hdmid service (I suppose it manages the HDMI connection/detection etc), but after I kill it I can still disconnect the MHL cable, and when reconnect it the picture is still cloned.
However, the "HDMI" notification icon stays even when the HDMI cable is disconnected (I suppose the HDMI port is still powered and draining battery because the hdmid is not running)
Btw, I'm not Android developer, I'm just using my linux skills here
I am wondering why the resolution gets restored to [email protected]?
Also, how can I safely start/stop this hdmid (or other) service?
If there are some developers here, I would like to hear some thoughts...
Maybe this will be my first android app
lokster said:
Code:
echo 4 > /sys/devices/virtual/graphics/fb1/video_mode
I think that the following command lists the available video modes:
Code:
cat /sys/devices/virtual/graphics/fb1/edid_modes
After some experimenting, I've come to this:
Code:
echo 4 > /sys/devices/virtual/graphics/fb1/video_mode ; sleep 1 ; killall hdmid
Also, how can I safely start/stop this hdmid (or other) service?
If there are some developers here, I would like to hear some thoughts...
Maybe this will be my first android app
Click to expand...
Click to collapse
Excellent work! I'm interested in doing the same thing on the galaxy s iii. Does your ROM have init.d support? hdmid may be a daemon that starts with Android. On some Linux distros, a bash script may be present with the "stop" and ”start" commands. I'm not in front of a computer right now to dig deeper, but you might be able to do something like "hdmid stop" as root.
Yes, my rom has full init.d support, but unfortunately I've already tried "hdmid stop", and it does not do anything (it just hangs after executed).
This is frustrating - the problem is common, with different phones from different manufacturers, and yet, there is so little information (and no real solution)...
How hard is to just put a simple app to change the resolution... The chinese Android TV sticks all have it!
I believe killall sends a SIGTERM signal to hdmid. Is the daemon open source? If so, you could check to see whether or not the daemon handles SIGTERM. It may be appropriately cleaning up before exiting. If so, running killall hdmid wouldn't be that big of a deal.
On the galaxy s iii, I don't have an hdmid daemon running before or after the mhl is connected. Some other process handles it.
Sent from my SCH-I535 using xda premium
Does HDMI work on JB ROMS ?
wolfu11 said:
Does HDMI work on JB ROMS ?
Click to expand...
Click to collapse
I didn't finad that rom... Only ICS. If exist, I am interest too
---------- Post added at 02:40 PM ---------- Previous post was at 02:26 PM ----------
Another question, is it possible to have a picture on monitor, but a sound in mobile onr headset? When I plug a pc monitor with HDMI, which have no repro, I lose a sound...
1080p 24
hi folks interesting thread. i want to change the hdmi output on my s4 to 1080p24 with the samsung mhl 2.0 adapter. by default its 1080p60.
i'm rooted and using root explorer have found the relevant files, and sure enough the video_mode files has 16 in it - 1080p60. when i try to change this to 32 (1080p24) using a text editor (its mounted as r/w), the changes don't stick even though it says the file is saved ok. am i doing something wrong here? i noticed that you said "running the following command as root" - could you explain what this means please? i presume its in reference to using a terminal emulator?
I'm curious as to why the topic of HDMI has so little interest. It just baffles me. We need to find a way to stir more interest in this topic. I have a Galaxy Note 3 and I am having similar problems. Mine is that when using MHL I only get 720p (I have two different brands, same result) but on my Note 2 MHL works at 1080p just fine. Using an AllShareCast dongle works at 1080p fine. I prefer MHL to the compression artifact laden AllShareCast so this is frustrating me. There simply must be a relatively easy way to just select output resolutions using an app. Why does none exist? MHL has been around for some time now (2 years?). Come on! We have powerful PC's in our hands now! Let's get them desktop friendly!
i_guana said:
I'm curious as to why the topic of HDMI has so little interest. It just baffles me. We need to find a way to stir more interest in this topic. I have a Galaxy Note 3 and I am having similar problems. Mine is that when using MHL I only get 720p (I have two different brands, same result) but on my Note 2 MHL works at 1080p just fine. Using an AllShareCast dongle works at 1080p fine. I prefer MHL to the compression artifact laden AllShareCast so this is frustrating me. There simply must be a relatively easy way to just select output resolutions using an app. Why does none exist? MHL has been around for some time now (2 years?). Come on! We have powerful PC's in our hands now! Let's get them desktop friendly!
Click to expand...
Click to collapse
Turns out I'm not alone! Check my thread: http://forum.xda-developers.com/showthread.php?p=49180834#post49180834
lokster said:
I have just bought MHL adapter for my Evo 3D GSM.
At first, I tested it on an older LG 720p TV - everything was perfect - the display was cloned on the TV by just connecting the cable.
The games were perfectly playable, etc.
I'm not sure if the stock ROM supports cloning, but it does not matter - I'm using latest CoolSense.
However, on my Panasonic 42" LCD TV it sets the resolution to [email protected], which introduces considerable amount of lag between the phone's screen and the TV. This makes almost all games unplayable on the TV.
Click to expand...
Click to collapse
FIX!!!!!
To change the resolution and make games and all apps lag free (with the method I found) you MUST be rooted.
If rooted, download a root terminal/cmd and type ru in prompt and hit enter. Then type wm size 720x1280. ***Will stay on indefinitely until reverted back with command ru then wm size 1080x1920***
Now your device will be 720p, but you will notice that your icons are huge. To fix that in CM12.1 go to setting/look and feel/DPI and change from 440 to 320. If you don't have CM12.1 download a DPI changer and change to 320, or find corresponding root cmd to change DPI... I don't know it because CM12.1 has one stock.
Now everything should be lag free and awesome for gaming! I use sixasis and screen standby and have been playing Zelda on the couch the last few evening.
Hope this helps at least one person.
Ok, so like many other people I want to use my tablet for gaming, and our Z3TC is a pretty competent device in that department, but I have a problem with it. For some time now I have been trying to play games on it using my Dualshock 4 controller connected through bluetooth and at the same time having the tablet connected to my tv through a MHL adapter. When I do that the input lag is ridiculous, and distance between the controller and the device must be impractically small in order for it to work. I used official Sony and cyanogenmod firmwares, I also used Sixaxis Controller and the same result.
Has anyone else encountered this? Am I doing something wrong? Is there any way to have MHL and controller connected through OTG at the same time?
Please help!
I have the same problem with my Z3 phone, in order to "fix" this you have to acces the service mode (you have to look how to acces via google) , go to service test menu > tv-out test > video format, in this menu you have to select one of the resolutions that have 60fps, the lower the resolution the lower the lag
HasturX said:
I have the same problem with my Z3 phone, in order to "fix" this you have to acces the service mode (you have to look how to acces via google) , go to service test menu > tv-out test > video format, in this menu you have to select one of the resolutions that have 60fps, the lower the resolution the lower the lag
Click to expand...
Click to collapse
Damn... what if I have Cyanogenmod and no access to service test menu? Guess I'm screwed.
Thanks for the reply!