4

I am using Ubuntu 14.04 with an FX-6350 processor and a EVGA GTX 750 ti SC GPU. I installed the CUDA and display drivers for the 750 ti using this tutorial: Installing and testing CUDA in Ubuntu 14.04 after restarting lightdm, it works perfectly, but upon reboot, the resolution is stuck at 640 by 480. If I log in, Unity doesn't load, just the background. I'm also using a Gigabyte motherboard. When I boot up, after POST, it shows this:

Verifying DMI Pool Data ............
error: no video mode activated
[   2.771245] nouveau E[ DEVICE][0000:01:00.0] unknown chipset, 0x117000a2
[   2.771348] nouveau E[    DRM] failed to create 0x80000080, -22

2 Answers2

4

I solved this problem on your PC.
This problem xorg.conf file.

me hardware: "acer x243hd" and "gigabyte geforce gtx760"


cat xorg.conf !!!not work (640x480) this file gen nvidia-xconfig:

~$ cat /etc/X11/xorg.conf.nvidia-xconfig-original 
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"                                                                                                           
    InputDevice    "Keyboard0" "CoreKeyboard"                                                                                          
    InputDevice    "Mouse0" "CorePointer"                                                                                              
EndSection                                                                                                                             

Section "Files"                                                                                                                        
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 "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

cat xorg.conf !!!work (1920x1080):

~$ cat /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
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"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       30.0 - 80.0
    VertRefresh     55.0 - 75.0
    DisplaySize     400 225
    Modeline       "1920x1080_60.00"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    BusID          "PCI:1:0:0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1920x1080_60.00"
    EndSubSection
EndSection

How get: Modeline "1920x1080_60.00" 172.80 192.... bla bla bla

~$ gtf 1920 1080 60

  # 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz
  Modeline "1920x1080_60.00"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync

add this in Section "Monitor" and do not forget to add in Section "Screen" -> SubSection "Display" string Modes "1920x1080_60.00"


To summarize:

  1. Specify the correct HorizSync and VertRefresh
  2. Gen and add you Modeline
  3. Add name Modeline in Modes

Thank you all for your attention!!!

2

see my answer here. It's because of nvidia's xorg.conf. Removing it seems to fix the issue. Execute the commands below after pressing CTRL+ALT+F1 on GDM screen or within GNOME.

sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old
sudo touch /etc/X11/xorg.conf