2012-11-23, 15:32
2012-11-23, 16:45
XScreenCount reports 2 screens on your system but xrandr sees only 1. Can you post your xorg.conf?
2012-11-23, 16:49
http://paste.ubuntu.com/1379583/
I have
VGA - Connected via VGA cable to LGTV
HDMI - Optoma 3DXL Box
I have
VGA - Connected via VGA cable to LGTV
HDMI - Optoma 3DXL Box
2012-11-23, 17:22
Could you post output of xrandr -q
I am trying t figure out why xrandr does not see your second screen.
What have you set your DISPLAY variable to? Did you specify the screen, e.g. :0.1?
Does xrandr produce a different output if you set DISPLAY to 0.0 or 0.1?
I am trying t figure out why xrandr does not see your second screen.
What have you set your DISPLAY variable to? Did you specify the screen, e.g. :0.1?
Does xrandr produce a different output if you set DISPLAY to 0.0 or 0.1?
2012-11-23, 17:29
http://paste.ubuntu.com/1379671/
I dont follow / understand with the other questions.
This was just installed 10 days ago (give or take) as I upgraded the HDD in the box. So everything apart from XBMC is pretty much the default yaVDR settings.
I would have no problem ditching yaVDR and doing a minimal install or Ubuntu / VDR and Xbmc if I knew it was going to work, its one of the reasons why I was testing the PVR side of things in XBMC in the first place.
But I dont really want to go through a wipe and reinstall ofthe box to find that for some reason I am not going to be able to use the PVR side of things
Ok had a quick google.
xrandr -q -display 0:0
gives
Can't open display 0:0
xrandr -q -display 0:1
Gives
http://paste.ubuntu.com/1379712/
I dont follow / understand with the other questions.
This was just installed 10 days ago (give or take) as I upgraded the HDD in the box. So everything apart from XBMC is pretty much the default yaVDR settings.
I would have no problem ditching yaVDR and doing a minimal install or Ubuntu / VDR and Xbmc if I knew it was going to work, its one of the reasons why I was testing the PVR side of things in XBMC in the first place.
But I dont really want to go through a wipe and reinstall ofthe box to find that for some reason I am not going to be able to use the PVR side of things
Ok had a quick google.
xrandr -q -display 0:0
gives
Can't open display 0:0
xrandr -q -display 0:1
Gives
http://paste.ubuntu.com/1379712/
2012-11-23, 18:06
As I tested with multiple sceens, xrandr did see those. The output was like this:
In your case it only is aware of screen 0.
The DISPLAY variable is [host]:display.[screen]
Can you post the output of env? Maybe it does not see the other screen if your DISPLAY variable is set to e.g. :0.0
Nevertheless I have pushed another fix. xrandr won't return error if at least one screen returns results.
btw: I am not sure if a GT210 is powerful enough to serve 2 screens and do video playback without drops.
Code:
<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1080" maximum_w="8192" maximum_h="8192">
<output name="DVI-I-0" connected="false">
</output>
</screen>
<screen id="1" minimum_w="8" minimum_h="8" current_w="1920" current_h="1080" maximum_w="8192" maximum_h="8192">
<output name="DVI-I-1" connected="false">
</output>
</screen>
In your case it only is aware of screen 0.
The DISPLAY variable is [host]:display.[screen]
Can you post the output of env? Maybe it does not see the other screen if your DISPLAY variable is set to e.g. :0.0
Nevertheless I have pushed another fix. xrandr won't return error if at least one screen returns results.
btw: I am not sure if a GT210 is powerful enough to serve 2 screens and do video playback without drops.
2012-11-23, 18:14
It only serves one screen at once.
If one is on the other is off, so its only ever one output at once, when I tried eden pvr it seemed to work ok, but just unstable.
Anyway
env
http://paste.ubuntu.com/1379816/
Will rebuild now and give it a shot.
If one is on the other is off, so its only ever one output at once, when I tried eden pvr it seemed to work ok, but just unstable.
Anyway
env
http://paste.ubuntu.com/1379816/
Will rebuild now and give it a shot.
2012-11-23, 18:30
Quote:If one is on the other is off,
This might explain it.
Note: without a 50Hz mode you always will observe frame drops.
2012-11-23, 18:52
Hmm I can set the TV to 50Hz when using HDMI, I am guessing this is a limitation of using VGA to connect it ?
anyway, it now builds and runs on my silly set-up, so Thank you
However as soon as I enable any form of interlacing it drops frames like mad
I tried both auto-select and temporal,
http://paste.ubuntu.com/1379899/
I guess thats that then, and if I want to use XBMC PVR I will need to use Eden
Thanks for spending the time today to try and resolve this, and maybe in the future it will work better on my old gfx card
anyway, it now builds and runs on my silly set-up, so Thank you
However as soon as I enable any form of interlacing it drops frames like mad
I tried both auto-select and temporal,
http://paste.ubuntu.com/1379899/
I guess thats that then, and if I want to use XBMC PVR I will need to use Eden
Thanks for spending the time today to try and resolve this, and maybe in the future it will work better on my old gfx card
2012-11-23, 19:34
I don't think EDEN is "better" in any way. 50fps just don't match in 60Hz.
You can achieve quite good results with your gfx card. I would connect it with HDMI to your TV and configure only one screen. The way you have set up your xorg (with nvidia meta modes), you won't get correct EDID modes for your TV.
Compare with my xorg.conf: http://xbmclogs.com/show.php?id=15335
In case you want to connect multiple monitors configure a single screen and use xrandr to switch them on/off. Swtich one output off when running XBMC. When not running XBMC you can use xrandr to configure one output e.g. rightOf the other one.
You can achieve quite good results with your gfx card. I would connect it with HDMI to your TV and configure only one screen. The way you have set up your xorg (with nvidia meta modes), you won't get correct EDID modes for your TV.
Compare with my xorg.conf: http://xbmclogs.com/show.php?id=15335
In case you want to connect multiple monitors configure a single screen and use xrandr to switch them on/off. Swtich one output off when running XBMC. When not running XBMC you can use xrandr to configure one output e.g. rightOf the other one.
2012-11-24, 08:28
I need it to be simple, and although I am reasonably competent at getting around in linux and doing most things this goes a little over my head.
The way it is set up at the moment I can just click "Switch to second display" and it will switch everything over the projector. So in the evening I can just do that, load up xbmc and it works. I appreciate that something in the way yaVDR sets this up is causing issues with this.
I noticed with your test build of xbmc it seemed to lock it to the one display (I presume this was intentional given the problems we had / were having)
I really am considering removing yaVDR and starting with a minimal system, I suspect that would shake this issue. The problem I have is that I need to keep it simple and that is where problems arise. I dont have (for example) a keyboard attached to the HTPC usually so if I had to type a command to switch between screens it would become a pain.
I could do it over ssh, but then I start running into problems with the other members of my family who use the box who are not in any way shape of form competent with a command line.
Eden PVR did work bar the fact I found it unstable, it only seems to be since PVR went mainline that this has started, I may look at xVDR and see if that stops the problem, I cant see why it should, but I am just a layman, but for the sake of 20 minutes owrk it may be worth looking at.
I will look at using the DVI output to see if that will allow me to use 50Hz and not lock it at 60, as I cant really be swapping leads at the back of my box all the time (again back to simplicity)
Once again though I do appreciate all the help you have given me, and the time you have sank into this.
The way it is set up at the moment I can just click "Switch to second display" and it will switch everything over the projector. So in the evening I can just do that, load up xbmc and it works. I appreciate that something in the way yaVDR sets this up is causing issues with this.
I noticed with your test build of xbmc it seemed to lock it to the one display (I presume this was intentional given the problems we had / were having)
I really am considering removing yaVDR and starting with a minimal system, I suspect that would shake this issue. The problem I have is that I need to keep it simple and that is where problems arise. I dont have (for example) a keyboard attached to the HTPC usually so if I had to type a command to switch between screens it would become a pain.
I could do it over ssh, but then I start running into problems with the other members of my family who use the box who are not in any way shape of form competent with a command line.
Eden PVR did work bar the fact I found it unstable, it only seems to be since PVR went mainline that this has started, I may look at xVDR and see if that stops the problem, I cant see why it should, but I am just a layman, but for the sake of 20 minutes owrk it may be worth looking at.
I will look at using the DVI output to see if that will allow me to use 50Hz and not lock it at 60, as I cant really be swapping leads at the back of my box all the time (again back to simplicity)
Once again though I do appreciate all the help you have given me, and the time you have sank into this.
2012-11-24, 08:54
You definitely should start with your xorg.conf which is your main problem. Writing a script to switch monitors is quite simple, e.g.:
You can use lirc irexec and call this script on a defined sequence of button presses.
Code:
xrandr --output CRT-1 --off
xrandr --output HDMI-1 --mode 0x1e9
You can use lirc irexec and call this script on a defined sequence of button presses.