Author Topic: NVidia driver crashes forever after Alt+PrtSc+K  (Read 4403 times)

dragonheart

  • Newbie
  • *
  • Posts: 18
    • View Profile
on: December 16, 2012, 04:20:38 AM
Hi again,

I tried to install Nvidia drivers (to play a small game) from one tutorial who was saying after installation to restart the xserver, so i pressed Alt+PrtSc+K and the xserver returned to a resolution of 640x480.
I tried lots of things but i have no idea how to change back to the normal resolution i had.
Also i have no idea how to configure the nvidia drivers. :-[

Thanks in advance.



ZEROF

  • Hero Member
  • *****
  • Posts: 1247
    • View Profile
    • Pen Tester
Reply #1 on: December 16, 2012, 08:33:14 PM
Hi,

I don't know why you have this problem. I use nvidia GT430 without problems. To install drivers :

sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current nvidia-current-modaliases nvidia-settings

But before remove old drivers : sudo apt-get --purge remove nvidia-*

Then reboot and all was ok for me. To set screen size, go to menu>settings>settings manager>display.
« Last Edit: December 16, 2012, 08:38:18 PM by ZEROF »


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


weVeg

  • Hero Member
  • *****
  • Posts: 737
    • View Profile
Reply #2 on: December 21, 2012, 12:44:39 AM
Quote
so i pressed Alt+PrtSc+K
That "magic SysRq key" can be used to kill X and svgalib programs, not to restart!
look http://tinyurl.com/25o6gn

una voce libera รจ sempre liberatrice
under_r00t


dragonheart

  • Newbie
  • *
  • Posts: 18
    • View Profile
Reply #3 on: December 23, 2012, 03:10:32 AM
Does anyone know how to properly configure Nvidia in /etc/X11/xorg.config?
The problem is that i installed the NVidia drivers but are not enabled! I have somehow to adjust xorg.config.
I tried sudo nvidia-xconfig and after that i made a reboot and the screen had a resolution of 640x480... Also i have to mention that if i install NVidia drivers through synaptics, compiz doesn't work. Somehow they are partially installed and creating a mess.
As a matter of fact if i run glxinfo in terminal it shows multiple errors and the most common of them is
Code: [Select]
Xlib:  extension "GLX" missing on display ":0.0".The default contents of xorg.config:
Code: [Select]
Section "Device"
Identifier "Default Device"
Option "NoLogo" "True"
EndSection

And the contents of xorg.config where nvidia creates:
Code: [Select]
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 304.48  (buildmeister@swio-display-x86-rhel47-05.nvidia.com)  Sun Sep  9 21:29:02 PDT 2012


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    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       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection