On 29/06/2015, Bret Busby <bret.bu...@gmail.com> wrote: > On 29/06/2015, Sven Arvidsson <s...@whiz.se> wrote: >> On Mon, 2015-06-29 at 01:13 +0800, Bret Busby wrote: >>> On 29/06/2015, Bret Busby <bret.bu...@gmail.com> wrote: >>> > -- >>> >>> Stupid computers that do everything but what they are supposed to do >>> (like sending messages when a user is trying to enter a message, and >>> putting text everywher except where it is supposed to go)! What I had >>> been trying to enter, to post, is this; >>> >>> How do I find (what command do I use to find) what hardware drivers >>> are installed , and how do I find what drivers are in use, for >>> particular classes of hardware - in this instance, graphical devices? >> >> lsmod will list the kernel modules loaded. But I'm not sure if that is >> what you're lookin for? >> >> You can also use lspci with the -v flag to see hardware and kernel >> driver. >> > > On my Acer 5750G, which has an Intel Sandy Bridge graphics controller > and an nvidia GECorce GT520M graphics devive, I get the following; > > " > root@bret-apc01-debian6:~# lspci -vnn | grep VGA > 00:02.0 VGA compatible controller [0300]: Intel Corporation Sandy > Bridge Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 > [VGA controller]) > 01:00.0 VGA compatible controller [0300]: nVidia Corporation Device > [10de:0df7] (rev a1) (prog-if 00 [VGA controller]) > root@bret-apc01-debian6:~# > " > > IAnd, in running lspci -vnn, I get > > " > 00:02.0 VGA compatible controller [0300]: Intel Corporation Sandy > Bridge Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 > [VGA controller]) > Subsystem: Acer Incorporated [ALI] Device [1025:0504] > Flags: bus master, fast devsel, latency 0, IRQ 10 > Memory at d1400000 (64-bit, non-prefetchable) [size=4M] > Memory at c0000000 (64-bit, prefetchable) [size=256M] > I/O ports at 3000 [size=64] > Expansion ROM at <unassigned> [disabled] > Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit- > Capabilities: [d0] Power Management version 2 > Capabilities: [a4] PCI Advanced Features > " > > and > > " > 01:00.0 VGA compatible controller [0300]: nVidia Corporation Device > [10de:0df7] (rev a1) (prog-if 00 [VGA controller]) > Subsystem: Acer Incorporated [ALI] Device [1025:0505] > Flags: fast devsel, IRQ 16 > Memory at d0000000 (32-bit, non-prefetchable) [size=16M] > Memory at a0000000 (64-bit, prefetchable) [size=256M] > Memory at b0000000 (64-bit, prefetchable) [size=32M] > I/O ports at 2000 [size=128] > Expansion ROM at d1000000 [disabled] [size=512K] > Capabilities: [60] Power Management version 3 > Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+ > Capabilities: [78] Express Endpoint, MSI 00 > Capabilities: [b4] Vendor Specific Information: Len=14 <?> > Capabilities: [100] Virtual Channel > Capabilities: [128] Power Budgeting <?> > Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 > <?> > " > > But this apparently does not indicate which graphics devices are being > operated, and which driver(s) is/are being applied. > > running lsmod, gives > > " > root@bret-apc01-debian6:~# lsmod > Module Size Used by > acpi_cpufreq 5539 1 > cpufreq_conservative 5162 0 > cpufreq_stats 2740 0 > cpufreq_powersave 902 0 > cpufreq_userspace 1960 0 > parport_pc 18855 0 > ppdev 5030 0 > lp 7462 0 > parport 27954 3 parport_pc,ppdev,lp > sco 7225 2 > bridge 39582 0 > stp 1440 1 bridge > bnep 9395 2 > rfcomm 29589 0 > l2cap 24800 6 bnep,rfcomm > crc16 1319 1 l2cap > bluetooth 41779 6 sco,bnep,rfcomm,l2cap > i915 257174 0 > binfmt_misc 6415 1 > uinput 6376 1 > fuse 50844 1 > loop 11767 0 > snd_hda_codec_realtek 239567 1 > snd_hda_intel 19827 3 > uvcvideo 52127 0 > snd_hda_codec 54308 2 snd_hda_codec_realtek,snd_hda_intel > snd_hwdep 5380 1 snd_hda_codec > videodev 30009 1 uvcvideo > snd_pcm 60487 2 snd_hda_intel,snd_hda_codec > snd_seq 42785 0 > snd_timer 15598 2 snd_pcm,snd_seq > snd_seq_device 4493 1 snd_seq > nouveau 352920 0 > v4l1_compat 11442 2 uvcvideo,videodev > ttm 39986 1 nouveau > drm_kms_helper 20337 2 i915,nouveau > v4l2_compat_ioctl32 8474 1 videodev > psmouse 49953 0 > snd 46878 14 > snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device > drm 142928 4 i915,nouveau,ttm,drm_kms_helper > soundcore 4598 1 snd > video 17445 1 i915 > snd_page_alloc 6201 2 snd_hda_intel,snd_pcm > output 1692 1 video > i2c_algo_bit 4209 2 i915,nouveau > i2c_i801 7830 0 > rfkill 12996 3 bluetooth > pcspkr 1699 0 > serio_raw 3752 0 > evdev 7352 23 > i2c_core 15803 7 > i915,videodev,nouveau,drm_kms_helper,drm,i2c_algo_bit,i2c_i801 > wmi 4323 0 > battery 4998 0 > button 4650 2 i915,nouveau > processor 29919 5 acpi_cpufreq > ac 2192 0 > ext3 106502 5 > jbd 37325 1 ext3 > mbcache 5050 1 ext3 > sg 24053 0 > sd_mod 29889 7 > sr_mod 12602 0 > cdrom 29351 1 sr_mod > crc_t10dif 1276 1 sd_mod > usbhid 33196 0 > hid 63941 1 usbhid > ahci 32918 6 > tg3 104270 0 > libata 133632 1 ahci > sdhci_pci 5581 0 > xhci 33881 0 > sdhci 13950 1 sdhci_pci > ehci_hcd 31921 0 > usbcore 123175 5 uvcvideo,usbhid,xhci,ehci_hcd > libphy 14022 1 tg3 > nls_base 6567 1 usbcore > mmc_core 45414 1 sdhci > led_class 2433 1 sdhci > thermal 11674 0 > scsi_mod 126693 4 sg,sd_mod,sr_mod,libata > thermal_sys 11942 3 video,processor,thermal > root@bret-apc01-debian6:~# > " > >> Also, lsusb for USB devices. >> >> For graphics there are at least three different drivers, a kernel >> module, a driver for X11 and driver for OpenGL. >> >> Finding the X11 driver is probably easiest by looking through the Xorg >> log, for the OpenGL driver you can use glxinfo. >> > > I have attached a copy of theXorg log file. > >> -- >> Cheers, >> Sven Arvidsson >> http://www.whiz.se >> PGP Key ID 6FAB5CD5 >> >> >> > > nvidia-smi returns > > " > root@bret-apc01-debian6:~# nvidia-smi > -su: nvidia-smi: command not found > root@bret-apc01-debian6:~# > " > > Am I correct, in assuming from this information, that the operating > system detects and ignores the nvidia graphics device, and that the > only graphics device that is being operated, is the Intel Sandy Bridge > graphics controller? >
I note that Synaptic, in doing a search on xserver, shows, among the list of various packages apparently installed (as I can not copy the list, as a block copy, a command line command to so list the packages, would be useful, eg "apt-get list-intalled | grep xserver"), are the following two packages; " X.Org X server -- NV display driver This driver for the X.Org X server (see xserver-xorg for a further description) provides support for NVIDIA Riva, TNT, GeForce, and Quadro cards. Note that this is not the same as the binary-only 'nvidia' driver, which adds 3D support, but is binary-only and not supported. More information about X.Org can be found at: <URL:http://www.X.org> This package is built from the X.org xf86-video-nv driver module. " and " X.Org X server -- Nouveau display driver (experimental) This driver for the X.Org X server (see xserver-xorg for a further description) provides support for NVIDIA Riva, TNT, GeForce, and Quadro cards. Although the nouveau project aims to provide full 3D support it is not yet complete, and these packages do not include any 3D support. Users requiring 3D support should use the non-free "nvidia" driver. This package is built from the FreeDesktop.org xf86-video-nouveau driver. " >From the information that I posted in my last previous message, I assume that these packages, like other xserver packages that are apparently installed but irrelevant, are not being used? -- Bret Busby Armadale West Australia .............. "So once you do know what the question actually is, you'll know what the answer means." - Deep Thought, Chapter 28 of Book 1 of "The Hitchhiker's Guide to the Galaxy: A Trilogy In Four Parts", written by Douglas Adams, published by Pan Books, 1992 .................................................... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CACX6j8NU9=pzju1zqlam7z0ejg4wrqt1tmk9wxatteheq97...@mail.gmail.com