[SOLVED]Problems with the video card and touchpad on Samsung

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Re: Problems with the video card and touchpad on Samsung lap

Postby eddyy8 » 2012-10-17 21:46

verahill wrote:Eddy,
Looking at the settings in nvidia-settings should give you a good indication to whether everything is working properly. You can also try running glxgears from the terminal as a test-case.

result:
Code: Select all
Xlib:  extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual


Anyway i founded out that the driver was not good because it doesn't support optimus....so i decided try to install the bumblebee...flowing the guide i should install first nvidia-glx , but first i have to install it's dependence : nvidia-installer-cleanup_20111111+1~bpo60+1_amd64.deb... but when i try to install it give's me this error:

Code: Select all
(Reading database ... 157667 files and directories currently installed.)
Preparing to replace nvidia-installer-cleanup 20111111+1~bpo60+1 (using nvidia-installer-cleanup_20111111+1~bpo60+1_amd64.deb) ...
Unpacking replacement nvidia-installer-cleanup ...
Setting up nvidia-installer-cleanup (20111111+1~bpo60+1) ...

Welcome to the NVIDIA Software Installer for Unix/Linux


If you plan to no longer use the NVIDIA driver, you should make sure that no X
screens are configured to use the NVIDIA X driver in your X configuration file.
If you used nvidia-xconfig to configure X, it may have created a backup of your
original configuration. Would you like to run `nvidia-xconfig
--restore-original-backup` to attempt restoration of the original X
configuration file?
  [default: (N)o]: ^CReceived signal SIGINT; aborting.
dpkg: error processing nvidia-installer-cleanup (--install):
 subprocess installed post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
 nvidia-installer-cleanup


i think that the x screens means this if i'm not wrong..:
Code: Select all
dpkg -l |grep xserver
ii  x11-xserver-utils                        7.5+3                             X server utilities
ii  xserver-common                           2:1.7.7-14                        common files used by various X servers
ii  xserver-xephyr                           2:1.7.7-14                        nested X server
ii  xserver-xorg                             1:7.5+8+squeeze1                  the X.Org X server
ii  xserver-xorg-core                        2:1.7.7-14                        Xorg X server - core server
ii  xserver-xorg-input-all                   1:7.5+8+squeeze1                  the X.Org X server -- input driver metapackage
ii  xserver-xorg-input-evdev                 1:2.3.2-6                         X.Org X server -- evdev input driver
ii  xserver-xorg-input-synaptics             1.2.2-2                           Synaptics TouchPad driver for X.Org server
ii  xserver-xorg-input-synaptics-dev         1.2.2-2                           Synaptics TouchPad driver for X.Org server (development headers)
ii  xserver-xorg-input-wacom                 0.10.5+20100416-1                 X.Org X server -- Wacom input driver
ii  xserver-xorg-video-all                   1:7.5+8+squeeze1                  the X.Org X server -- output driver metapackage
ii  xserver-xorg-video-apm                   1:1.2.2-2                         X.Org X server -- APM display driver
ii  xserver-xorg-video-ark                   1:0.7.2-2                         X.Org X server -- ark display driver
ii  xserver-xorg-video-ati                   1:6.13.1-2+squeeze1               X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-chips                 1:1.2.3-1                         X.Org X server -- Chips display driver
ii  xserver-xorg-video-cirrus                1:1.3.2-2+squeeze1                X.Org X server -- Cirrus display driver
ii  xserver-xorg-video-fbdev                 1:0.4.2-2                         X.Org X server -- fbdev display driver
ii  xserver-xorg-video-i128                  1:1.3.3-2                         X.Org X server -- i128 display driver
ii  xserver-xorg-video-intel                 2:2.13.0-7                        X.Org X server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-mach64                6.8.2-3                           X.Org X server -- ATI Mach64 display driver
ii  xserver-xorg-video-mga                   1:1.4.11.dfsg-4+squeeze1          X.Org X server -- MGA display driver
ii  xserver-xorg-video-neomagic              1:1.2.4-3                         X.Org X server -- Neomagic display driver
ii  xserver-xorg-video-nouveau               1:0.0.15+git20100329+7858345-5    X.Org X server -- Nouveau display driver (experimental)
ii  xserver-xorg-video-nv                    1:2.1.17-3                        X.Org X server -- NV display driver
ii  xserver-xorg-video-openchrome            1:0.2.904+svn842-2                X.Org X server -- VIA display driver
ii  xserver-xorg-video-r128                  6.8.1-3                           X.Org X server -- ATI r128 display driver
ii  xserver-xorg-video-radeon                1:6.13.1-2+squeeze1               X.Org X server -- AMD/ATI Radeon display driver
ii  xserver-xorg-video-rendition             1:4.2.3-3                         X.Org X server -- Rendition display driver
ii  xserver-xorg-video-s3                    1:0.6.3-2                         X.Org X server -- legacy S3 display driver
ii  xserver-xorg-video-s3virge               1:1.10.4-2                        X.Org X server -- S3 ViRGE display driver
ii  xserver-xorg-video-savage                1:2.3.1-2                         X.Org X server -- Savage display driver
ii  xserver-xorg-video-siliconmotion         1:1.7.3-2                         X.Org X server -- SiliconMotion display driver
ii  xserver-xorg-video-sis                   1:0.10.3-1                        X.Org X server -- SiS display driver
ii  xserver-xorg-video-sisusb                1:0.9.3-2                         X.Org X server -- SiS USB display driver
ii  xserver-xorg-video-tdfx                  1:1.4.3-2                         X.Org X server -- tdfx display driver
ii  xserver-xorg-video-trident               1:1.3.3-2                         X.Org X server -- Trident display driver
ii  xserver-xorg-video-tseng                 1:1.2.3-2+squeeze1                X.Org X server -- Tseng display driver
ii  xserver-xorg-video-vesa                  1:2.3.0-3                         X.Org X server -- VESA display driver
ii  xserver-xorg-video-vmware                1:11.0.1-2                        X.Org X server -- VMware display driver
ii  xserver-xorg-video-voodoo                1:1.2.3-2                         X.Org X server -- Voodoo display driver


what i can do ? i can't just uninstall all by hand ...i don't even really know witch to uninstall...any ideas to how to install nvidia-installer-cleanup? thks again!
eddyy8
 
Posts: 62
Joined: 2012-10-08 18:16

Re: Problems with the video card and touchpad on Samsung lap

Postby verahill » 2012-10-17 22:57

Eddy,
It looks like you hit ^C (Ctrl+C) instead of answering Yes or No to the question the nvidia-isnstaller-cleanup asked you.
What you're being told is that you've got your xorg.conf set up to use the nvidia driver.

[default: (N)o]: ^CReceived signal SIGINT; aborting.


Try answering No. You can also answer Yes -- it will look for files like e.g. xorg.conf-bu-2011-09-09-14:21:42 and reinstate them. I think you've better off starting without an xorg.conf though and let the bumblebee nvidia installer create one.

If you want to do the removal by hand, this would be my general approach.

(re)move your xorg.conf file
Code: Select all
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

Remove or comment out any lines mentioning nvidia from your /etc/modules file.

You may also want to move any files with nvidia in the name from your /etc/modprobe.d --- move them to another folder for safekeeping e.g. your home folder. (don't make any subfolders in /etc/modprobe.d)

Then either restart, or unload the nvidia driver:
Code: Select all
sudo rmmod nvidia


and you will be back to an nvidia-free system. You can probably then follow the bumblebee guide.
--------------------------------------------------
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.
User avatar
verahill
 
Posts: 327
Joined: 2012-05-29 07:03
Location: Australia

Re: Problems with the video card and touchpad on Samsung lap

Postby eddyy8 » 2012-10-18 17:35

verahill wrote:Eddy,
It looks like you hit ^C (Ctrl+C) instead of answering Yes or No to the question the nvidia-isnstaller-cleanup asked you.
What you're being told is that you've got your xorg.conf set up to use the nvidia driver.

[default: (N)o]: ^CReceived signal SIGINT; aborting.


Try answering No. You can also answer Yes -- it will look for files like e.g. xorg.conf-bu-2011-09-09-14:21:42 and reinstate them. I think you've better off starting without an xorg.conf though and let the bumblebee nvidia installer create one.

How can i answer? I just typed "no" or "yes" than enter , but nothing happened...
eddyy8
 
Posts: 62
Joined: 2012-10-08 18:16

Re: Problems with the video card and touchpad on Samsung lap

Postby verahill » 2012-10-18 21:46

Eddy,
The clean-up probably isn't important, but it's still worth getting everything to work as intended.

This is what you should check first:
Is the x server still running, i.e. have you shut it down/rebooted in text mode, or are you having your desktop running?
Have you tried just hitting enter? Or N, then enter? Or Y then enter?
If it still fails, just move the /etc/X11/xorg.conf out of the way.

But having googled a bit I think there may be a bigger issue at hand:
http://crunchbanglinux.org/forums/topic/22166/nividia-uninstaller-problems-cant-update/
(the smxi they are referring to is here: http://smxi.org/)
--------------------------------------------------
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.
User avatar
verahill
 
Posts: 327
Joined: 2012-05-29 07:03
Location: Australia

Re: Problems with the video card and touchpad on Samsung lap

Postby eddyy8 » 2012-10-19 11:29

verahill wrote:Eddy,
The clean-up probably isn't important, but it's still worth getting everything to work as intended.

This is what you should check first:
Is the x server still running, i.e. have you shut it down/rebooted in text mode, or are you having your desktop running?
Have you tried just hitting enter? Or N, then enter? Or Y then enter?
If it still fails, just move the /etc/X11/xorg.conf out of the way.


I don't know how to see if the x server is still working , i don't really know for sure what is...anyway i tried all! enter , N then enter etc...and there's no file /etc/X11/xorg.conf...
The clean-up is dependent for the packages i need to install for bubblebee, otherwize they don't start... I think that the guy in your link was a different problem..can you explain me a bit more about smxi?
eddyy8
 
Posts: 62
Joined: 2012-10-08 18:16

Re: Problems with the video card and touchpad on Samsung lap

Postby verahill » 2012-10-20 22:04

Eddy,
Since I don't have a system in a similar state as yours I can't do any testing. Any advice I give will just be me guessing at what to do. Someone else might have a better idea.

I would suspect that the cleanup should only run if there are other nvidia packages already installed, so you might just want to remove all nvidia packages if you haven't already.

To shut down the x server I think this would be the easiest approach:
go to a terminal (e.g.. ctrl+f1), and do
Code: Select all
sudo service gdm3 stop

(assuming you're using gdm3)

Then unload the nvidia driver:if it's loaded
Code: Select all
sudo rmmod nvidia


Try running the installation again now. I'm not sure why the nvidia installler cleanup script is failing, but hopefully it's just because your X is running.

I can't give you any specific advice though.
--------------------------------------------------
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.
User avatar
verahill
 
Posts: 327
Joined: 2012-05-29 07:03
Location: Australia

Re: Problems with the video card and touchpad on Samsung lap

Postby eddyy8 » 2012-10-21 09:30

verahill wrote:Eddy,
Since I don't have a system in a similar state as yours I can't do any testing. Any advice I give will just be me guessing at what to do. Someone else might have a better idea.

I would suspect that the cleanup should only run if there are other nvidia packages already installed, so you might just want to remove all nvidia packages if you haven't already.

To shut down the x server I think this would be the easiest approach:
go to a terminal (e.g.. ctrl+f1), and do
Code: Select all
sudo service gdm3 stop

(assuming you're using gdm3)

Then unload the nvidia driver:if it's loaded
Code: Select all
sudo rmmod nvidia


Try running the installation again now. I'm not sure why the nvidia installler cleanup script is failing, but hopefully it's just because your X is running.

I can't give you any specific advice though.


thank for your help i tried what u've said but did the same result..

anyway before the failing of the script I get this message window:
Code: Select all
The 'nvidia-installer program was found i your sistem. This is probaly left over from an earlier instalation of the non-free NVIDIA grafics driver, installed unsing the NVIDIA *.run file directly. This installation is incompatible with the debian packages. To install  the debian packages safely , it is therefore neccessary to undo the changes performed by 'nvidia_installer' .
Run 'nvidia-installer --uninstall'?
yes      no
'

after i answer yes i got the screen were the script is failing...
eddyy8
 
Posts: 62
Joined: 2012-10-08 18:16

Re: Problems with the video card and touchpad on Samsung lap

Postby eddyy8 » 2012-10-21 12:57

Never mind , I managed to install all the packages and I also installed bumblebee... But is not working, I get this error when i try to run a game :
Code: Select all
root@ed:~# invoke-rc.d bumblebeed start
root@ed:~# optirun Nibbles
[  850.719188] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[  850.719304] [ERROR]Aborting because fallback start is disabled.


I also couldn't install the start on boot:
Code: Select all
root@ed:~# install -m755 scripts/sysvinit/bumblebeed /etc/init.d/
install: cannot stat `scripts/sysvinit/bumblebeed': No such file or directory


any ideas? source: http://wiki.debian.org/Bumblebee#Power_Management
eddyy8
 
Posts: 62
Joined: 2012-10-08 18:16

Re: Problems with the video card and touchpad on Samsung lap

Postby eddyy8 » 2012-10-21 18:50

The installation I did was the manual one...now i tried the repository one http://suwako.nomanga.net/ but i get this:
Code: Select all
apt-get install bumblebee bumblebee-nvidia
Reading package lists... Done
Building dependency tree       
Reading state information... Done
bumblebee is already the newest version.
bumblebee-nvidia is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up bumblebee (3.0.1-1) ...
Starting Bumblebee daemon: bumblebeed failed!
invoke-rc.d: initscript bumblebeed, action "start" failed.
dpkg: error processing bumblebee (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bumblebee-nvidia:
 bumblebee-nvidia depends on bumblebee (= 3.0.1-1); however:
  Package bumblebee is not configured yet.
dpkg: error processing bumblebee-nvidia (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      configured to not write apport reports
                                                                            Errors were encountered while processing:
 bumblebee
 bumblebee-nvidia
E: Sub-process /usr/bin/dpkg returned an error code (1)


I think I messed up the bumblebee installation...can I undo an installation or something like that? Or maybe other solutions..
eddyy8
 
Posts: 62
Joined: 2012-10-08 18:16

Re: Problems with the video card and touchpad on Samsung lap

Postby eddyy8 » 2012-10-22 20:04

I tried to install the repository version of bumblebee from http://suwako.nomanga.net/ but i get this:
Code: Select all
 apt-get install bumblebee bumblebee-nvidiaReading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  bumblebee bumblebee-nvidia
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/62.0 kB of archives.
After this operation, 246 kB of additional disk space will be used.
Selecting previously deselected package bumblebee.
(Reading database ... 161581 files and directories currently installed.)
Unpacking bumblebee (from .../bumblebee_3.0.1-1_amd64.deb) ...
Selecting previously deselected package bumblebee-nvidia.
Unpacking bumblebee-nvidia (from .../bumblebee-nvidia_3.0.1-1_all.deb) ...
Processing triggers for man-db ...
Setting up bumblebee (3.0.1-1) ...
Starting Bumblebee daemon: bumblebeed failed!
invoke-rc.d: initscript bumblebeed, action "start" failed.
dpkg: error processing bumblebee (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bumblebee-nvidia:
 bumblebee-nvidia depends on bumblebee (= 3.0.1-1); however:
  Package bumblebee is not configured yet.
dpkg: error processing bumblebee-nvidia (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      configured to not write apport reports
                                                                            Errors were encountered while processing:
 bumblebee
 bumblebee-nvidia
E: Sub-process /usr/bin/dpkg returned an error code (1)


Please can you help me...you haven't write anything anymore...
eddyy8
 
Posts: 62
Joined: 2012-10-08 18:16

Re: Problems with the video card and touchpad on Samsung lap

Postby verahill » 2012-10-23 06:23

Eddy,
since I don't have access to a system with similar issues it's difficult for me to help you. Please don't bump things by reposting. People visit the forums when they have time.

Anyway,
bumblebee-nvidia depends on bumblebee (= 3.0.1-1); however:
Package bumblebee is not configured yet.
dpkg: error processing bumblebee-nvidia (--configure):
dependency problems - leaving unconfigured


Is there a bumblebeed in your /etc/init.d? If not, is it possible to install the bumblebeed before anything else, and launch it using
Code: Select all
sudo service bumblebeed start

?

Other increasingly desperate things to try are
Code: Select all
sudo apt-get install -f

to make sure any missing deps are installed, followed by
Code: Select all
sudo dpkg-reconfigure bumblebee


Other than that, try reading
https://github.com/Bumblebee-Project/Bumblebee/wiki/Troubleshooting

https://wiki.debian.org/Bumblebee

https://github.com/Bumblebee-Project/Bumblebee/wiki/Reporting-Issues

although I suspect you already have.

You may also want to have a look at the Linux Mint forums since similar issues presumably may arise on their Linux Mint Debian Edition. Just be careful about ppas.

Also, what about using the bumblebee-nouveau instead of the nvidia driver? Does everything install ok then?
--------------------------------------------------
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.
User avatar
verahill
 
Posts: 327
Joined: 2012-05-29 07:03
Location: Australia

Re: Problems with the video card and touchpad on Samsung lap

Postby eddyy8 » 2012-10-23 18:03

verahill wrote:Is there a bumblebeed in your /etc/init.d? If not, is it possible to install the bumblebeed before anything else, and launch it using
Code: Select all
sudo service bumblebeed start

?

Yes :
Code: Select all
ls -l | grep bumblebee
-rwxr-xr-x 1 root root  2123 Sep 21 10:32 bumblebeed
-rwxr-xr-x 1 root root  1952 Oct 21 19:46 bumblebeed.dpkg-old


Other increasingly desperate things to try are
Code: Select all
sudo apt-get install -f

result:
Code: Select all
apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up bumblebee (3.0.1-1) ...
Starting Bumblebee daemon: bumblebeed failed!
invoke-rc.d: initscript bumblebeed, action "start" failed.
dpkg: error processing bumblebee (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bumblebee-nvidia:
 bumblebee-nvidia depends on bumblebee (= 3.0.1-1); however:
  Package bumblebee is not configured yet.
dpkg: error processing bumblebee-nvidia (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
                                      configured to not write apport reports
                                                                            Errors were encountered while processing:
 bumblebee
 bumblebee-nvidia
E: Sub-process /usr/bin/dpkg returned an error code (1)


to make sure any missing deps are installed, followed by
Code: Select all
sudo dpkg-reconfigure bumblebee

result:
Code: Select all
dpkg-reconfigure bumblebee
/usr/sbin/dpkg-reconfigure: bumblebee is broken or not fully installed


It gives me the same errors from the installation...any way, you recommend me the repository install or the manual install? and how can I try nouveau if i've installed all the nvidia packages? they are too much to uninstall theme one by one... it seams that the bumblebee won't be easy to repair...thanks for your time!
eddyy8
 
Posts: 62
Joined: 2012-10-08 18:16

Re: Problems with the video card and touchpad on Samsung lap

Postby eddyy8 » 2012-10-25 19:04

Never mind... I upgraded the xorg server from backports and now works everything... thanks for your time! :D
eddyy8
 
Posts: 62
Joined: 2012-10-08 18:16

Re: [SOLVED]Problems with the video card and touchpad on Sam

Postby verahill » 2012-10-26 00:07

Eddy,
I'm happy to hear that it worked out in the end for you, and I apologise for not following up towards the end (I'm lecturing at a university in the southern hemisphere and the finals start next week -- busy days for everyone).

You may want to summarise what you did in the end (that worked) in a last post and then mark the topic as solved.
--------------------------------------------------
http://verahill.blogspot.com
OPs: don't forget to mark your (first) post as solved when the issue has been resolved.
User avatar
verahill
 
Posts: 327
Joined: 2012-05-29 07:03
Location: Australia

Previous

Return to Hardware

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable