DISPLAY FAILS WHEN - SUDO ENVY

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

DISPLAY FAILS WHEN - SUDO ENVY

Postby shreeram13 on Mon Apr 16, 2007 9:49 am

uys!! Am a Linux newbie. I downloaded & started installing LinuxMint on my machine:

Installed Linux Mint with following options initially:

a. Pressed F4 changed VGA - 640x480 16bits
b. Selected safe graphics mode

Which installed Linux Mint on my machine. Luckily this time I was able to see the installation process and login screen after the first boot. However I wasnt able to see the GRUB Chain loader. I dont know why. If I change the cable from VGA to DVI-HDMI I can see the GRUB Chain Loader.

Anyways, second thing that I tried doing was perform the updates which also happened quickly.
Then Reboot.

Next thing I did was start sudo envy which started the envy program in text mode. As soon as I selected "1" which is for NVIDIA Drivers.......
my display crashed to black screen.

I dont have a display monitor instead I am using Toshiba LCD 32HLV66 as a monitor which is hooked up with DVI-HDMI cable.

Can someone help.

My machine configuration is as follows:

Mainboard:

MSI - K9NU NEO-V [AMD K9 NVIDIA 1697]

CPU
• AMD® Athlon 64 3800+ in the Socket AM2 package.

FSB
• HyperTransport supporting speed up to 1GHz (2000MT/s)

Chipset
• NVIDIA® M1697 Chipset

RAM 1GB DDRII

Audio
• Chipset integrated by Realtek® ALC883
- Flexible 8-channel audio with jack sensing
- Compliant with Azalia 1.0 Spec

LAN
• 10/100 Fast Ethernet by NVIDIA® M1697 [ONBOARD LAN]

GPU:
NVIDIA Geforce 7300GS 256MB

Thanks in advance. Husse, my friend u were really a great help I atleast reached login screen from NOWHERE.

Regards,

Harshal
User avatar
shreeram13
Level 1
Level 1
 
Posts: 7
Joined: Sun Apr 15, 2007 8:34 am

Linux Mint is funded by ads and donations.
 

Postby Husse on Mon Apr 16, 2007 10:03 am

sudo envy which started the envy program in text mode.

If you don't have the latest version of envy you are logged out to a tty.
But did you get a completely black screen?
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Postby shreeram13 on Mon Apr 16, 2007 10:04 am

Yes Husse,

I got completely black screen.

Thanks for instant reply.

Regards,

Harshal
User avatar
shreeram13
Level 1
Level 1
 
Posts: 7
Joined: Sun Apr 15, 2007 8:34 am

Postby telic on Mon Apr 16, 2007 10:30 am

Next thing I did was start sudo envy which started the envy program in text mode. As soon as I selected "1" which is for NVIDIA Drivers....... my display crashed to black screen.


Envy sometimes has problems with the command shell that Bianca inherits from Ubuntu Edgy.

Type this in Terminal, then retry Envy...

sudo bash
rm /bin/sh
ln -s /bin/bash /bin/sh
exit


-------
telic
Level 3
Level 3
 
Posts: 188
Joined: Thu Mar 22, 2007 7:48 am

Postby Boo on Mon Apr 16, 2007 11:06 pm

ooooh that is a bit harsh on /bin/sh.
why not just move it and then create a link.

sudo bash
mv /bin/sh /bin/sh.old
ln -s /bin/bash /bin/sh
exit

just in case you want it back sometime.
:)
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

COMP HANGS AFTER INSTALLING NVIDIA DRIVERS FRM RECOVERY MODE

Postby shreeram13 on Mon Apr 16, 2007 11:15 pm

I DONT KNOW WHATS WRONG. WHERES THE PROBLEM.

/etc/X11/xorg.conf reads as follows:


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "NVIDIA Corporation NVIDIA Default Card"
Driver "nv"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NVIDIA Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "NVIDIA Corporation NVIDIA Default Card"
Driver "nv"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NVIDIA Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "NVIDIA Corporation NVIDIA Default Card"
Driver "nv"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NVIDIA Default Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection
User avatar
shreeram13
Level 1
Level 1
 
Posts: 7
Joined: Sun Apr 15, 2007 8:34 am

TRIED TO INSTALL xorg.conf from remote ssh admin - FAILED

Postby shreeram13 on Mon Apr 16, 2007 11:19 pm

root@home-desktop:~# envy


+-------------------------------------------------+
| |
| Welcome to Envy 0.8.1 |
| |
| Developed by Alberto Milone (aka tseliot) |
| |
+-------------------------------------------------+


+---------------------------------------+
| Envy Menu ver.0.8.1 |
| |
| 1 - Install the NVIDIA driver |
| |
| 2 - Uninstall the NVIDIA driver |
| |
| 3 - Install the ATI driver |
| |
| 4 - Uninstall the ATI driver |
| |
| 5 - Restart the Xserver |
| |
| 6 - Exit |
| |
+---------------------------------------+
Please select one of the activities displayed above and press ENTER:

1
Ubuntu Edgy 32bit
Your graphic card has been detected as a GeForce 7300 GS
Your graphic card is supported by the latest driver
* Stopping GNOME Display Manager... [ ok ]
sudo: /etc/init.d/kdm: command not found
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.17-11-generic is already the newest version.
The following packages were automatically installed and are no longer required:
dmsetup
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
The following packages were automatically installed and are no longer required:
dmsetup
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
xserver-xorg-dev is already the newest version.
The following packages were automatically installed and are no longer required:
dmsetup
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
pkg-config is already the newest version.
The following packages were automatically installed and are no longer required:
dmsetup
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
The following packages were automatically installed and are no longer required:
dmsetup
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
module-assistant is already the newest version.
build-essential is already the newest version.
fakeroot is already the newest version.
dh-make is already the newest version.
debhelper is already the newest version.
debconf is already the newest version.
libstdc++5 is already the newest version.
The following packages were automatically installed and are no longer required:
dmsetup
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-glx is not installed, so not removed
The following packages were automatically installed and are no longer required:
dmsetup
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-glx-legacy is not installed, so not removed
Package nvidia-settings is not installed, so not removed
The following packages were automatically installed and are no longer required:
dmsetup
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
An installer has been detected
md5new: cf0cdbd9099a6df028de429044e7f4da
md5sumold: cf0cdbd9099a6df028de429044e7f4da
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-9746........................................................................................................................................................................................................................................................................................
cp: cannot stat `/etc/X11/xorg.conf': No such file or directory
Do you want your xorg.conf to be automatically configured? (y/n) \ "y" is the default answer


AFTER THIS COMP HANGS
User avatar
shreeram13
Level 1
Level 1
 
Posts: 7
Joined: Sun Apr 15, 2007 8:34 am

Postby Boo on Mon Apr 16, 2007 11:58 pm

well i hope you are running envy in a terminal session (Ctl-Alt-F1).
doing it from the desktop in a terminal window causes bad stuff to happen.

your xorg.conf file is using the basic nvidia driver (nv) no 3d.
there are some double or triple repeated entries in there.
the modules section may have conflicting modules.
Image
Now where was i going? Oh yes, crazy!
User avatar
Boo
Level 8
Level 8
 
Posts: 2364
Joined: Mon Mar 26, 2007 7:48 am

Postby Husse on Tue Apr 17, 2007 7:57 am

I agree with Boo there are sections that are repeated, you have the driver nv on a new card that is identified a bit odd "NVIDIA Corporation NVIDIA Default Card".
This is also odd: cp: cannot stat `/etc/X11/xorg.conf': No such file or directory There is such a file.....
You seem to use the option -g for envy (run in the GUI)
Try to change to text mode (ctrl+alt+F1) and run envy
Paste the output of lsmod, there may be some module to many loaded
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: expat_tony and 13 guests