HP Pavilion dv6500 video scrambled with kernels 3 and 4

Problems and successes with specific brands/models of computer video hardware
Message
Author
sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

HP Pavilion dv6500 video scrambled with kernels 3 and 4

#1 Post by sindi »

Lucid 2016 with kernel 2.6 works perfectly on this laptop and automatically identifies and sets up nv driver.

Lucid 2016 Sulu1 with kernel 3.0.25, Dpup-Stretch 7 with kernel 3.16, Tahr 6.0.5, Slacko 6.3, Xenial 7.0.6, and Xenial 7.5 are unusable even in console mode. Sulu1 chooses fbdev 1280x800 and the others nouveau, and one window is split into three scattered around the page. Text is also scattered.

So I think the problem is the kernel, but is it related to how someone chose to compile the kernel or the actual drivers?
Was the required driver omitted from kernel source code?

I cannot run xorgwizard manually since I cannot read the screen even in console mode.

I cannot edit xorg.conf since it never finishes installing (except for Tahr which somehow got installed blindly).

I have not found a way to attach an image file (with Pale Moon, which also does not display clickable links).

If I copy xorg.conf from Lupu 2016 to Tahr, Tahr still displays the same as it did.

Xvesa (blind arrowing and entering) displayed readably at 1024x768 but with no mouse or keyboard control.

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#2 Post by cthisbear »

Try

I was given a HP Pavilion dv6700 two weeks ago.
Sadly the battery and charger are stuffed.

I installed Win 7 Lite on it by eXPerience.
Genius bloke.

I ran these on it...

Woof CE Debian Stretch by ttuuxxx

Dpup Stretch CE Release Candidate

and I am sure that I tried >>> Puppy Can Bike on it as well????
from a multipup usb.

I was also given a netbook and a desktop >> 8gigs of ram and also Nvidia card.

http://murga-linux.com/puppy/viewtopic. ... 746#978746

Try the above....Chris.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

dv6700 has different graphics from dv6500

#3 Post by sindi »

The dv6700 is a year newer (2008) and has newer video Geforce Go 8400M (discrete). And maybe Blu-Ray drive.
Sold in the same case as the 6500. Glossy (high-glare) screen on both.

I have tried Dpup Stretch and various other Puppies with kernels 3 and 4 on the dv6500, all with unusable video.
Lucid PUppy 2016 works with a 2.6 kernel but not with a 3.0.25 kernel.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#4 Post by bigpup »

Tahr 6.0.5, Slacko 6.3, Xenial 7.0.6, and Xenial 7.5

For Nvidia hardware these Puppies are trying to use the Nouveau driver, which is a generic driver for Nvidia hardware.

If it does not work correctly on first boot.
Try using this option added to the boot command.

Code: Select all

nouveau.modeset=0
How to use this.

If you are booting a Live Puppy CD or USB.
At the Puppy boot screen.
Hold down F2 until the option screen pops up.
Add the command
Press enter.
If you already made a save for the Live Puppy.
Use this option:

Code: Select all

puppy pfix=ram nouveau.modeset=0
If booting from a boot loader menu like Grub4dos.
Select the correct menu entry.
Press E key to enter edit mode.
(This will edit the menu entry, but only for this boot)

Add the option to the end of the kernel line.

Code: Select all

pfix=ram nouveau.modeset=0
Example:

Code: Select all

kernel /xenialpup6475uefi/vmlinuz   psubdir=xenialpup6475uefi pfix=ram nouveau.modeset=0
Note:
pfix=ram keeps the save from being used to make sure it does not conflict with using this option.


If this gets you to a working desktop.
Installing the correct Nvidia driver will give full supported hardware features.

How to install a Nvidia driver run package
http://www.murga-linux.com/puppy/viewtopic.php?t=110611

After getting the correct Nvidia driver installed and using it.
Stop using the nouveau.modeset=0 option.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

dv6500 with nouveau.modeset=0 in menu.lst works (grub4dos)

#5 Post by sindi »

I added nouveau.modeset=0 in menu.lst to sulu1 (lucid pup 2016 with 3.0.25 kernel) and not only does it load X properly, but framebuffer console now works.

Sulu1 (3.0.25 kernel) on a DELL B130 (nvidia) fixed X video (black screen with lupu (2.6 kernel) but the framebuffer console fbcon did not work with sulu1. Fbcon worked in lucid with 2.6 kernel, but X did not.

I had been advised to try nouveau.modeset=0 but it did not help.

I switched to Tahr on that computer and everything works. Kernel 3.14

Then I tried Slacko 6.3 on dv6500 with nouveau.modeset=0 and X worked and fbcon did not. Fbcon works in Slacko 6.3 on other computers. It did not in Slacko 5.7 at least on the computers I tested on.

I added nouveau.modeset=0 to Tahr and Dpup and Xenial on the dv6500 and will see if they can handle fbcon. Nothing is predictable with nvidia.

Why not just continue booting this way instead of looking for a different driver for nouveau? Will I be unable to 'set modes'?

Thanks for making it possible to use a more recent linux on my newest (2007) laptop. Smtube requires at least Tahr's glibc now.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

nouveau.modeset=0 with Tahr, Slacko, Dpup stretch and Xenial

#6 Post by sindi »

Tahr pup 6.05 - loads X at 1024x768 with no mouse or keyboard access.
I used the power button to exit. Tahr worked fine on the DELL B130 where both Lucid puppies had video problems.

Slacko 6.3, Dpup 7 Stretch (kernel 3.14), Xenial 7.5 (kernel 4.9) all load X at 1024x768 with no framebuffer console. The screen is filled but things look a bit stretched sideways. These all work on a 2004 HP zv5000 and on a 2003 200ARC Gateway (non-PAE).

Will downloading and installing a new driver fix the resolution of X and also framebuffer console? Is the old nv driver available for kernels 3 and 4? It was completely working with 2.6 kernel.

So far only Lucid Puppy (kernel 2.6 or 3.0.25) works fully, even with the nomodeset=0

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#7 Post by bigpup »

You need to talk about one specific computer and stop telling us about others.
It is very hard to follow what your problem may or may not be.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Can I compile a kernel 3 with nv driver?

#8 Post by sindi »

Lucid Puppy 2016 (rerwin) with kernel 3.0.25 (Sulu1) and nouveau.modeset=0 works as designed. 1280x800, framebuffer console, mouse and keyboard work. When I click on a link to get an Nvidia driver it says I do not have nouveau already. xorg.conf is much shorter than in the other puppies and does not list a driver, but there is an xorg.NVIDIA.

Kernel-2.6.33-Lucid uses nv. I don't know what Sulu1 uses. The framebuffer console has smaller text than Lupu 2.6.33-kernel.
vga=791 for both kernel versions.

None of the other Puppies I tried with kernel 3 or 4 (Dpup 3.16 kernel, Tahr 3.14 kernel; Xenial 4.9 kernel) display at 1280x800 or do framebuffer video. (Tahr works like the others after I deleted the tahrsave files, which had vesa video). vga=791 gets me an error message about mode not supported.

I have compiled kernels 2.2 and 2.4 long ago.

I don't need 3D acceleration. nv works fine (in lupu).

Do you know if I could recompile kernel 3.14 or 3.16 with framebuffer support and also with nv driver? It can't be any worse than learning to compile an nvidia driver after downloading kernel source code and devx and two other things. Where in puppies do I find kernel config file?

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

kernel configuring

#9 Post by sindi »

/boot/ has kernel config file
Dpup kernel 3.14 has a big section on various framebuffer devices. NVIDIA and VESA framebuffer are not set. No TILEBLIT.
I have many hours of reading and experimentation ahead of me ;=)
THings are much more educational when they do not work.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#10 Post by bigpup »

Have you tried to actually install a Nvidia manufactures driver to any of the Puppies?

Installing a Nvidia driver run package
http://www.murga-linux.com/puppy/viewtopic.php?t=110611

Make a save before doing this so the install stays after rebooting.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#11 Post by bigpup »

None of the other Puppies I tried with kernel 3 or 4 (Dpup 3.16 kernel, Tahr 3.14 kernel; Xenial 4.9 kernel) display at 1280x800 or do framebuffer video
.
These version could have KMS disabled in the kernel Which will also disable frame buffering.

Trying to make Puppy work on a large number of computers on the initial first boot.
KMS is sometimes a problem, but not if you just do not enable it.

The nouveau driver turns on KMS when it loads.
nouveau.modeset=0 boot option is suppose to turn KMS off.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Framebuffer and KMS and nouveau

#12 Post by sindi »

For DPup 7 (kernel 3.14) KMS=y only for Intel I915 not Nvidia.
Framebuffer works with all these puppies on other computers so it is something about nouveau.

I need to read about framebuffer. For kernel 2.6, vga=791 and modprobe fbcon (or building it into the kernel with a few other related things) produces a framebuffer console at my desired resolution. In kernel 3 the text is much smaller (1280 instead of 1024) and I have no control over the size so it must be done differently (Tahr, Sulu1). I am hoping I can compile Tahr etc to use the first method and hopefully also to use the older nv driver, which does everything I want (I do not want 3D support). How do I determine what video driver sulu1 (Lucid with kernel 3.0.25) uses? Kernel config is in /boot in Dpup but not in Lucid puppy.

Since I need to download all the kernel code and the DEVX package anyway, I may as well first attempt a kernel compile to make a smaller faster kernel hopefully with fbcon and nv. I will learn a lot along the way about how the new kernels work.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#13 Post by bigpup »

How do I determine what video driver sulu1 (Lucid with kernel 3.0.25) uses?
Most Puppy versions have the Pup-Sysinfo program.
Pup-Sysinfo>Devices>Display>Video-info
This will show what driver is being used.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

wrong version of kernel source and devx, says getnvidia

#14 Post by sindi »

I downloaded (for Tahr 6.05, updated with fix8, non-PAE) devx and kernel source, also the 'run' file for my Geforce 7150M (from nvidia) and getnvidia.
The first three are in /mnt/home and I installed getnvidia 1.0 pet.

uname -a 3.14.56 #1 SMP PREEMPT

I downloaded both sfs's for 3.14.56 using sfsget in Tahr 6.0.5.

getnvidia says:

'You need devx package. You have a kernel source package but it does not match with the running kernel (linux-3.14.56).'

I also tried sh *.run as instructed by nvidia, and was told I lacked ldconfig.

I find a /root/firstrun/quickpet_precise with a list of nvidia drivers including 304nopae and 304nopae602 but not 605. In Tahr 6.0.5

The getnvidia script may be out of date. Tahr 6.0.2 uses kernel 3.14.20.

It may be easier to compile a kernel with nv driver and framebuffer support. But Tahr /boot does not contain a kernel config (dpup7 does).

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

kernel 3.0.25 supports nv

#15 Post by sindi »

Sulu1 (lucid pup with kernel 3.0.25) has a kernel compiled with nv support
but not fbcon support.

Where do I find kernel config files for Lucid and Tahr pups? They are not in /boot (as in Dpup)

I will attempt to recompile kernels for Tahr, Dpup and Xenial with nv and fbcon (as in Lucid with kernel 2.6.33), and make smaller faster kernels without support for post-2007 hardware and stuff I will never use. In 2006 I compiled kernels 2.4.31 about 600-800K, not even specific to a single computer.

More useful and probably easier than compiling nvidia driver with getnvidia.

This discussion was extremely educational. I had not even found kernel source code before for the various puppy versions.

How long might a kernel compile take on a 2007 computer? In 2006 I used 10 year old computers to compile on.

I have some nice 2006 computers without the nouveau problem, but this 2007 one has a mouse on/off switch. I could find no way to turn off trackpad tap without also turning off scroll, via software.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#16 Post by bigpup »

I downloaded (for Tahr 6.05, updated with fix8, non-PAE) devx and kernel source, also the 'run' file for my Geforce 7150M (from nvidia) and getnvidia.
The first three are in /mnt/home and I installed getnvidia 1.0 pet.

uname -a 3.14.56 #1 SMP PREEMPT

I downloaded both sfs's for 3.14.56 using sfsget in Tahr 6.0.5.

getnvidia says:

'You need devx package. You have a kernel source package but it does not match with the running kernel (linux-3.14.56).'
Did you load the devx and kernel source sfs?????
After placing them in /mnt/home you have to load them by using:
Boot Manager>SFS packages or SFS-load-on-the-fly.
(have to reboot if using Boot Manager)

DO NOT HAVE ANY OTHER DEVX OR KERNEL SOURCE PACKAGES LOADED other than the correct ones.

After you get them loaded Getnvidia program should work.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

newbie compiling nvidia module, some progress

#17 Post by sindi »

cd /mnt/home/
sfs_load *.sfs

Now it starts to compile, says Downloading.... for a while
I see a new file nvidia.files in /mnt/home/ (listing some libraries in /usr/lib/ and some files in /usr/share/doc/deadbeef including Brazilian Portuguese help).

Then it cannot find /etc/OpenCL and is 'unable to determine the most recent NVIDIA Linux-X86 driver'.

The log file in /mnt/home/ reads:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Jan 26 10:31:50 2018
installer version: 319.23

PATH: /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/root/my-applications/bin:/usr/games

nvidia-installer command line:
nvidia-installer
--update
-a
-s
--kernel-name=3.14.56
--kernel-install-path=/lib/modules/3.14.56/kernel/drivers/video/
--tmpdir=/var/tmp

Using built-in stream user interface
ERROR: Unable to connect to remote host download.nvidia.com (Connection timed out)
ERROR: Unable to determine most recent NVIDIA Linux-x86 driver version.

I tried twice, same result.

I have the NVIDIA *.run file for this 304.137 (Geforce Go 7150M) in /mnt/home. I did not find source code at nvidia site.

Recompiling the kernel seems more straightforward and I would prefer nv to the newer driver anyway. I may need to recompile to get fbcon to work anyway. Nouveau is acceptable.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Re: kernel 3.0.25 supports nv

#18 Post by sindi »

"Where do I find kernel config
files for Lucid and Tahr pups?
They are not in /boot (as in
Dpup)"

In Lupu 2016
/etc/modules/DOTconfig* -
probably also in other
official puppies.
In Dpup 7 with kernel 3.16,
/boot/.config
make menuconfig or edit the
config file manually

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#19 Post by bigpup »

When you ran Getnivida.

Did it look like this before dropping to the prompt and starting the build process?

All items say OK?

Keep pressing rerun to check until they do.
If something will not say OK. That item is missing, not loaded, etc....

This is example:
Attachments
capture24461.png
(28.75 KiB) Downloaded 380 times
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#20 Post by bigpup »

"Where do I find kernel config
files for Lucid and Tahr pups?

Config files to do what?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

Post Reply