You are not logged in.

#1 2013-02-23 12:56:16

AleXoundOS
Member
From: Russia
Registered: 2009-07-18
Posts: 31
Website

wrong awesome wm desktop resolution with nvidia ViewPort settings

I use awesome window manager 3.5, nvidia driver 313.18, xorg server 1.13.2.

Only TV output is used in this configuration (no dual screen). This is the line from xorg settings used for TV out:

Option         "metamodes" "TV: 720x576 { ViewPortOut=640x519+44+26, ViewPortIn=600x450 }"

My TV is old and 600x450 suits for it well. With "ViewPortOut=640x519+44+26" option I adjusted the output to fit the TV screen properly.

xrandr output:

Screen 0: minimum 8 x 8, current 600 x 450, maximum 8192 x 8192
DVI-I-0 connected (normal left inverted right x axis y axis)
   1024x768       60.0 +
   800x600        72.2     60.3     56.2  
   640x480        59.9  
   512x384        60.0  
   400x300        72.2  
   320x240        60.1  
DVI-I-1 connected (normal left inverted right x axis y axis)
   1024x768       60.0 +
   800x600        72.2     60.3     56.2  
   640x480        59.9  
   512x384        60.0  
   400x300        72.2  
   320x240        60.1  
TV-0 connected primary 720x576+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       50.0 +
   800x600        50.0  
   720x576        50.0* 
   640x480        50.0  
   512x384        50.0  
DVI-I-2 disconnected (normal left inverted right x axis y axis)
DVI-I-3 disconnected (normal left inverted right x axis y axis)

The problem is that window manager arranges everything to 720x576 resolution, but not to 600x450. So TV displays 600x450 part of 720x576. The image is limited to 600x450 and cursor is jailed properly to 600x450, but the actual desktop size is 720x576, which I don't need. It means that awesome window manager incorrectly sets it's desktop resolution by monitor resolution instead of screen resolution. As a result - desktop resolution is higher than screen resolution.

(However I tested e16 window manager and it succeeded to use 600x450 correctly. Openbox fails in the same way as awesome.)

Please, help me to make awesome use correct desktop resolution.

Offline

Board footer

Powered by FluxBB