Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UEFI + systemd + Gnome 3 + nvidia, screen resolution problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Caleb9
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 79
Location: PL & DK

PostPosted: Fri Mar 27, 2015 4:06 pm    Post subject: UEFI + systemd + Gnome 3 + nvidia, screen resolution problem Reply with quote

Hi,
I just installed Gentoo on a new machine and I decided to go all in with the new standards, so I've installed it in UEFI mode. It is a dual boot computer with Windows, so I'm using rEFInd for selecting the OS. Next, I'm using systemd-216r3. I've managed as far as installing the nvidia-drivers-346.47 (proprietary) and Gnome 3 (3.14 to be precise). Unfortunately after starting gnome, it offers me only 800x600 resolution - this is the only option in Display settings, Nvidia settings adds 640x480 (scaled) mode. My monitor is ViewSonic VX2268wm which supports native resolution of 1680x1050 and 120Hz refresh rate, connected to DVI-I port.
Things I tried:
Code:
$ cvt 1680 1050 120
# 1680x1050 119.89 Hz (CVT) hsync: 135.24 kHz; pclk: 313.75 MHz
Modeline "1680x1050_120.00"  313.75  1680 1816 2000 2320  1050 1053 1059 1128 -hsync +vsync

$ xrandr --newmode "1680x1050_120.00"  313.75  1680 1816 2000 2320  1050 1053 1059 1128 -hsync +vsync
$ xrandr --addmode DVI-I-1 1680x1050_120.00
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  47
  Current serial number in output stream:  48

I am sure I'm referring to the right screen with DVI-I-1. If it can be of any help I'm using gentoo-sources-3.18.9 with EFI framebuffer.

Anyone have an idea how to set this up? Please let me know if there's any additional info you need, and thanks in advance.

[Edit]

I've made some progress. I forgot to mention that the monitor gets reported as "Unknown". Following instructions found here https://brainwreckedtech.wordpress.com/2012/08/19/howto-get-nvidia-on-linux-to-use-custom-resolutions-over-dvi/ I've added following lines to my /etc/X11/xorg.conf.d/40-monitor.conf:
Code:

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "UseEDID"    "False"
    Option         "UseEDIDFreqs"       "False"
    Option         "ExactModeTimingsDVI"        "True"
    Option         "ModeValidation"    "NoDFPNativeResolutionCheck, NoEdidModes, NoMaxPClkCheck, NoVertRefreshCheck, NoEdidMaxPClkCheck"
    Option         "DPMS"
    Option         "PrefferedMode"      "1680x1050"
EndSection

The result is a maximum resolution of 1024x768, and a whole bunch of lower res modes. Still not what I need though... :(
Back to top
View user's profile Send private message
Caleb9
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2005
Posts: 79
Location: PL & DK

PostPosted: Sat Mar 28, 2015 12:34 pm    Post subject: Reply with quote

Ok from what I gathered this is probably caused by the monitor not reporting a valid EDID. Any idea how to proceed with this?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum