[xubuntu-users] GeForce4 Old-video-card working wrong in Xubuntu 14.04
fernando
fernandoduo at yahoo.com
Tue May 12 21:35:32 UTC 2015
I finally moved to an other linux distro. But here I leave useful info.
Basically:
- Debian-wheezy-based distro, aiming to i686.
- the nvidia 96 driver.
- prevent nouvea driver to load on startup.
- #update-initramfs -u
- reboot
Due to the many steps I made, and the fact I don't know which ones were
strictly necessary, I'll describe them in ther order I made.
Getting the Distro
I searched, Linux, Desktop, base on Debian, supporting i686, in active
development.
I choosed GALPON MInino
Getting the Driver
Debian wheezy includes nvidia-96 driver packages. Also I had the
offitial nvidia NVIDIA-Linux-x86-96.43.23-pkg1.run. Tried both, and both
worked.
1 -- Installed *nvidia-glx-legacy-96xx* and *nvidia-xconfig*.
When installig, system warned me about conflicts with the nouveau
driver, recommending me to reboot. But it didn't worked.
I checked /etc/modprobe.d/, and there was a nvidia-kernel-common.conf
file preventing the nouveau driver to be load (see the attachments).
2 -- I tried NVIDIA-Linux-x86-96.43.23-pkg1.run. I had to uninstall
nvidia 96 driver package, and (just in case) every nvidia related package.
I had to install kernel headers too. I runned it again, it did't promt
for blocking nouvea cause /etc/modprobe.d/nvidia-kernel-common.conf was
already created, and I had booted. Also There where no problem finding
/lib/modules/"mykernel"/build/inlcude/linux/version.h (see attachments).
But, also didn't work at once.
Serching internet I found this suggestions:
- updating initramfs with the command: #update-initramfs -u
- disabling modeset in /etc/default/grub
(GRUB_CMDLINE_LINUX_DEFAULT="quiet splash *nomodeset*", but I think this
is not necessary, see attachments)
- preventing other possible kernel moduels (see
nvidia-graphics-drivers.conf)
- rebooting
Now it worked!!!
3 -- I deinstall using NVIDIA-Linux-x86-96.43.23-pkg1.run, to try
*nvidia-glx-legacy-96xx* again. It works too!!
Best regards
On 06/05/15 15:37, fernando wrote:
> Kiyotaka, thanks for your suggestion, but I'v been trying for a couple
> of days. I'v already get the X off.
>
> NVIDIA-Linux-x86-96.43.23-pkg1.run (is the corresponding for my video
> card)
>
> The problem I have is the installer looks for:
> /usr/src/linux-headers-3.13.0-51-generic/build/include/linux/version.h
> when it is in:
> /usr/src/linux-headers-3.13.0-51-generic/build/include/generated/uapi/linux/version.h
>
>
> I found this info:
> http://www.linuxquestions.org/questions/linux-software-2/nvidia-driver-version-h-does-not-exist-4175442715/
>
> http://slackblogs.blogspot.de/2012/12/linux-kernel-37-vmware-workstation-and.html
>
> https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/859101
>
> Then have tried, having no success.:
> -configuring de source (make menuconfig)
> -Linking to the existing file (ln ....version.h ....verson.h)
> -applying th patch patch_nvidia_304_88_for_3_11.patch (even when it
> is not ment for this installer and version)
> -using other source location (usr/src/...)
>
> When I link to the existing file the installer says:
>
>
> ERROR: If you are using a Linux 2.4 kernel, please make sure
> you either have configured kernel sources matching your
> kernel or the correct set of kernel headers installed
> on your system.
>
> If you are using a Linux 2.6 kernel, please make sure
> you have configured kernel sources matching your kernel
> installed on your system. If you specified a separate
> output directory using either the "KBUILD_OUTPUT" or
> the "O" KBUILD parameter, make sure to specify this
> directory with the SYSOUT environment variable or with
> the equivalent nvidia-installer command line option.
>
> Depending on where and how the kernel sources (or the
> kernel headers) were installed, you may need to specify
> their location with the SYSSRC environment variable or
> the equivalent nvidia-installer command line option.
>
> Regards
>
>
> On 06/05/15 12:04, Kiyotaka Nemoto wrote:
>> Hi fernando,
>>
>> FYI, I wrote a post "How to install official NVIDIA drivers on
>> Xubuntu 14.04"
>>
>> http://www.nemotos.net/?p=1094
>>
>> This may help you install nvidia's proprietary driver.
>>
>> Best regards,
>>
>> Kiyotaka
>>
>>
>> 2015-05-06 22:59 GMT+09:00 fernando <fernandoduo at yahoo.com>:
>>> I wanted to verify what you recomend me, so I reenable nouveau and
>>> tried
>>> again.
>>> It starts wrong, but it fixes if there is a xorg.conf limitating the
>>> horizontal sync.
>>>
>>> Then I disabled nouveau again, and things went wrong again.
>>>
>>> I'll keep tryin to install nvidia's proprietary driver.
>>>
>>> On 04/05/15 19:52, Alejandro Lieber wrote:
>>>> 04/05/15 03:52, Fernando Duo wrote:
>>>>> I have an old computer wich was running Xubuntu 12.04, quite good.
>>>>> As I
>>>>> upgraded it last Saturday it started working wrong, specialy video
>>>>> totally
>>>>> distortionated.
>>>>> When I learned I can change default video configuration, puting a
>>>>> xorg.conf in /etc/X11/, I tried difrent resolutions.
>>>>>
>>>> ............
>>>>
>>>>> Grub menu showed bad behavior before Xubuntu 14.04, having heavy
>>>>> distortion since Xubuntu 12.04.
>>>>> Now, even console interface works wrong, it get almost no
>>>>> distortion but
>>>>> it's like there were flying pixels.
>>>>> I installed nvidia tools, and tried this:
>>>> Fernando:
>>>>
>>>> I had the same problem with a NVIDIA GeForce4 MX440 AGP 8x in Lubuntu.
>>>>
>>>> I corrected all problems modifying the following line in
>>>> /etc/defaults/grub:
>>>>
>>>> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
>>>>
>>>> adding at the end of the line:
>>>>
>>>> nouveau.noaccel=1"
>>>>
>>>> So the line looks like:
>>>>
>>>> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.noaccel=1"
>>>>
>>>> After this modification you MUST run:
>>>>
>>>> sudo update-grub
>>>>
>>>> Alejandro Lieber
>>>>
>>>
>>> --
>>> xubuntu-users mailing list
>>> xubuntu-users at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20150512/f0996e50/attachment.html>
-------------- next part --------------
alias char-major-195* nvidia
options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44 NVreg_DeviceFileMode=0660
# To enable FastWrites and Sidebus addressing, uncomment these lines
# options nvidia NVreg_EnableAGPSBA=1
# options nvidia NVreg_EnableAGPFW=1
# see #580894
blacklist nouveau
-------------- next part --------------
# blacklist nvidia
blacklist lbm-nouveau
blacklist nvidia-173
# blacklist nvidia-96
# blacklist nvidia-current
blacklist nvidia-173-updates
# blacklist nvidia-96-updates
# alias nvidia nvidia_current_updates
alias nouveau off
alias lbm-nouveau off
-------------- next part --------------
A non-text attachment was scrubbed...
Name: version.h
Type: text/x-chdr
Size: 98 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20150512/f0996e50/attachment.h>
-------------- next part --------------
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=saved
GRUB_HIDDEN_TIMEOUT=1
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="MiniNo"
#GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
GRUB_CMDLINE_LINUX="" #"noapic nolapic"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=800x600
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_FONT=/boot/grub/DejaVuSansMono.pf2
GRUB_BACKGROUND=/usr/local/share/pixmaps/minino-grub.png
# Uncoment to hide the menu (use 'ESC' to display)
#GRUB_HIDDENMENU=true
-------------- next part --------------
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister at swio-display-x86-rh72-02.nvidia.com) Fri Aug 31 15:03:35 PDT 2012
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 - 95.0
VertRefresh 50.0 - 150.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
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
More information about the xubuntu-users
mailing list