Etienn_01
Posts: 7
Joined: Mon Aug 20, 2012 5:37 pm

XBMC : "Mode not supported"

Mon Aug 20, 2012 6:11 pm

Hi,
I cross-compiled XMBC. It runs well on RCA output, but not on HDMI.
TV's native resolution is 1440x900. When I start XBMC, screen goes black, then the TV displays "Mode not supported".

Here is the log : http://pastebin.com/vXnU0Hv1

At line 81 :

Code: Select all

19:56:15 T:1102909440  NOTICE: Found (1440x900@60.000000) at 28, setting to RES_DESKTOP at 16
The resolution is set at 1440x900, so it should be good !

Any idea ?
Thanks.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5099
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: XBMC : "Mode not supported"

Mon Aug 20, 2012 6:15 pm

What mode are you in before launching xbmc?
/opt/vc/bin/tvservice -s

Etienn_01
Posts: 7
Joined: Mon Aug 20, 2012 5:37 pm

Re: XBMC : "Mode not supported"

Mon Aug 20, 2012 6:22 pm

dom wrote:What mode are you in before launching xbmc?
/opt/vc/bin/tvservice -s
I tried to run this command, but I get

Code: Select all

root@rpi:~# /opt/vc/bin/tvservice -s
-bash: /opt/vc/bin/tvservice: No such file or directory
and

Code: Select all

root@rpi:~# ls -l /opt/vc/bin/
total 252
-rwxrwxrwx 1 root root 67370 Aug 20 16:20 edidparser
-rwxrwxrwx 1 root root 35428 Aug 20 16:20 tvservice
-rwxrwxrwx 1 root root 75634 Aug 20 16:20 vcdbg
-rwxrwxrwx 1 root root 14764 Aug 20 16:20 vcgencmd
-rwxrwxrwx 1 root root 55519 Aug 20 16:20 vchiq_test
My TV reports I'm using 1440x900@60Hz

EDIT:
After some Google search...

Code: Select all

root@rpi:~# /opt/vc/bin/tvservice -s
state: HPD high|HDMI mode|HDCP off|composite off (0x12001a), 1440x900 @ 60Hz, progressive

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5099
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: XBMC : "Mode not supported"

Mon Aug 20, 2012 6:51 pm

Does adding:
hdmi_group=2
hdmi_mode=0x2f
hdmi_drive=2

to config.txt help?

Etienn_01
Posts: 7
Joined: Mon Aug 20, 2012 5:37 pm

Re: XBMC : "Mode not supported"

Mon Aug 20, 2012 7:02 pm

dom wrote:Does adding:
hdmi_group=2
hdmi_mode=0x2f
hdmi_drive=2

to config.txt help?
No, TV displays "Mode not supported" from start.

Etienn_01
Posts: 7
Joined: Mon Aug 20, 2012 5:37 pm

Re: XBMC : "Mode not supported"

Mon Aug 20, 2012 7:36 pm

Before starting xbmc:

Code: Select all

state: HPD high|DVI mode|HDCP off|composite off (0x120016), 1440x900 @ 60Hz, progressive
And after xbmc start:

Code: Select all

state: HPD high|HDMI mode|HDCP off|composite off (0x12001a), 1440x900 @ 60Hz, progressive
XBMC is switching to HDMI mode and TV displays "Mode not supported".
If I force 1080i (1080p doesn't work) resolution in config.txt, XMBC is working (with HDMI mode and sound is OK), but display quality is lower.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5099
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: XBMC : "Mode not supported"

Mon Aug 20, 2012 7:36 pm

Etienn_01 wrote: No, TV displays "Mode not supported" from start.
How about:
hdmi_group=2
hdmi_mode=0x2e
hdmi_drive=2

Etienn_01
Posts: 7
Joined: Mon Aug 20, 2012 5:37 pm

Re: XBMC : "Mode not supported"

Mon Aug 20, 2012 7:44 pm

dom wrote:
Etienn_01 wrote: No, TV displays "Mode not supported" from start.
How about:
hdmi_group=2
hdmi_mode=0x2e
hdmi_drive=2
Boot in VGA:

Code: Select all

state: HPD high|HDMI mode|HDCP off|composite off (0x12001a), 640x480 @ 60Hz, progressive

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5099
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: XBMC : "Mode not supported"

Mon Aug 20, 2012 7:55 pm

Etienn_01 wrote:When I start XBMC, screen goes black, then the TV displays "Mode not supported".
Can you confirm what you meant here?

Were you in a system with working HDMI output (like raspbian), and you lost the display when launching xbmc,
or are you booting straight into an xbmc distribution (e.g. openelec/raspbian) and there is no HDMI output at all?

Etienn_01
Posts: 7
Joined: Mon Aug 20, 2012 5:37 pm

Re: XBMC : "Mode not supported"

Mon Aug 20, 2012 8:00 pm

dom wrote:
Etienn_01 wrote:When I start XBMC, screen goes black, then the TV displays "Mode not supported".
Can you confirm what you meant here?

Were you in a system with working HDMI output (like raspbian), and you lost the display when launching xbmc,
or are you booting straight into an xbmc distribution (e.g. openelec/raspbian) and there is no HDMI output at all?
I'm booting into Raspbian. Display is working but in DVI mode. When I start XBMC (using xinit from tty1), the screen goes black, then the TV displays "Mode not supported".
Maybe you have not seen this post : http://www.raspberrypi.org/phpBB3/viewt ... 40#p154640

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5099
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: XBMC : "Mode not supported"

Mon Aug 20, 2012 8:13 pm

Etienn_01 wrote:Maybe you have not seen this post : http://www.raspberrypi.org/phpBB3/viewt ... 40#p154640
Yes, that post is the important one.

Okay, your monitor doesn't seem to like HDMI mode, but does like DVI mode.
XBMC always chooses HDMI mode, as that is most useful (you can only get audio with HDMI mode).

XBMC should really allow choosing HDMI/DVI. But I think if there is only one mode available, xbmc doesn't change mode.

So I think this will be the mode you get by default, and may stop xbmc from choosing a different mode:
hdmi_group=2
hdmi_mode=0x2f
hdmi_drive=1

If not, then I think you need to look into guisettings.xml. Possibly changing the resolution to windowed would help?

Etienn_01
Posts: 7
Joined: Mon Aug 20, 2012 5:37 pm

Re: XBMC : "Mode not supported"

Mon Aug 20, 2012 8:21 pm

dom wrote: Yes, that post is the important one.

Okay, your monitor doesn't seem to like HDMI mode, but does like DVI mode.
XBMC always chooses HDMI mode, as that is most useful (you can only get audio with HDMI mode).

XBMC should really allow choosing HDMI/DVI. But I think if there is only one mode available, xbmc doesn't change mode.

So I think this will be the mode you get by default, and may stop xbmc from choosing a different mode:
hdmi_group=2
hdmi_mode=0x2f
hdmi_drive=1

If not, then I think you need to look into guisettings.xml. Possibly changing the resolution to windowed would help?
Same problem with these settings. I'll look at guisettings.xml.
Thank you for your help.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5099
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: XBMC : "Mode not supported"

Thu Aug 23, 2012 2:20 pm

You need this change:
https://github.com/huceke/xbmc/commit/d ... 6b0efb2bab

Then if the hdmi_mode/hdmi_group are set the hdmi mode will be left alone and you shouldn't lose the display.

You'll need to wait for a build that incorporates this change.

Return to “Media centres”

Who is online

Users browsing this forum: No registered users and 3 guests