You are not logged in.

#1 2015-10-05 22:57:23

esa
Member
Registered: 2011-12-29
Posts: 143
Website

Xrandr and my laptopscreen

Heyas

I've been playing around with my script VHS and figured, "all of a sudden" (first time on arch, worked well on fedora/netbsd) it cant record no longer my screen.
Figured, when it was trying to get the screen resolution from xrandr, it was parsing for an asterix, now, my xrandr doesnt show one.

If fact, my current xrandr looks pretty strange to my eyes.
Another issue, which i guess might be 'related' is, that my when i play some old games on dosbox, the screen cant switch back to 1920x1080, not even manualy.
The xrandr did look the same, but since it was after the dosbox issue, i blamed that and didnt bother with it since, as i had my full hd back after a restart.

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   864x486       60.00  
   640x480       59.94  
HDMI1 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
  1920x1080 (0x48) 140.000MHz
        h: width  1920 start 1968 end 2068 total 2100 skew    0 clock  66.67KHz
        v: height 1080 start 1083 end 1084 total 1110           clock  60.06Hz

First of all, the current screen res is not listed, neither is any standard between FHD and VGA (never seen that 864x486 before, if it was 854x480.. ok...)
Then further down, for the very first time ever, i am seeing that 'VIRUTAL1' item.
And for being disconnected, it shows quite a bunch of configuration.

Seeing the above output of xrandr, i wonder how i actualy got those 1920x1080?
The Wiki didnt help me, and thanks to the manpage, here is more information i dont really understand:

0 $ xrandr --verbose
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (0x48) normal (normal left inverted right x axis y axis) 344mm x 193mm
	Identifier: 0x43
	Timestamp:  25262
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff0006afed3000000000
		001601049022137802d1159e59539b27
		1e505400000001010101010101010101
		010101010101b03680b470381e403064
		310058c1100000180000000f00000000
		00000000000000000020000000fe0041
		554f0a202020202020202020000000fe
		004231353648544e30332e30200a0003
	BACKLIGHT: 5273 
		range: (0, 5273)
	Backlight: 5273 
		range: (0, 5273)
	scaling mode: Full aspect 
		supported: None, Full, Center, Full aspect
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
  864x486 (0x7e) 32.901MHz -HSync +VSync
        h: width   864 start  888 end  976 total 1088 skew    0 clock  30.24KHz
        v: height  486 start  487 end  490 total  504           clock  60.00Hz
  640x480 (0x7f) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
HDMI1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x44
	Timestamp:  25262
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
VGA1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x45
	Timestamp:  25262
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x46
	Timestamp:  25262
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      3
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  1920x1080 (0x48) 140.000MHz
        h: width  1920 start 1968 end 2068 total 2100 skew    0 clock  66.67KHz
        v: height 1080 start 1083 end 1084 total 1110           clock  60.06Hz
0 $ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x47 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 4 associated providers: 0 name:Intel

Guess this might be usefull?

0 $ lspci -v -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
	Subsystem: Toshiba America Info Systems Device fa47
	Flags: bus master, fast devsel, latency 0, IRQ 31
	Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

0 $ lspci -v -s 01:00.0
01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 745M] (rev a1)
	Subsystem: Toshiba America Info Systems Device fa47
	Flags: bus master, fast devsel, latency 0, IRQ 30
	Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at f7000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nouveau
	Kernel modules: nouveau

When i tried to add a custom mode, it failed:

1 $ xrandr --newmode "1920x1080" 140.0 1920 1080 -hsync +vsync
xrandr: failed to parse '1920x1080' as a mode specification
Try 'xrandr --help' for more information.

However, copying an example from the manpage worked fine:

1 $ xrandr --newmode "1024x768" 63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
0 $ xrandr 
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   864x486       60.00  
   640x480       59.94  
HDMI1 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
  1920x1080 (0x48) 140.000MHz
        h: width  1920 start 1968 end 2068 total 2100 skew    0 clock  66.67KHz
        v: height 1080 start 1083 end 1084 total 1110           clock  60.06Hz
  1024x768 (0x138) 63.500MHz
        h: width  1024 start 1072 end 1176 total 1328 skew    0 clock  47.82KHz
        v: height  768 start  771 end  775 total  798           clock  59.92Hz

I'm looking at a virtual screen!?
I would had expected eDP1m specialy since the VIRTUAL1 one is disconnected...

Any idea or advice please.
(getting a regular listing, with the current screen res with an asterix (*))

Thank you in advance


Author of: TUI (Text User Interface for scripts), VHS (Video Handler Script, using ffmpeg) and YASSI (Yet Another Simple Script Installer)

Offline

#2 2015-10-08 11:33:18

esa
Member
Registered: 2011-12-29
Posts: 143
Website

Re: Xrandr and my laptopscreen

Issue remains, even after reboots.

Another thing confusing:

xrandr --listproviders 
Providers: number : 1
Provider 0: id: 0x47 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 4 associated providers: 0 name:Intel

However:

lspci | grep -e VGA -e 3D
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 745M] (rev a1)

Main question:
How do i get rid of the VIRUTAL1, which is ACTIVE, as in, that is my display, eventhough it is labeled as 'disconnected'.

Any ideas, please?


Author of: TUI (Text User Interface for scripts), VHS (Video Handler Script, using ffmpeg) and YASSI (Yet Another Simple Script Installer)

Offline

Board footer

Powered by FluxBB