Device Driver Manager - Help needed

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
zerozero

Re: Device Driver Manager - Help needed

Post by zerozero »

Schoelje,
before i boot into the testing system to provide you the extra info you asked for:
Schoelje wrote:That's exactly what I'm looking for...or any procedure at all.
this: i had a look around and knowing who already has this documented, let's see what they say
http://chakra-linux.org/wiki/index.php/ ... eo-Drivers
https://wiki.archlinux.org/index.php/Nouveau (arch of course :lol: ) the previous page take us here https://wiki.archlinux.org/index.php/No ... _installed (if we want to use nouveau but keep nvidia installed: looks like what we want to do here) and from there we go here https://wiki.archlinux.org/index.php/NV ... au_drivers (if we want to do that in an automatic <sort-off> way; sounds good as well 8) )
if you manage to translate that to debian language i believe it can help
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

zerozero wrote:Schoelje,
before i boot into the testing system to provide you the extra info you asked for:
Schoelje wrote:That's exactly what I'm looking for...or any procedure at all.
this: i had a look around and knowing who already has this documented, let's see what they say
http://chakra-linux.org/wiki/index.php/ ... eo-Drivers
https://wiki.archlinux.org/index.php/Nouveau (arch of course :lol: ) the previous page take us here https://wiki.archlinux.org/index.php/No ... _installed (if we want to use nouveau but keep nvidia installed: looks like what we want to do here) and from there we go here https://wiki.archlinux.org/index.php/NV ... au_drivers (if we want to do that in an automatic <sort-off> way; sounds good as well 8) )
if you manage to translate that to debian language i believe it can help
Thanks zerozero, but I already saw these as well...and it simply doesn't work on Debian.
What troubles me most is when you purge all nvidia packages and remove xorg.conf, the system boots into vesa.
Nouveau is loaded according to /var/log/xorg.0.log but it's not used :cry:
zerozero

Re: Device Driver Manager - Help needed

Post by zerozero »

pity :oops: it would be soo much easier
what you asked for then
xorg.conf.20121203_2219.bak.doc
and
nvidia-kernel-common.conf.doc
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

@zerozero,

I found nothing wrong in your log files and config files.

in Xorg.0.log (see attachment Xorg.0.log.wrong.doc) I find this line after nouveau has been loaded:
(EE) [drm] failed to open device
I've been searching and trying for the past 3 hours, but haven't found a solution.

I've also attached a Xorg.0.log file before nvidia was installed and which loaded nouveau fine.

I never thought I'd say this, but this is way to complicated for me.
zerozero

Re: Device Driver Manager - Help needed

Post by zerozero »

Schoelje,
i guess i never saw soo many logs as now (and you know that after awile they all look the same :lol: )
this one i can't see nothing obvious either
xorg.0.failed switch from nvidia to nouveau.doc
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

From line 145 you see these kind of lines repeated:
drmOpenDevice: node name is /dev/dri/card0
Where they finish with:
[ 17.618] (EE) [drm] failed to open device
[ 17.618] vesa: Ignoring device with a bound kernel driver
[ 17.618] (WW) Falling back to old probe method for vesa
fbdev is loaded after this and used.
In code I look for the line with randr. The previous line tells which module is actually used.
In my case even fbdev is unloaded and the system defaults to vesa.

Sadly, I've gotten rather good at interpreting log files...
zerozero

Re: Device Driver Manager - Help needed

Post by zerozero »

yeahh i noticed that: in my system vesa is also unloaded and i fallback to fbdev (that doesn't happen with you)
i will test further (between tomorrow and thursday) but probably nothing you have not tried already.
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

zerozero wrote:yeahh i noticed that: in my system vesa is also unloaded and i fallback to fbdev (that doesn't happen with you)
i will test further (between tomorrow and thursday) but probably nothing you have not tried already.
I found an article somewhere that states that nvidia overwrites some gl libraries, but it doesn't mention which ones. They suggest to save the nouveau gl libraries somewhere and copy them if you switch back to nouveau (while you copy the nvidia gl libraries to another place). That seems alright if you installed DDM when you are using nouveau so you can make a backup of those files, but if you already have nvidia installed, you'll have a problem.

Too complicated and prone to mistakes I think, so I'm curious whether you find a solution to this puzzle.
GeneC

Re: Device Driver Manager - Help needed

Post by GeneC »

DDM 0.2.4 sucessfully installed Nvidia in
Nadia XFCE RC 64bit

DDM Log

Code: Select all

06-12-2012 15:46:37 main                          INFO      Write debug information to file: /home/gene/ddm.log
06-12-2012 15:46:37 execcmd.run                   DEBUG     Command to execute: cat /proc/version
06-12-2012 15:46:37 main                          INFO      Machine info: Linux version 3.5.0-17-generic (buildd@allspice) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012
06-12-2012 15:46:37 execcmd.run                   DEBUG     Command to execute: apt-cache policy device-driver-manager | grep Installed
06-12-2012 15:46:37 main                          INFO      DDM version: 0.2.4
06-12-2012 15:46:37 execcmd.run                   DEBUG     Command to execute: aptitude search apt-listbugs | grep ^i
06-12-2012 15:46:39 execcmd.run                   DEBUG     Command to execute: cat /proc/version
06-12-2012 15:46:39 main                          DEBUG     Startup command: gksu --message "<b>Please enter your password</b>" python /usr/lib/device-driver-manager/ddm.py :d :l /home/gene/ddm.log
06-12-2012 15:46:44 ddm.main                      INFO      Checking your hardware...
06-12-2012 15:46:44 drivers.DriverCheck           DEBUG     Initialize DriverCheck
06-12-2012 15:46:44 execcmd.run                   DEBUG     Command to execute: cat /proc/version
06-12-2012 15:46:44 execcmd.run                   DEBUG     Command to execute: lspci -nn | grep VGA
06-12-2012 15:46:44 nvidia.init                   DEBUG     Nvidia driver info: [304, 'Nvidia GeForce GTX 460', '0E22']
06-12-2012 15:46:44 execcmd.run                   DEBUG     Command to execute: lspci | grep VGA
06-12-2012 15:46:44 execcmd.run                   DEBUG     Command to execute: cat /etc/*-release | grep DISTRIB_RELEASE
06-12-2012 15:46:44 execcmd.run                   DEBUG     Command to execute: aptitude search linux-headers
06-12-2012 15:46:46 nvidia.getNvidia              INFO      Get the appropriate Nvidia driver
06-12-2012 15:46:46 nvidia.getNvidia              INFO      Nvidia driver to install: nvidia-current
06-12-2012 15:46:46 execcmd.run                   DEBUG     Command to execute: apt-cache policy nvidia-current
06-12-2012 15:46:46 drivers.getPackageStatus      DEBUG     Package not installed: nvidia-current
06-12-2012 15:46:46 nvidia.getNvidia              DEBUG     Package status: notinstalled
06-12-2012 15:46:46 execcmd.run                   DEBUG     Command to execute: lspci | grep Broadcom
06-12-2012 15:46:46 pae.getPae                    DEBUG     Distribution: ubuntu 14.0
06-12-2012 15:46:46 functions.getImgsFromDir      DEBUG     Search for extensions: ['.png', '.jpg', '.jpeg', '.gif']
06-12-2012 15:46:46 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/uninstallable.png
06-12-2012 15:46:46 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/installed.png
06-12-2012 15:46:46 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/broadcom.png
06-12-2012 15:46:46 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/ati.png
06-12-2012 15:46:46 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/mirror.png
06-12-2012 15:46:46 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/pae.png
06-12-2012 15:46:46 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/empty.png
06-12-2012 15:46:46 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/nvidia.png
06-12-2012 15:46:46 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/logo.png
06-12-2012 15:46:46 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/notinstalled.png
06-12-2012 15:46:46 ddm.fillHardware              INFO      Hardware image found: /usr/share/device-driver-manager/nvidia.png
06-12-2012 15:46:46 ddm.fillHardware              INFO      Add item: Nvidia GeForce GTX 460
06-12-2012 15:46:46 ddm.fillHardware              DEBUG     Preselect: True
06-12-2012 15:46:46 functions.fillTreeview        DEBUG     Create list store eval string: gtk.ListStore(bool, gtk.gdk.Pixbuf, gtk.gdk.Pixbuf, str, str, str, int)
06-12-2012 15:46:46 functions.fillTreeview        DEBUG     Create column names: ['Column 0', 'Column 1', 'Column 2', 'Column 3', 'Column 4', 'Column 5']
06-12-2012 15:46:46 functions.fillTreeview        DEBUG     Add data to list store (single-column list): liststore.append( [True, gtk.gdk.pixbuf_new_from_file("/usr/share/device-driver-manager/notinstalled.png"), gtk.gdk.pixbuf_new_from_file("/usr/share/device-driver-manager/nvidia.png"), "Nvidia GeForce GTX 460", "nvidia", "notinstalled", 400] )
06-12-2012 15:46:46 functions.fillTreeview        DEBUG     Last visible column nr: 4
06-12-2012 15:46:46 functions.fillTreeview        DEBUG     Create column: gtk.TreeViewColumn("Column 0", gtk.CellRendererToggle(), active=0)
06-12-2012 15:46:46 functions.fillTreeview        DEBUG     Check box found: add toggle function
06-12-2012 15:46:47 functions.fillTreeview        DEBUG     Column added: Column 0
06-12-2012 15:46:47 functions.fillTreeview        DEBUG     Create column: gtk.TreeViewColumn("Column 1", gtk.CellRendererPixbuf(), pixbuf=1)
06-12-2012 15:46:47 functions.fillTreeview        DEBUG     Column added: Column 1
06-12-2012 15:46:47 functions.fillTreeview        DEBUG     Create column: gtk.TreeViewColumn("Column 2", gtk.CellRendererPixbuf(), pixbuf=2)
06-12-2012 15:46:47 functions.fillTreeview        DEBUG     Column added: Column 2
06-12-2012 15:46:47 functions.fillTreeview        DEBUG     Create column: gtk.TreeViewColumn("Column 3", gtk.CellRendererText(), text=3, weight=6)
06-12-2012 15:46:47 functions.fillTreeview        DEBUG     Column added: Column 3
06-12-2012 15:46:47 functions.fillTreeview        DEBUG     Hide column nr: 4
06-12-2012 15:46:47 functions.fillTreeview        DEBUG     Hide column nr: 5
06-12-2012 15:46:47 functions.fillTreeview        DEBUG     Add Liststrore to Treeview
06-12-2012 15:46:47 functions.fillTreeview        DEBUG     Scrolled to selected row: 0
06-12-2012 15:46:47 execcmd.run                   DEBUG     Command to execute: apt-cache policy device-driver-manager | grep Installed
06-12-2012 15:46:51 ddm.handleHardware            INFO      install hardware code: nvidia
06-12-2012 15:46:51 ddm.handleHardware            INFO      Start driver install thread
06-12-2012 15:46:51 drivers.DriverInstall         DEBUG     Initialize DriverInstall
06-12-2012 15:46:51 execcmd.run                   DEBUG     Command to execute: cat /proc/version
06-12-2012 15:46:51 execcmd.run                   DEBUG     Command to execute: lspci -nn | grep VGA
06-12-2012 15:46:51 ddm.installHardware           DEBUG     Check every 5 seconds if thread is still active
06-12-2012 15:47:03 nvidia.init                   DEBUG     Nvidia driver info: [304, 'Nvidia GeForce GTX 460', '0E22']
06-12-2012 15:47:08 execcmd.run                   DEBUG     Command to execute: cat /etc/*-release | grep DISTRIB_RELEASE
06-12-2012 15:47:58 execcmd.run                   DEBUG     Command to execute: aptitude search linux-headers
06-12-2012 15:49:10 execcmd.run                   DEBUG     Command to execute: echo linux-headers-$(uname -r)
06-12-2012 15:49:12 execcmd.run                   DEBUG     Command to execute: aptitude search nvidia-current | grep ^i
06-12-2012 15:49:20 execcmd.run                   DEBUG     Command to execute: apt-cache policy linux-headers-3.5.0-17-generic
06-12-2012 15:49:38 drivers.getPackageStatus      DEBUG     Package is installed: linux-headers-3.5.0-17-generic
06-12-2012 15:49:38 execcmd.run                   DEBUG     Command to execute: apt-cache policy nvidia-current
06-12-2012 15:50:02 drivers.getPackageStatus      DEBUG     Package not installed: nvidia-current
06-12-2012 15:50:03 execcmd.run                   DEBUG     Command to execute: apt-cache policy nvidia-settings
06-12-2012 15:50:24 drivers.getPackageStatus      DEBUG     Package not installed: nvidia-settings
06-12-2012 15:50:24 execcmd.run                   DEBUG     Command to execute: apt-get -y --force-yes install linux-headers-3.5.0-17-generic nvidia-current nvidia-settings
06-12-2012 15:50:35 execcmd.run                   INFO      Reading package lists...
06-12-2012 15:50:41 execcmd.run                   INFO      Building dependency tree...
06-12-2012 15:50:41 execcmd.run                   INFO      Reading state information...
06-12-2012 15:50:41 execcmd.run                   INFO      linux-headers-3.5.0-17-generic is already the newest version.
06-12-2012 15:50:43 execcmd.run                   INFO      The following extra packages will be installed:
06-12-2012 15:50:45 execcmd.run                   INFO      python-xkit screen-resolution-extra
06-12-2012 15:50:45 execcmd.run                   INFO      The following NEW packages will be installed:
06-12-2012 15:50:45 execcmd.run                   INFO      nvidia-current nvidia-settings python-xkit screen-resolution-extra
06-12-2012 15:50:45 execcmd.run                   INFO      0 upgraded, 4 newly installed, 0 to remove and 7 not upgraded.
06-12-2012 15:50:45 execcmd.run                   INFO      Need to get 69.6 MB of archives.
06-12-2012 15:50:45 execcmd.run                   INFO      After this operation, 208 MB of additional disk space will be used.
06-12-2012 15:50:45 execcmd.run                   INFO      Get:1 http://archive.ubuntu.com/ubuntu/ quantal/restricted nvidia-current amd64 304.51.really.304.43-0ubuntu1 [67.7 MB]
06-12-2012 15:54:17 execcmd.run                   INFO      Get:2 http://archive.ubuntu.com/ubuntu/ quantal/main python-xkit all 0.5.0 [27.9 kB]
06-12-2012 15:54:24 execcmd.run                   INFO      Get:3 http://archive.ubuntu.com/ubuntu/ quantal/main screen-resolution-extra all 0.15 [13.1 kB]
06-12-2012 15:54:24 execcmd.run                   INFO      Get:4 http://archive.ubuntu.com/ubuntu/ quantal/main nvidia-settings amd64 304.51-0ubuntu2 [1,820 kB]
06-12-2012 15:54:24 execcmd.run                   INFO      dpkg-preconfigure: unable to re-open stdin: No such file or directory
06-12-2012 15:54:24 execcmd.run                   INFO      Fetched 69.6 MB in 3min 51s (301 kB/s)
06-12-2012 15:54:24 execcmd.run                   INFO      Selecting previously unselected package nvidia-current.
06-12-2012 15:54:24 execcmd.run                   INFO      (Reading database ... 135471 files and directories currently installed.)
06-12-2012 15:54:24 execcmd.run                   INFO      Unpacking nvidia-current (from .../nvidia-current_304.51.really.304.43-0ubuntu1_amd64.deb) ...
06-12-2012 15:54:32 execcmd.run                   INFO      Selecting previously unselected package python-xkit.
06-12-2012 15:54:32 execcmd.run                   INFO      Unpacking python-xkit (from .../python-xkit_0.5.0_all.deb) ...
06-12-2012 15:54:32 execcmd.run                   INFO      Selecting previously unselected package screen-resolution-extra.
06-12-2012 15:54:32 execcmd.run                   INFO      Unpacking screen-resolution-extra (from .../screen-resolution-extra_0.15_all.deb) ...
06-12-2012 15:54:32 execcmd.run                   INFO      Selecting previously unselected package nvidia-settings.
06-12-2012 15:54:32 execcmd.run                   INFO      Unpacking nvidia-settings (from .../nvidia-settings_304.51-0ubuntu2_amd64.deb) ...
06-12-2012 15:54:35 execcmd.run                   INFO      Processing triggers for man-db ...
06-12-2012 15:54:35 execcmd.run                   INFO      Processing triggers for bamfdaemon ...
06-12-2012 15:54:35 execcmd.run                   INFO      Rebuilding /usr/share/applications/bamf.index...
06-12-2012 15:54:35 execcmd.run                   INFO      Processing triggers for desktop-file-utils ...
06-12-2012 15:54:35 execcmd.run                   INFO      Processing triggers for gnome-menus ...
06-12-2012 15:54:35 execcmd.run                   INFO      Setting up nvidia-current (304.51.really.304.43-0ubuntu1) ...
06-12-2012 15:54:35 execcmd.run                   INFO      update-alternatives: using /usr/lib/nvidia-current/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
06-12-2012 15:54:35 execcmd.run                   INFO      update-alternatives: using /usr/lib/nvidia-current/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
06-12-2012 15:54:35 execcmd.run                   INFO      update-initramfs: deferring update (trigger activated)
06-12-2012 15:54:35 execcmd.run                   INFO      INFO:Enable nvidia-current
06-12-2012 15:54:35 execcmd.run                   INFO      DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
06-12-2012 15:54:35 execcmd.run                   INFO      DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
06-12-2012 15:54:35 execcmd.run                   INFO      DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
06-12-2012 15:54:35 execcmd.run                   INFO      DEBUG:Processing quirk Latitude E6530
06-12-2012 15:54:35 execcmd.run                   INFO      DEBUG:Failure to match System manufacturer with Dell Inc.
06-12-2012 15:54:35 execcmd.run                   INFO      DEBUG:Quirk doesn't match
06-12-2012 15:54:35 execcmd.run                   INFO      DEBUG:Processing quirk ThinkPad T420s
06-12-2012 15:54:35 execcmd.run                   INFO      DEBUG:Failure to match System manufacturer with LENOVO
06-12-2012 15:54:35 execcmd.run                   INFO      DEBUG:Quirk doesn't match
06-12-2012 15:54:35 execcmd.run                   INFO      Loading new nvidia-current-304.43 DKMS files...
06-12-2012 15:54:36 execcmd.run                   INFO      First Installation: checking all kernels...
06-12-2012 15:54:37 execcmd.run                   INFO      Building only for 3.5.0-17-generic
06-12-2012 15:54:37 execcmd.run                   INFO      Building for architecture x86_64
06-12-2012 15:54:37 execcmd.run                   INFO      Building initial module for 3.5.0-17-generic
06-12-2012 15:55:00 execcmd.run                   INFO      Done.
06-12-2012 15:55:01 execcmd.run                   INFO      nvidia_current:
06-12-2012 15:55:01 execcmd.run                   INFO      Running module version sanity check.
06-12-2012 15:55:01 execcmd.run                   INFO      - Original module
06-12-2012 15:55:01 execcmd.run                   INFO      - No original module exists within this kernel
06-12-2012 15:55:03 execcmd.run                   INFO      - Installation
06-12-2012 15:55:04 execcmd.run                   INFO      - Installing to /lib/modules/3.5.0-17-generic/kernel/drivers/char/drm/
06-12-2012 15:55:05 execcmd.run                   INFO      depmod....
06-12-2012 15:55:05 execcmd.run                   INFO      DKMS: install completed.
06-12-2012 15:55:05 execcmd.run                   INFO      Setting up python-xkit (0.5.0) ...
06-12-2012 15:55:05 execcmd.run                   INFO      Setting up screen-resolution-extra (0.15) ...
06-12-2012 15:55:05 execcmd.run                   INFO      Setting up nvidia-settings (304.51-0ubuntu2) ...
06-12-2012 15:55:05 execcmd.run                   INFO      update-alternatives: using /usr/lib/nvidia-settings/ld.so.conf to provide /etc/ld.so.conf.d/nvidia_settings.conf (nvidia_settings_conf) in auto mode
06-12-2012 15:55:05 execcmd.run                   INFO      Processing triggers for bamfdaemon ...
06-12-2012 15:55:05 execcmd.run                   INFO      Rebuilding /usr/share/applications/bamf.index...
06-12-2012 15:55:07 execcmd.run                   INFO      Processing triggers for initramfs-tools ...
06-12-2012 15:55:08 execcmd.run                   INFO      update-initramfs: Generating /boot/initrd.img-3.5.0-17-generic
06-12-2012 15:55:14 execcmd.run                   INFO      Warning: No support for locale: en_US.utf8
06-12-2012 15:55:29 nvidia.installNvidia          DEBUG     Blacklist Nouveau: /etc/modprobe.d/blacklist-nouveau.conf
06-12-2012 15:55:39 nvidia.installNvidia          INFO      Done installing Nvidia drivers
06-12-2012 15:55:42 drivers.DriverCheck           DEBUG     Initialize DriverCheck
06-12-2012 15:55:42 execcmd.run                   DEBUG     Command to execute: cat /proc/version
06-12-2012 15:55:42 execcmd.run                   DEBUG     Command to execute: lspci -nn | grep VGA
06-12-2012 15:55:42 nvidia.init                   DEBUG     Nvidia driver info: [304, 'Nvidia GeForce GTX 460', '0E22']
06-12-2012 15:55:42 execcmd.run                   DEBUG     Command to execute: cat /etc/*-release | grep DISTRIB_RELEASE
06-12-2012 15:55:42 execcmd.run                   DEBUG     Command to execute: aptitude search linux-headers
06-12-2012 15:55:44 nvidia.getNvidia              INFO      Get the appropriate Nvidia driver
06-12-2012 15:55:44 nvidia.getNvidia              INFO      Nvidia driver to install: nvidia-current
06-12-2012 15:55:44 execcmd.run                   DEBUG     Command to execute: apt-cache policy nvidia-current
06-12-2012 15:55:44 drivers.getPackageStatus      DEBUG     Package is installed: nvidia-current
06-12-2012 15:55:44 nvidia.getNvidia              DEBUG     Package status: installed
06-12-2012 15:55:44 execcmd.run                   DEBUG     Command to execute: lspci | grep Broadcom
06-12-2012 15:55:44 pae.getPae                    DEBUG     Distribution: ubuntu 14.0
06-12-2012 15:55:44 functions.getImgsFromDir      DEBUG     Search for extensions: ['.png', '.jpg', '.jpeg', '.gif']
06-12-2012 15:55:44 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/uninstallable.png
06-12-2012 15:55:44 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/installed.png
06-12-2012 15:55:44 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/broadcom.png
06-12-2012 15:55:44 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/ati.png
06-12-2012 15:55:44 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/mirror.png
06-12-2012 15:55:44 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/pae.png
06-12-2012 15:55:44 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/empty.png
06-12-2012 15:55:44 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/nvidia.png
06-12-2012 15:55:44 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/logo.png
06-12-2012 15:55:44 functions.getImgsFromDir      DEBUG     Image found: /usr/share/device-driver-manager/notinstalled.png
06-12-2012 15:55:44 ddm.fillHardware              INFO      Hardware image found: /usr/share/device-driver-manager/nvidia.png
06-12-2012 15:55:44 ddm.fillHardware              INFO      Add item: Nvidia GeForce GTX 460
06-12-2012 15:55:44 ddm.fillHardware              DEBUG     Preselect: False
06-12-2012 15:55:44 functions.fillTreeview        DEBUG     Clear existing list store
06-12-2012 15:55:44 functions.fillTreeview        DEBUG     Create column names: ['Column 0', 'Column 1', 'Column 2', 'Column 3', 'Column 4', 'Column 5']
06-12-2012 15:55:44 functions.fillTreeview        DEBUG     Add data to list store (single-column list): liststore.append( [False, gtk.gdk.pixbuf_new_from_file("/usr/share/device-driver-manager/installed.png"), gtk.gdk.pixbuf_new_from_file("/usr/share/device-driver-manager/nvidia.png"), "Nvidia GeForce GTX 460", "nvidia", "installed", 400] )
06-12-2012 15:55:44 functions.fillTreeview        DEBUG     Last visible column nr: 4
06-12-2012 15:55:44 functions.fillTreeview        DEBUG     Column already exists: Column 0
06-12-2012 15:55:44 functions.fillTreeview        DEBUG     Column already exists: Column 1
06-12-2012 15:55:44 functions.fillTreeview        DEBUG     Column already exists: Column 2
06-12-2012 15:55:44 functions.fillTreeview        DEBUG     Column already exists: Column 3
06-12-2012 15:55:44 functions.fillTreeview        DEBUG     Hide column nr: 4
06-12-2012 15:55:44 functions.fillTreeview        DEBUG     Hide column nr: 5
06-12-2012 15:55:44 functions.fillTreeview        DEBUG     Add Liststrore to Treeview
06-12-2012 15:55:44 functions.fillTreeview        DEBUG     Scrolled to selected row: 0
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

GeneC wrote:DDM 0.2.4 sucessfully installed Nvidia in
Nadia XFCE RC 64bit
Good to see that DDM is still working on new LM releases!
Jesse654

Re: Device Driver Manager - Help needed

Post by Jesse654 »

Schoelje wrote:I never thought I'd say this, but this is way to complicated for me.
Perhaps you'd prefer working on something easier, like string theory mathematics. :D
Schoelje wrote:[ 17.618] vesa: Ignoring device with a bound kernel driver
Shot in the dark here:
Is the "bound kernel driver" here referring to the nvidia driver? Can you unbind the driver from the kernel or just reinstall the kernel before switching to nouveau? The latter sounds like "too much," like it shouldn't have to happen, but if that worked, I would think there would be a way to unbind the driver.
Schoelje wrote:They suggest to save the nouveau gl libraries somewhere and copy them if you switch back to nouveau
Would having both sets of libraries in the repositories help?

Pardon my ignorance with these questions, but you seem to have hit a small snag, and sometimes stupid questions can lead to intelligent answers. Well, one can hope. :)
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

Yesterday I was at the developers IRC channel where I had a discussion with Clem and some other developers about this issue.
My suspicion was that nvidia overwrites some libraries and that causes the problem if you want to switch to nouveau: the libraries are changed.
Today I tested the same procedure on LMDE Xfce (installing nvidia and then switching back to nouveau) and hunted down the probable culprit: libGL.so.
I need to do a lot more testing, but it looks very promising.
If I'm correct, I only need to re-install the mesa libraries.
Fingers crossed.
zerozero

Re: Device Driver Manager - Help needed

Post by zerozero »

Schoelje wrote:so I'm curious whether you find a solution to this puzzle.
reporting that wednesday and thursday i happily :lol: broke the testing install several times hunting this and the best i could do was fallback into vesa after nvidia removal (remember that my system was going to fbdev automatically)
kinda of better but not much :mrgreen:
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

Tonight I tested the mesa thingy...that wasn't it.
Then I tried to remove the diversions nvidia installed...that wasn't it either.
Now I dread that it's Plymouth: it loads uvesafb (which I'd totally forgotten about) and that might interfere with nouveau.
When I have the time (I have classes this week, and luckily the last ones) I will try without Plymouth:
edit /etc/default/grub, change GRUB_CMDLINE_LINUX_DEFAULT to "quiet splash" and update-grub
and remove /etc/modprobe.d/uvesafb.conf

If I'm right, I have to change the Plymouth implementation, and the Plymouth Manager as well. :cry:
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

I'm sorry to say I was right :evil:
After removing the current plymouth theme configuration and thus preventing uvesab from loading, I could switch drivers with the alpha version of DDM.
However, I got Plymouth working again with this small script:

Code: Select all

#!/bin/bash
# Set plymouth configuration
# http://wiki.debian.org/plymouth

# Modules path
MOD=/etc/initramfs-tools/modules

# Grub path
GRUB=/etc/default/grub

# Manufacturer ID
INTEL=8086
NVIDIA=10de
ATI=1002

# Get the hardware
CARD=`lspci -nn | grep VGA`
CARD=${CARD#*: }

echo "Your card: $CARD"

# Add the appropriate lines to $MOD
echo >> $MOD
echo "# KMS" >> $MOD
if [[ "$CARD" =~ "[$INTEL:" ]]; then
  echo "intel_agp" >> $MOD
fi

echo "drm" >> $MOD

if [[ "$CARD" =~ "[$INTEL:" ]]; then
  echo "i915 modeset=1" >> $MOD
elif [[ "$CARD" =~ "[$NVIDIA:" ]]; then
  echo "nouveau modeset=1" >> $MOD
elif [[ "$CARD" =~ "[$ATI:" ]]; then
  echo "radeon modeset=1" >> $MOD
fi

# Edit grub
sed -i -e '/GRUB_GFXMODE=/ c GRUB_GFXMODE=800x600' $GRUB
sed -i -e '/GRUB_CMDLINE_LINUX_DEFAULT=/ c GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"' $GRUB

# Set theme and update initramfs
plymouth-set-default-theme lmdekde-logo
update-initramfs -u -k all && update-grub
The good news is, I can finish DDM with the switching drivers feature.
The bad news is that I have to change how Debian Plymouth Manager saves its settings.

DDM is my first priority...after I finish my last classes next thursday.
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

Gentlemen,

I think I have a working new DDM!
I tested this with Nvidia, Intel, Broadcom and PAE for both Debian and Ubuntu, but Broadcom on Ubuntu was a bit troublesome.

Needless to say: don't test this on your working machine!

There is one catch on LMDE KDE (LMDE and LMDE Xfce didn't have any issues switching drivers): you need to change the current Plymouth configuration.
To do this, you can run this bash script:

Code: Select all

#!/bin/bash
# Set plymouth configuration
# http://wiki.debian.org/plymouth

# Modules path
MOD=/etc/initramfs-tools/modules

# Grub path
GRUB=/etc/default/grub

# Manufacturer ID
INTEL=8086
NVIDIA=10de
ATI=1002

# Get the hardware
CARD=`lspci -nn | grep VGA`
CARD=${CARD#*: }

echo "Your card: $CARD"

# Add the appropriate lines to $MOD
echo >> $MOD
echo "# KMS" >> $MOD
if [[ "$CARD" =~ "[$INTEL:" ]]; then
  echo "intel_agp" >> $MOD
fi

echo "drm" >> $MOD

if [[ "$CARD" =~ "[$INTEL:" ]]; then
  echo "i915 modeset=1" >> $MOD
elif [[ "$CARD" =~ "[$NVIDIA:" ]]; then
  echo "nouveau modeset=1" >> $MOD
elif [[ "$CARD" =~ "[$ATI:" ]]; then
  echo "radeon modeset=1" >> $MOD
fi

# Edit grub
sed -i -e '/GRUB_CMDLINE_LINUX_DEFAULT=/ c GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"' $GRUB
sed -i -e '/GRUB_GFXMODE=/ c GRUB_GFXMODE=800x600' $GRUB

update-grub

rm -f /etc/modprobe.d/uves*.conf
Once rebooted you can install and test DDM:
http://schoelje.nl/lmdekde/packages/ddm ... a2_all.deb

At least one of the available drivers must be selected. So, having no driver selected at all, is prevented.

If we got this working I need to change the way Plymouth is implemented and I need to change Debian Plymouth Manager for the new Plymouth configuration. But first: get DDM working.
BostonPeng

Re: Device Driver Manager - Help needed

Post by BostonPeng »

I hope it works for y'all. Needless to say since I only have my production laptop I'm going to let folks above my pay grade test it.
bimsebasse

Re: Device Driver Manager - Help needed

Post by bimsebasse »

New version working fine here (detecting fine, at least!). Are you gonna call it Device Driver Manager instead of DDM when it's production ready? The black icon almost disappears in the Mint 14 Cinnamon menu, a subtle light grey border would outline it on dark backgrounds.
Schoelje

Re: Device Driver Manager - Help needed

Post by Schoelje »

bimsebasse wrote:New version working fine here (detecting fine, at least!). Are you gonna call it Device Driver Manager instead of DDM when it's production ready? The black icon almost disappears in the Mint 14 Cinnamon menu, a subtle light grey border would outline it on dark backgrounds.
Ah, I see what you mean. It'll be "Device Driver Manager", but starting from terminal will be "ddm".
I'm not much of a designer, so if you feel like you can improve the icon (or tell me how I can do it in Gimp)...
GeneC

Re: Device Driver Manager - Help needed

Post by GeneC »

Bad news, but good if your looking for bugs... :roll:

Installation went ok (I thought), but its not there)... :?:

Screenshot of re-install of same .deb (ddm_0.5.0_alpha2_all.deb)

Image

Code: Select all

gene@zordon:~$ device-driver-manager -d
device-driver-manager: command not found

Code: Select all

gene@zordon:~$ apt-cache policy device-driver-manager
N: Unable to locate package device-driver-manager
LMDE/XFCE/tracking SID (no Plymouth)

Code: Select all

gene@zordon:~$ inxi -F
System:    Host: zordon Kernel: 3.6.0-10.dmz.1-liquorix-amd64 x86_64 (64 bit) 
           Desktop: Xfce 4.10.0 Distro: LinuxMint 1 debian
Machine:   Mobo: ASUSTeK model: M4A88TD-M/USB3 version: Rev X.0x Bios: American Megatrends version: 1501 date: 08/09/2012
CPU:       Quad core AMD Phenom II X4 955 (-MCP-) cache: 2048 KB flags: (lm nx sse sse2 sse3 sse4a svm) 
           Clock Speeds: 1: 3200.00 MHz 2: 800.00 MHz 3: 3200.00 MHz 4: 800.00 MHz
Graphics:  Card: NVIDIA GF104 [GeForce GTX 460] X.Org: 1.12.4 driver: nvidia Resolution: 1680x1050@60.0hz 
           GLX Renderer: GeForce GTX 460/PCIe/SSE2 GLX Version: 4.3.0 NVIDIA 310.19
Audio:     Card-1: NVIDIA GF104 High Definition Audio Controller driver: snd_hda_intel Sound: ALSA ver: 1.0.25
           Card-2: Creative Labs CA0106 Soundblaster driver: snd_ca0106 
Network:   Card: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver: r8169 
           IF: eth1 state: up speed: 100 Mbps duplex: full mac: 48:5b:39:ee:b9:e7
Drives:    HDD Total Size: 822.1GB (13.0% used) 1: id: /dev/sda model: ST3320613AS size: 320.1GB 
           2: USB id: /dev/sde model: CardReader_SD size: 2.0GB 3: id: /dev/sdf model: HDS721050CLA362 size: 500.1GB 
Partition: ID: / size: 25G used: 5.5G (24%) fs: ext4 ID: swap-1 size: 1.98GB used: 0.00GB (0%) fs: swap 
Sensors:   System Temperatures: cpu: 36.0C mobo: 40.0C gpu: 47C 
           Fan Speeds (in rpm): cpu: 948 sys-1: 1083 
Info:      Processes: 198 Uptime: 26 min Memory: 927.1/5962.6MB Client: Shell inxi: 1.8.20 
Previous versions of DDM installed OK on this install.

==========

EDIT:
Going to re-download and try again.

Same thing.!
Last edited by GeneC on Fri Dec 14, 2012 1:05 pm, edited 1 time in total.
Locked

Return to “Software & Applications”