Not sure if the below helps. I hit the same issue using a Quadro FX 880M (NVIDIA Driver Version:295.20, NV-CONTROL Version:1.27) when in a docking station with 2 monitors connected via DVI (and the builtin laptop monitor off). Using disper 0.3.0.
I ran disper through the python debugger (though I'm no python programmer so if there is something else that would help let me know) and got a stack trace from the error:
Not sure if the below helps. I hit the same issue using a Quadro FX 880M (NVIDIA Driver Version:295.20, NV-CONTROL Version:1.27) when in a docking station with 2 monitors connected via DVI (and the builtin laptop monitor off). Using disper 0.3.0.
I ran disper through the python debugger (though I'm no python programmer so if there is something else that would help let me know) and got a stack trace from the error:
-> exec cmd in globals, locals (1)<module> () share/disper/ src/disper. py(360) <module> () share/disper/ src/disper. py(354) main() share/disper/ src/disper. py(197) switch( ) config( ) disper/ src/disper. py(319) export_ config( ) export_ config( ) share/disper/ src/switcher/ swnvidia. py(185) export_ config( ) get_xinerama_ info_order( self.screen) .split( ','))) share/disper/ src/nvidia/ nvcmd.py( 450)get_ xinerama_ info_order( ) string_ attribute( target, [], NV_CTRL_ STRING_ TWINVIEW_ XINERAMA_ INFO_ORDER) share/disper/ src/nvidia/ nvctrl. py(667) query_string_ attribute( ) ingAttributeRep ly(binrp) share/disper/ src/nvidia/ nvctrl. py(428) __init_ _() 'STRING8' ,self.n, 'string' )) share/disper/ src/nvidia/ minx.py( 129)decode( )
<string>
/usr/
-> main()
/usr/
-> disper.switch()
/usr/
-> print self.export_
> /usr/share/
-> return self.switcher.
/usr/
-> self.nv.
/usr/
-> res = self.query_
/usr/
-> return _NVCtrlQueryStr
/usr/
-> minx.XData(
/usr/
-> rdict[arg.value] = struct.unpack( structcode, data[:sz] )[0]
Then printed the value of some variables in the local area:
(Pdb) pp data[:sz]
'\x00'
(Pdb) pp structcode
's0L'
(Pdb) pp ad
'\x00\x00\x00\x00'
(Pdb) pp self.n
1
disper -p only prints:
could not get scaling for screen DFP-0, reverting to "default"
unpack requires a string argument of length 4
for me (DFP-0 is the disabled internal monitor).