PDA

View Full Version : HP DV2700 laptop, ubuntu, lubuntu nvidia video card problems



aaronr2
May 2nd, 2015, 02:59 AM
I am trying to get ubuntu 14.04 on my laptop. hp dv2700, nvidia geforce 7150m, 4gb ram, amd 64 bit processor.

After installing the system works but the video is very very glitchy, odd colors in the wrong places, yellow boxes in the screen, very slow response.

I did the sudo apt-get update and upgrade then installed the driver needed in the additional driver menu, then after reboot I get a black screen, no menus, no login, nothing but blank.

I thought maybe ubuntu was not going to work for me so I tried mint, even worse video issue, black screen with a white box in the top left 1/3 of the screen.

Then tonight I tried lubuntu, same thing as mint, black screen with the top 1/3 a white box.


I have googled this and followed instructions with no luck.

Any ideas or things to try? It worked great on ubuntu 12.10 but no one upgraded it and support ran out.

aaronr2
May 2nd, 2015, 07:02 PM
No ideas at all?

Vladlenin5000
May 4th, 2015, 12:08 PM
Well, the first idea that comes to mind is to stop distro hopping. All those you tried are the same under the hood and the available drivers are also the same. Everything that matters is really the same. That "Windows mentality" of trowing software after software hoping that some will stick isn't conducive here.

Now, your machine... It's old but should be enough for standard Ubuntu. Are you sure about the graphics? Anywhere I looked I see an Intel Graphics Media Accelerator X3100 mentioned, not Nvidia. What driver have you installed exactly?

kc1di
May 4th, 2015, 01:09 PM
you need to install the correct nvidia proprietary drive for that card. go to software center >edit>additional drivers and install the recommended driver.
you may need to use the nomodeset parameter in the boot line to get to it the first time. good luck.
I believe the driver you want is the 346.xx here is a page (http://www.howopensource.com/2012/10/install-nvidia-geforce-driver-in-ubuntu-12-10-12-04-using-ppa/) that can help.

aaronr2
May 9th, 2015, 06:26 PM
Sorry for the late reply, I was away for a bit.

I was "distro hopping" because I thought maybe 14.04 was too much for the hardware.

I went to the additional drivers tool and added the correct driver. After which the system boots only to a black screen with no graphics, cannot even access the terminal after the driver is added.


Yes, I am sure it is Nvidia graphics.

Bashing-om
May 9th, 2015, 06:54 PM
aaronr2; Hello;

We are here to help;
Let's get an idea of what is going on, and what should be happening that is not:
post back the outputs of terminal commands:


lspci -vnn | grep VGA -A 12
sudo lshw -C display
cat /var/log/Xorg.0.log


Maybe all we need to do is clean things up and then install the correct graphics driver.



it could happen

aaronr2
May 9th, 2015, 08:03 PM
aaronr2; Hello;

We are here to help;
Let's get an idea of what is going on, and what should be happening that is not:
post back the outputs of terminal commands:


lspci -vnn | grep VGA -A 12

00:12.0 VGA compatible controller [0300]:Nvidia corporation c67 [Geforce 7150M/ nforce 630M] [10de:0531] (rev a2) (prog-if 00 [VGA controller])
Sub system: hewlett-Packard company device [103c:30d6]
flags : bus master, 66mhz, fast devsel, latency 0, IRQ 42
memory at f4000000 (32bit, non prefechable) [size=16m]
memory at d000000 (64bit, prefetchable) [size=256m]
memory at f000000 64bit, (non prefetchable) [size=16m]
[virtual] expansion ROM at f1000000 [disabled] [size=128k]
capabilities:access denied
kernel driver in use: nouveau

00:18.0 Host bridge [0600]: advanced micro devices, inc. [AMD] k8 [athlon64/opteron] hypertransport technology configuration [1022:1100]
flags: fast devsel


sudo lshw -C display

description: vga compatible controller
product: c67 geforce 7150m/ nforce 630m
vendor: NVIDIA corporation
physical id:12
bus info: pci@0000:00:12.0
version a2
width 64 bits
clock 66mhz
capabilities pm msi vga_controller bus_master cap_list rom
configuration:driver=noveau latency=0
resources:irq:42 memory:f4000000-f4fffff memory:d000000-dffffff memory:f000000-f0fffff memory:f1000000-f101ffff





cat /var/log/Xorg.0.log
bash: cat/var/log/Xorg.0.log: no such file or directory



Maybe all we need to do is clean things up and then install the correct graphics driver.


it could happen





Now this is a fresh install, as soon as I add the Nvidia driver and reboot it goes to a blank screen on boot, cant access terminal or anything.

Bashing-om
May 9th, 2015, 08:44 PM
aaronr2; Well;

As you can see presently the opensource driver 'nouveau' is installed.
Want to try and install the Nvidia proprietary driver available in ubunu's software repository ? - Worth a shot -


sudo service lightdm stop
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install linux-headers-generic
sudo apt-get install nvidia-current nvidia-settings

Reboot the system, and now do you boot to the GUI ?



Maybe yes



could be not so yes

aaronr2
May 9th, 2015, 09:19 PM
I completed that. Reboots to a solid black screen :(

Bashing-om
May 9th, 2015, 09:37 PM
aaronr2; Humm ....

Totally unexpected result of a "black screen" .
Let's look and try and see what the story is:
Can you boot to terminal ? At the login screen what results with key combo ctl+alt+F1 ?
Else we do other to get to a terminal.
Post back these outputs.


dpkg -l | grep -i nvidia
sudo lshw -C display
cat /var/log/Xorg.0.log

If needed we can install the pastebin utility to relay info .



how come, why not

aaronr2
May 9th, 2015, 10:14 PM
I'm running in recovery mode because ctrl alt f1 still only produces a blank screen. it appears the left part of the screen is cut off in the terminal in recovery mode, hopefully that doesn't affect us.


aaronr2; Humm ....

Totally unexpected result of a "black screen" .
Let's look and try and see what the story is:
Can you boot to terminal ? At the login screen what results with key combo ctl+alt+F1 ?
Else we do other to get to a terminal.
Post back these outputs.


dpkg -l | grep -i nvidia

ii libcuda-304 304.125-0ubuntu0.0.1
amd64 nvidia cuda runtime library
ii nvidia-304 304.125-0ubuntu0.0.1
amd64 nvidia legacy binary driver - version 304.125
ii nvidia-current 304.125-0ubuntu0.0.1
amd64 transitional package for nvidia-current
ii nvidia-libopencl1-304 304.125-0ubuntu0.0.1
amd64 nvidia opencl driver and icd loader library
ii-nvidia-opencl-icd-304 304.125-0ubuntu0.0.1
amd64 nvidia opencl icd
ii nvidia-settings 331.20-ubuntu8
amd64 tool for configuring nvidia graphics driver

sudo lshw -C display

description: vga compatible controller
product: c67 [geforce 7150m/ nforce630m]
vendor: nvidia corporation
physical id: 12
bus info: pci@0000:00:12.0
version: a2
width: 64 bits
clock: 66mhz
capabilities: pm msi vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:19 memory f4000000-f4fffff memory:d000000-dffffff memory:f000000-f0fffff memory: f100000-f101ffff

cat /var/log/Xorg.0.log

[ 27.753] (**) nvidia(0) :frequincies has been enabled on all display devices.)
[27.774] (II) xkb: reuse xkmfile /var/lib/xkb/server-B20D7FC7F597315E3E501AEF10E0D866E8E92.xkm
[31.465] (II) xkb: reusue xkmfile/var/lib/xkb/server-34CEB476A3CB596DA76FD7010A029F76732EF824.xkm
[64.685] (II) evdev:HP WMI hotkeys:close
[64.685] (II) unloadmodule: evdev
[64.685] (II) evdev:alps ps/2 device: close
[64.685] (II) unloadmodule: "evdev"
[64.685] (II) unload module: "synpatics"
[64.685] (II) evdev: AT translated set 2 keyboard : close
[64.685] (II) unloadmodule: "evdev"
[64.685] (II) evdev: HP webcam: close
[64.685] (II) unloadmodule: "evdev"
[64.685] (II) evdev: sleep button: close
[64.685] (II) unloadmodule: "evdev"
[64.685] (II) evdev: power button: close
[64.686] (II) unloadmodule: "evdev"
[64.686] (II) evdev: video bus:close
[64.686] (II) unload module: "evdev"
[64.686] (II) evdev : power button: close
[64.686] (II)unloadmodule: "evdev"
[64.775] (ee) server terminated successfully (0). closing log file.




If needed we can install the pastebin utility to relay info .


how come, why not

alex375
May 9th, 2015, 10:15 PM
and /var/log/dmesg.0 would be cool
scanned on first recovery after black screen

aaronr2
May 9th, 2015, 10:18 PM
and /var/log/dmesg.0 would be cool
scanned on first recovery after black screen

typing in this gets permission denied

alex375
May 9th, 2015, 10:27 PM
sudo nano /var/log/dmesg.0

but better install leafpad and

sudo leafpad /var/log/dmesg.0

aaronr2
May 9th, 2015, 10:31 PM
sudo nano /var/log/dmesg.0


typing in that exact phrase results in sudo: nano/var/log/dmesg.0: command not found


Sorry if I"m a noob and missing something obvious preventing this from working.

alex375
May 9th, 2015, 10:37 PM
sudo nano space /var/log/dmesg.0

copy/paste from previous post
but better install leafpad

aaronr2
May 9th, 2015, 10:40 PM
sudo nano space /var/log/dmesg.0

Is there something in here I should be looking for? I am hand typing all of these over from the non working computer and that command yields 885 lines.

aaronr2
May 9th, 2015, 10:51 PM
I rebooted the system and let it sit and after about 9 minutes the screen does finally load but it is so slow and unresponsive you cant access anything.

Bashing-om
May 9th, 2015, 11:09 PM
aaronr2; Hummmm ...

Sorta suck here, and trying to think my way through;
You have the correct driver installed for your graphics card per:
http://www.nvidia.com/object/IO_32667.html

BUT; do we have a driver conflict at this time ?


ii libcuda-304 304.125-0ubuntu0.0.1
amd64 nvidia cuda runtime library

ii nvidia-304 304.125-0ubuntu0.0.1
amd64 nvidia legacy binary driver - version 304.125

ii nvidia-current 304.125-0ubuntu0.0.1
amd64 transitional package for nvidia-current

ii nvidia-libopencl1-304 304.125-0ubuntu0.0.1
amd64 nvidia opencl driver and icd loader library


Can someone else advise if there is a conflict here, before we purge and re-install ?
--------------------
For relaying the log files we have the pastebinit utility . If we need to, can do.
------------------------------------------



sometimes, I just do not know

alex375
May 9th, 2015, 11:11 PM
you need ctrl+w 'nvidia'
all lines

aaronr2
May 9th, 2015, 11:16 PM
you need ctrl+w 'nvidia'

Can I do this from recovery mode? after it boots up (10 or so minutes) you can't press any buttons or type anything. after it booted it took another 6 minutes just to allow me to click the settings tab.

alex375
May 9th, 2015, 11:21 PM
scanned on first recovery after black screen

aaronr2
May 9th, 2015, 11:25 PM
doesn't appear to do anything productive. now when I type into the terminal nothing appears.

alex375
May 10th, 2015, 12:33 AM
sudo cat /var/log/dmesg.0 | grep nvidia -ni

aaronr2
May 10th, 2015, 02:05 AM
sudo cat /var/log/dmesg.0 | grep nvidia -ni

this yields


[13.850596] input: hda nvidia mic as /devices/pci0000:00/0000:00:07.0/sound/card0/input17
[13.850753] input: hda headphone as /devices/pci000:00/000:00:07.0/sound/card0/input18
[14.634566] nvidia: module license 'nvidia' taints kernel
[14.649861] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[14.660697] [drm] initialized nvidia -drm 0.0.0 20140818 for 0000:00:12:0 on minor 0
[14.660714 nvrm: loading nvidia unix x86_64 kernel module 304.125 mon dec 1 19:58:28 pst 2014

aaronr2
May 11th, 2015, 12:44 AM
this yields


[13.850596] input: hda nvidia mic as /devices/pci0000:00/0000:00:07.0/sound/card0/input17
[13.850753] input: hda headphone as /devices/pci000:00/000:00:07.0/sound/card0/input18
[14.634566] nvidia: module license 'nvidia' taints kernel
[14.649861] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[14.660697] [drm] initialized nvidia -drm 0.0.0 20140818 for 0000:00:12:0 on minor 0
[14.660714 nvrm: loading nvidia unix x86_64 kernel module 304.125 mon dec 1 19:58:28 pst 2014


Is this correct?

I really appreciate the help I have been given thus far, I'm just in extreme need of getting this thing going properly again.

Thanks in advance for any insight provided.

Bashing-om
May 11th, 2015, 07:52 PM
aaronr2; Hey;

My thought remains; purge Nvidia and then (RE-)install :

Try this:


sudo apt-get remove --purge nvidia*
sudo apt-get purge nvidia-\*
sudo service lightdm stop
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install linux-headers-generic
sudo apt-get install nvidia-current nvidia-settings

Rebbot the system:


sudo shutdown -r now

Edit : A conflict in driver source ? are there any PPAs involved ? check:


cat -n /etc/apt/sources.list
tail -v -n +1 /etc/apt/sources.list.d/*

If there are any problems encountered, OR any errors the system reports; post back the complete command and response to the error(s). If needed we can redirect the outputs to files and/or to a pastebin to facilitate the transfer of the information .

Maybe


nothin' but a thing

anders650
December 16th, 2015, 12:32 AM
I realize that this is an old thread, but a solution my be of interest to future readers.
I have the same HP dv2700 notebook with Nvidia GeForce 7150M graphics. Following is a guide to a fresh installation of Ubuntu 14.04 or higher.

Boot from a USB stick.
In order to have a readable screen you must enter the "nomodeset" boot option in the grub configuration.
In Ubuntu 14.04 you select manual configuration by pressing any key at the first screen, then F6 Other Options, check the nomodeset option, press esc, then proceed with the installation.
If you are installing 15.10 and have created the USB stick boot image on an earlier version of Ubuntu you may come to a screen with a prompt "boot:". Here you enter the command
live nomodeset
Then run Install Ubuntu from the desktop.

Once the installation is completed you get to a login screen. Proceed with the login. You will get to a desktop that has lower than desired resolution and quite poor performance when it comes to speed. Don't worry, we will fix it by installing the nvidia proprietary driver and adjust a configuration of OpenGL.

From the desktop do:
System Settings

Software & Updates

tab Additional Drivers

select nvidia-304-updates

Apply changes

Close

By now the system has most likely found that there are updates available, go ahead and install the updates.
Restart.

You may notice that the login screen has a slightly higher resolution than last time. This is a good sign that the nvidia driver is working.
Login.
You will come to a blank or even black screen with only the pointer arrow.
Go to the terminal by pressing Ctrl Alt F1.
Login with your username and password.
Enter the commands

export DISPLAY=:0
dconf write /org/compiz/profiles/unity/plugins/opengl/enable-x11-sync false
sudo reboot

After you login you will have a nice high resolution Unity desktop and the performance will be quite OK given the age of the hardware.

If you create additional users, you have to go through the exercise on the terminal for each user. For some reason that I don't quite understand you may find that you have to repeat the dconf command twice when creating additional accounts. If the additional account is not an administrator you have to "logout" and then login with an administrator account before you can issue the reboot command.

The "enable-x11-sync" configuration is needed due to a reported bug. I got my inspiration from Bug #1425701 (https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1425701)

Hope this helps someone with an old HP notebook.