You are not logged in.
Pages: 1
Topic closed
I have finally decided to plunge into my awesome wm config, and update it to the 4.x specs. The original update to the config (rc.lua) was for my main laptop, and works as advertised, no issues. I then took the same config, and installed on another desktop I have, which has an nvidia graphics card (NVIDIA Corporation GT218 [GeForce 210] (rev a2)). The only issue I have is that the screen is being cut off to the right and the bottom, almost like awesome is not respecting my xorg.conf config for my nvidia card; I deleted the rc.lua I transferred, and reverted to the stock rc.lua shipped with awesome wm 4.0/4.1, however the issue persists.
Here is my xorg.conf file for the nvidia card:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 340.76  (buildmeister@swio-display-x86-rhel47-01)  Thu Jan 22 12:12:09 PST 2015
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" Relative "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection
Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection
Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "ELEFW502"
    HorizSync       14.0 - 68.0
    VertRefresh     48.0 - 62.0
    Option         "DPMS"
EndSection
Section "Monitor"
    # HorizSync source: builtin, VertRefresh source: builtin
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "CRT-1"
    HorizSync       28.0 - 55.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 210"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection
Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 210"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "HDMI-0: 1920x1080 +0+0 {viewportout=1824x1026+48+27}; HDMI-0: nvidia-auto-select +0+0 {viewportout=1802x1013+59+33}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "VGA-0: 1024x768 +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSectionI have a feeling this is purely about the overscan settings I have set (my 54 inch doesn't have proper overscan settings), however I can not be certain about this. Let me know if I need to paste more information.
Offline
It took me quite a while but I figured out that a the screen:fake_resize command does the trick:
https://awesomewm.org/doc/api/classes/s … n:fake_add
So I have added the following two lines into my rc.lua file:
screen[1]:fake_resize(0, 0, 1920, 1080)
screen[2]:fake_resize(1920, 0, 1820, 1026)
So my left screen has no underscan but the second on the right is a TV with underscan from 1920x1080 to 1820x1026. Of course I have adjusted my nvidia-settings accordingly.
Hope it helps even after some years between the question and an answer. 
Offline
Thanks for the contribution.
Closing this old thread now.
Offline
Pages: 1
Topic closed