Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-21 Thread Anubhav Yadav
> Did you add yourself to the bumblebee group?
> 
> adduser $USER bumblebee ...as root
> where $USER corresponds to your username. Don't forget to log out and log
> back in for this to take effect.

Yes

> https://wiki.debian.org/Bumblebee#Installation
>

I think I am almost there! Bumblebee service is not getting started,
its getting stopped.
Optirun is running for some apps like nvidia-settings.
But not for glxgears

Here is the output when I try to run optirun -vvv glxgears
[  376.165332] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  376.166004] [WARN]Could not open configuration file:
/etc/bumblebee/bumblebee.conf
[  376.166053] [WARN]Using default configuration
[  376.166431] [DEBUG]optirun version 3.2.1 starting...
[  376.166497] [DEBUG]Active configuration:
[  376.166550] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  376.166578] [DEBUG] X display: :8
[  376.166605] [DEBUG] LD_LIBRARY_PATH:
/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[  376.166653] [DEBUG] Socket path: /var/run/bumblebee.socket
[  376.166696] [DEBUG] Accel/display bridge: auto
[  376.166723] [DEBUG] VGL Compression: proxy
[  376.166753] [DEBUG] VGLrun extra options:
[  376.166784] [DEBUG] Primus LD Path:
/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[  376.166900] [DEBUG]Using auto-detected bridge primus
[  376.168024] [INFO]Response: Yes. X is active.

[  376.168107] [INFO]Running application using primus.
[  376.168409] [DEBUG]Process glxgears started, PID 4340.
Xlib:  extension "GLX" missing on display ":8".
[  376.213949] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  376.214006] [DEBUG]Socket closed.
[  376.214036] [DEBUG]Killing all remaining processes.

Wonder why is this warning coming: Could not open configuration file:
/etc/bumblebee/bumblebee.conf

Also Xlib:  extension "GLX" missing on display ":8".

But nevertheless optirun is running finally. (Pheww)

Also lsmod | grep video shows nvidia in its output. Whereas previously
it wasn't.

i2c_core   23876  7
i2c_algo_bit,i2c_i801,drm,drm_kms_helper,videodev,i915,nvidia

> There's all sorts of hints on that page. Good luck! :) Ric

Yes I started with this page itself. Thanks for your help anyways. I
just want someone to confirm that I have solved my problem!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+jf9aeufx9vsdrfbek27mnvcnht8e2fqtvrfp9a28uyed0...@mail.gmail.com



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-20 Thread Anubhav Yadav
I found something interesting

grep nvidia /var/log/Xorg.8.log

[  4576.924] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[  4576.925] (++) ModulePath set to "/usr/lib/nvidia,/usr/lib/xorg/modules"
[  4576.928] (II) Loading /usr/lib/nvidia/libglx.so
[  4577.050] (II) LoadModule: "nvidia"
[  4577.050] (II) Loading /usr/lib/nvidia/nvidia/nvidia_drv.so
[  4577.121] (II) Module nvidia: vendor="NVIDIA Corporation"
[  4577.844] (II) NVIDIA(0): "nvidia-auto-select"
[  4577.847] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[  4577.881] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia

Does it means that the nvidia driver is being loaded successfully?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CA+Jf9AFC_EF7heOwkZcY-qAd4FPSYCe4U=avv-jdaimsjcs...@mail.gmail.com



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-20 Thread Anubhav Yadav
> You should remove i915. You should have searched the Internet yourself.
>
> I used https://startpage.com/ with the search terms
>
>  i915 wiki en
>
> and e.g. found https://wiki.debian.org/KernelModesetting
>

I also found this http://forums.debian.net/viewtopic.php?f=16&t=110314
It means that I have got two problems.
1) The nvidia driver not working
2) The bumblebee module is not working.

Or the two are related to each other.

I feel that I should remove all the packages including the linux
headers and the nvidia driver and then
restarting the process again.

-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+jf9afefmvuz5je2dcq88oprdysnn5dyoahy_x_4pzpect...@mail.gmail.com



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-20 Thread Ralf Mardorf
On Thu, 2014-02-20 at 21:28 +0530, Anubhav Yadav wrote:
> I am not able to find out which driver I need to modprobe? I posted
> the output of lsmod before. If you can help me there? 

On Mon, 2014-02-17 at 23:10 +1300, Chris Bannister wrote:
On Mon, Feb 17, 2014 at 02:39:11PM +0530, Anubhav Yadav wrote:
> > > root@tal:~# lsmod | grep video
> > >
> > 
> > Output:
> > 
> > uvcvideo   57744  0
> > videodev   70889  1 uvcvideo
> > v4l2_compat_ioctl3216655  1 videodev
> > media  18148  2 videodev,uvcvideo
> > i2c_core   23876  6
> > i2c_algo_bit,i2c_i801,videodev,drm_kms_helper,drm,i915
> > video  17683  1 i915
> 
> OK, thats the driver for the Intel graphics chip.

You should remove i915. You should have searched the Internet yourself.

I used https://startpage.com/ with the search terms

 i915 wiki en

and e.g. found https://wiki.debian.org/KernelModesetting

If I wouldn't have had success I would have searched for any of the
other listed modules too. Instead of removing it, you might want to
blacklist the module.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1392916480.682.101.camel@archlinux



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-20 Thread Anubhav Yadav
> Stop X, modprobe -r the unwanted driver, modprobe nvidia, start X?

I am not able to find out which driver I need to modprobe? I posted the
output of lsmod before. If you can help me there?


Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-20 Thread Ralf Mardorf
On Thu, 2014-02-20 at 12:04 +0530, Anubhav Yadav wrote:
> I am a little new in all these so can you please tell me how can I use
> modprobe in this situation?

Stop X, modprobe -r the unwanted driver, modprobe nvidia, start X?
For startup perhaps update-modules, restart?

I would have to do Internet research too. I don't know.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1392897730.682.37.camel@archlinux



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-19 Thread Anubhav Yadav
>> What happens if you remove the module for the integrated graphics and
>> load the nvidia module at startup?

Here is the output of my lsmod
Module  Size  Used by
nls_utf8   12456  1
nls_cp437  16553  1
vfat   17316  1
fat45642  1 vfat
8021q  19291  0
garp   13193  1 8021q
stp12437  1 garp
ipt_MASQUERADE 12594  1
iptable_nat12928  1
nf_nat 18242  2 iptable_nat,ipt_MASQUERADE
nf_conntrack_ipv4  14078  3 nf_nat,iptable_nat
nf_defrag_ipv4 12483  1 nf_conntrack_ipv4
nf_conntrack   52720  4
nf_conntrack_ipv4,nf_nat,iptable_nat,ipt_MASQUERADE
ip_tables  22042  1 iptable_nat
x_tables   19118  3 ip_tables,iptable_nat,ipt_MASQUERADE
rndis_wlan 31357  0
rndis_host 12691  1 rndis_wlan
cdc_ether  12598  1 rndis_host
usbnet 18027  3 cdc_ether,rndis_host,rndis_wlan
parport_pc 22364  0
ppdev  12763  0
lp 17149  0
parport31858  3 lp,ppdev,parport_pc
bnep   17567  2
rfcomm 33700  0
bbswitch   12866  0
uinput 17440  1
nfsd  216170  2
nfs   308313  0
nfs_acl12511  2 nfs,nfsd
auth_rpcgss37143  2 nfs,nfsd
fscache36739  1 nfs
lockd  67306  2 nfs,nfsd
sunrpc173730  6 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
loop   22641  0
snd_hda_codec_hdmi 30824  1
snd_hda_codec_realtek   188858  1
joydev 17266  0
snd_hda_intel  26259  1
snd_hda_codec  78031  3
snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
snd_hwdep  13186  1 snd_hda_codec
uvcvideo   57744  0
snd_pcm68083  3 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
snd_page_alloc 13003  2 snd_pcm,snd_hda_intel
coretemp   12898  0
snd_seq45126  0
arc4   12458  2
snd_seq_device 13176  1 snd_seq
crc32c_intel   12747  0
ghash_clmulni_intel13173  0
i915  378445  2
videodev   70889  1 uvcvideo
ath9k  64619  0
ath9k_common   12728  1 ath9k
ath9k_hw  322112  2 ath9k_common,ath9k
v4l2_compat_ioctl3216655  1 videodev
drm_kms_helper 31370  1 i915
media  18148  2 videodev,uvcvideo
ath21370  3 ath9k_hw,ath9k_common,ath9k
mac80211  192806  1 ath9k
cfg80211  137243  4 rndis_wlan,mac80211,ath,ath9k
snd_timer  22917  2 snd_seq,snd_pcm
aesni_intel50667  3
cdc_acm17900  0
drm   183952  3 drm_kms_helper,i915
asus_nb_wmi12436  0
ath3k  12671  0
btusb  17502  0
bluetooth 119455  12 btusb,ath3k,rfcomm,bnep
asus_wmi   18726  1 asus_nb_wmi
i2c_algo_bit   12841  1 i915
ac 12624  0
battery13146  0
psmouse69265  0
rts5139   199528  0
sparse_keymap  12760  1 asus_wmi
serio_raw  12931  0
acpi_cpufreq   12935  1
mperf  12453  1 acpi_cpufreq
aes_x86_64 16843  1 aesni_intel
evdev  17562  21
snd52889  11
snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
i2c_i801   16870  0
iTCO_wdt   17081  0
rfkill 19012  6 asus_wmi,bluetooth,cfg80211
pcspkr 12579  0
power_supply   13475  2 battery,ac
aes_generic33026  2 aes_x86_64,aesni_intel
video  17683  1 i915
processor  28157  1 acpi_cpufreq
button 12937  1 i915
iTCO_vendor_support12704  1 iTCO_wdt
mxm_wmi12515  0
i2c_core   23876  6
i2c_i801,i2c_algo_bit,drm,drm_kms_helper,videodev,i915
cryptd 14517  2 aesni_intel,ghash_clmulni_intel
wmi13243  2 mxm_wmi,asus_wmi
soundcore  13065  1 snd
ext4  350763  5
crc16  12343  2 ext4,bluetooth
jbd2   62115  1 ext4
mbcache13114  1 ext4
usb_storage43870  1
dm_mod 63645  18
sg 25874  0
sr_mod 21899  0
sd_mod 36136  4
cdrom  35401  1 sr_mod
crc_t10dif 12348  1 sd_mod
thermal17383  0
thermal_sys18040  3 thermal,processor,video
xhci_hcd   73434  0
ahci   24997  1
libahci22941  1 ahci
libata140630  2 libahci,ahci
ehci_hcd   40215  0
r8169

Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-18 Thread Ralf Mardorf
On Tue, 2014-02-18 at 09:51 +0100, Ralf Mardorf wrote and
"The last update" of the archive "was on 10:00 GMT Tue Feb 18." -
https://lists.debian.org/debian-user/2014/02/mail2.html :
> On Tue, 2014-02-18 at 11:18 +0530, Anubhav Yadav wrote:
> > But Asus bios doesn't seem to have a setting to disable bios.
> 
> I suspect it's just a typo, anyway, you should disable the integrated
> graphics, not the BIOS.
>  
> It might be that your machine automatically does turn of the integrated
> graphics, if there is a graphics connected to a slot, however, the BIOS
> at least should inform about the used graphics, e.g. settings for the
> frame buffer might be shadowed, IOW not accessible when a graphics is
> inserted.
>  
> What happens if you remove the module for the integrated graphics and
> load the nvidia module at startup?
>  
> Regards,
> Ralf
>  
> PS: Try not to forget to always remove people from the "To" and "Cc"
> field. It's common only to send to the mailing lists.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1392718259.685.24.camel@archlinux



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Anubhav Yadav
> First thing I did, when I built a new Desktop machine, and inserted my
> nVidia card in, was to disable the onboard GPU in the bios setup. That keeps
> it all nice and clean, with regards to video detection. No need to have two
> dissimilar GPU's contending for display rights. You just wind up with a mess
> you now have.
>
> Note: I have since installed a second identical nVidia card and now have
> four displays without a hitch. Ric

Hi,
But Asus bios doesn't seem to have a setting to disable bios.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+jf9aeh-d7lwoynjgzkdxmvd3esxd5pnyrf_ydpioe7p12...@mail.gmail.com



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Lisi Reisz
On Monday 17 February 2014 13:34:36 Anubhav Yadav wrote:
> > Anubhav Yadav, please reply to the list only, don't Cc.
>
> I am using gmail and it has two options, reply and reply to all.
> If I hit reply your name is there as the sender, if I hit reply to
> all then debian user list is there in cc and your name in senders
> list. I will now manually delete the cc column and just add debian
> user list as the sender.

Yes, that is what you have to do.  Gmail also breaks threads in a most 
annoying way.  (My address is Gmail, but I download my emails via 
POP3 to avoid problems like these.)

Lisi


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201402171621.35538.lisi.re...@gmail.com



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Anubhav Yadav
> And besides the command:
>
> bumblebeed service restart
>
> Do not restart the program.

[ 4558.021580] [ERROR]Daemon already running, pid 2798
Neither it would stop.

This was my output
>
> If you find a solution, please share with the list.

We will find a solution.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CA+Jf9AEUSxRcFTn9SxtJpMK=a_qdbp+ujj7fgoq9vkosm7k...@mail.gmail.com



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Markos

On 17-02-2014 05:44, Anubhav Yadav wrote:

Hello list,
I have a laptop with gt 630M 2GB graphics card. I installed the linux
headers and the drivers using this command:

aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
nvidia-kernel-dkms

[I referred this wiki : https://wiki.debian.org/NvidiaGraphicsDrivers ]

I also created the Xorg.conf file as mentioned in the wiki. But when I
rebooted my system Xorg failed to start. So i figured that I am having
a GPU with optimus support and I do not need the Xorg.conf file but
instead I need the bumblebee package.

So I installed the bumblebee package.

Everything seem to work now except this:

Under system->Nvidia server settings when I open It i get a message:
You do not appear to be using the NVIDIA X driver.  Please edit your X
configuration file (just run `nvidia-xconfig` as root), and restart
the X server.

But there was already a post in bumblebee wiki which said:

"Warning: If you choose to install bumblebee-nvidia and the dependent
nvidia driver packages, during postinst, you will see a debconf prompt
warning you that you need to create a xorg.conf file in order to use
the proprietary nvidia driver. This prompt only applies to non-Optimus
users, i.e. single Nvidia GPU systems. Do NOT allow debconf to create
a xorg.conf file, and do NOT run nvidia-xconfig! (This prompt always
appears when you install nvidia packages through the repositories, and
it currently does not detect Optimus/bumblebee users. See 735049 for a
brief explanation.) "

So I am pretty sure that I do not need to run that nvidia-xconfig command.

But I just want to make sure that I am running the nvidia driver
successfully. How can I do that?




   


You're not alone.

I have the same problem.

I have a new laptop with the "GeForce GT 750M" video card.

And yesterday I made several attempts to install the Nvidia driver, 
using packages from backports and the proprietary installer from Nvidia, 
it did not work.


The NVIDA-setting application always indicated he was not running the 
nvidia driver.


And besides the command:

bumblebeed service restart

Do not restart the program.

If you find a solution, please share with the list.

Greetings
Markos


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/530206e2.7030...@c2o.pro.br



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Anubhav Yadav
> Anubhav Yadav, please reply to the list only, don't Cc.

I am using gmail and it has two options, reply and reply to all.
If I hit reply your name is there as the sender, if I hit reply to all
then debian user list is there in cc and your name in senders list.
I will now manually delete the cc column and just add debian
user list as the sender.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CA+Jf9AHL=1vawax1lra_j3lpzuqdqtfk0v_rb5srahosua5...@mail.gmail.com



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Anubhav Yadav
> OK, thats the driver for the Intel graphics chip.
> So you have an embedded Intel graphics in the motherboard *and* a
> plugged in NVIDIA Corporation GF108 card?

Yes!
But the docs wont help.
-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CA+Jf9AG3RT7bFn6bxW2=J3WBe+w4J4=bpmc7iopt+t99ugv...@mail.gmail.com



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Chris Bannister
On Mon, Feb 17, 2014 at 11:55:30AM +0100, Ralf Mardorf wrote:
> > For Arch there isn't an entry "video" and running it as quasi chroot,
> > the Arch X anyway will be the used X, so I can't see the Debian's output
> > yet. Perhaps it's different for Debian and there are always "video"
> > entries.

Then perhaps it is a bit risky using Arch Linux to troubleshoot Debian
problems.

> Resp. if IIUC, when doing a systemd-nspawn -D, the Arch's kernel and
> it's modules are used. IOW searching for "video" might not work for all
> distros.

Right, just as well that this is the debian-user list then. :D

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140217111433.GA3483@tal



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Ralf Mardorf
Anubhav Yadav, please reply to the list only, don't Cc.

Many mails I sent to the list didn't came through, anybody expiring the
same issue?

 A reply to Chris that didn't came through the list 
From: Ralf Mardorf
To: debian-user@lists.debian.org
Subject: Re: Need to make sure I have the nvidia proprietary driver
running.
Date: Mon, 17 Feb 2014 11:45:20 +0100
Mailer: Evolution 3.10.4 

On Mon, 2014-02-17 at 11:35 +0100, Ralf Mardorf wrote a message that
also didn't came through the list:
> On Mon, 2014-02-17 at 22:50 +1300, Chris Bannister wrote:
> > On Mon, Feb 17, 2014 at 10:13:21AM +0100, Ralf Mardorf wrote:
> > > On Mon, 2014-02-17 at 22:01 +1300, Chris Bannister wrote:
> > > > root@tal:~# lsmod | grep video
> > > 
> > > I would search directly for the driver name ...
> > 
> > And if it's not listed? Then you are probably going to have to do a
> > lsmod anyway to see what is listed. I think my way solves the problem in
> > one hit. IOW, don't search for what you *think* should be there, but
> > search for what actually *is* there.
> 
> For Arch there isn't an entry "video" and running it as quasi chroot,
> the Arch X anyway will be the used X, so I can't see the Debian's output
> yet. Perhaps it's different for Debian and there are always "video"
> entries.

Resp. if IIUC, when doing a systemd-nspawn -D, the Arch's kernel and
it's modules are used. IOW searching for "video" might not work for all
distros.

> [rocketmouse@archlinux ~]$ llmount -w debi386
> [sudo] password for rocketmouse: 
> [rocketmouse@archlinux ~]$ systemd-nspawn -D /mnt/debi386
> Need to be root.
> [rocketmouse@archlinux ~]$ sudo systemd-nspawn -D /mnt/debi386
> Spawning namespace container on /mnt/debi386 (console is /dev/pts/1).
> Init process in the container running as PID 9381.
> root@debi386:~# lsmod | grep video
> root@debi386:~# logout
> Container failed with error code 1.
> [rocketmouse@archlinux ~]$ llmount -u debi386
> [rocketmouse@archlinux ~]$ lsmod | grep video
> [rocketmouse@archlinux ~]$ lsmod | grep radeon
> radeon   1285899  2 
> i2c_algo_bit5399  1 radeon
> drm_kms_helper 36254  1 radeon
> ttm63475  1 radeon
> drm   238206  4 ttm,drm_kms_helper,radeon
> i2c_core   24632  5 
> drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon
> [rocketmouse@archlinux ~]$


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1392634530.32452.110.camel@archlinux



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Chris Bannister
On Mon, Feb 17, 2014 at 02:39:11PM +0530, Anubhav Yadav wrote:
> > Right, which one?
> > root@tal:~# apt-cache search bumblebee
> > bumblebee-nvidia - NVIDIA Optimus support using the proprietary NVIDIA
> 
> Yes, this one.
> 
> > root@tal:~# lsmod | grep video
> >
> 
> Output:
> 
> uvcvideo   57744  0
> videodev   70889  1 uvcvideo
> v4l2_compat_ioctl3216655  1 videodev
> media  18148  2 videodev,uvcvideo
> i2c_core   23876  6
> i2c_algo_bit,i2c_i801,videodev,drm_kms_helper,drm,i915
> video  17683  1 i915

OK, thats the driver for the Intel graphics chip.


> root@Innovator:/home/neo1691# lspci -k | grep -C 3 VGA
[...]
> 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation
> Core Processor Family Integrated Graphics Controller (rev 09)
> Subsystem: ASUSTeK Computer Inc. Device 212e
> Kernel driver in use: i915

Yep, see.

> 01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce
> GT 630M] (rev ff)

OK, it is being seen but not being used.

So you have an embedded Intel graphics in the motherboard *and* a
plugged in NVIDIA Corporation GF108 card?

A search on Google about disabling the onboard graphics brings up some
useful hits. Do the bumblebee docs help here?

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140217101002.GB1658@tal



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Anubhav Yadav
> And if it's not listed? Then you are probably going to have to do a
> lsmod anyway to see what is listed. I think my way solves the problem in
> one hit. IOW, don't search for what you *think* should be there, but
> search for what actually *is* there.

What is the conclusion in my case? Is nvidia driver is running or not?
-- 
Regards,
Anubhav Yadav
Imperial College of Engineering and Research,
Pune.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CA+Jf9AEdF1rs72cgwg9zJtuhQG7i+RTqiDM9+QCVLmp4N=e...@mail.gmail.com



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Chris Bannister
On Mon, Feb 17, 2014 at 10:13:21AM +0100, Ralf Mardorf wrote:
> On Mon, 2014-02-17 at 22:01 +1300, Chris Bannister wrote:
> > root@tal:~# lsmod | grep video
> 
> I would search directly for the driver name ...

And if it's not listed? Then you are probably going to have to do a
lsmod anyway to see what is listed. I think my way solves the problem in
one hit. IOW, don't search for what you *think* should be there, but
search for what actually *is* there. 

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140217095002.GA1658@tal



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Anubhav Yadav
> Perhaps also useful to check
>
> $ less /var/log/Xorg.0.log
>
> even if there are no EE (errors).

I could find anything even close to nvidia.

Here is the complete output:
http://paste.debian.net/82488/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CA+Jf9AGWWbsv_2ZeVwm+Yrw=pYpNSiV-Q_Hr3qF9xoK=yzu...@mail.gmail.com



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Ralf Mardorf
On Mon, 2014-02-17 at 10:17 +0100, Ralf Mardorf wrote another mail that
didn't come through the list:
> > $ grep nvidia /var/log/dmesg
> 
> A typo, it should be
> 
> $ sudo grep nvidia /var/log/dmesg

Perhaps also useful to check

$ less /var/log/Xorg.0.log

even if there are no EE (errors).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1392629052.32452.94.camel@archlinux



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Anubhav Yadav
> $ lsmod | grep nvidia
> if there's no output, you aren't using the nvidia driver.
> Run
> $ grep nvidia /var/log/dmesg

No output

> $ grep EE /var/log/Xorg.0.log
Only output here is

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[19.290] (II) Loading extension MIT-SCREEN-SAVER


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+jf9ah-qyokt+6m_xol3kfckgjyxft3nfnjjqwdg2x8k9x...@mail.gmail.com



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Ralf Mardorf
On Mon, 2014-02-17 at 22:01 +1300, Chris Bannister wrote:
> root@tal:~# lsmod | grep video

I would search directly for the driver name, but even if the module
should be loaded, I would search the kernel ring buffer log and the X
log files for error messages.

I wonder why many of my messages don't come through the list.

 Forwarded Message 
From: Ralf Mardorf
To: debian-user@lists.debian.org
Subject: Re: Need to make sure I have the nvidia proprietary driver running.
Date: Mon, 17 Feb 2014 10:00:42 +0100
Mailer: Evolution 3.10.4 

On Mon, 2014-02-17 at 14:14 +0530, Anubhav Yadav wrote:
> But I just want to make sure that I am running the nvidia driver
> successfully. How can I do that?

Run

$ lsmod | grep nvidia

if there's no output, you aren't using the nvidia driver.

Run

$ grep nvidia /var/log/dmesg

and

$ grep EE /var/log/Xorg.0.log

to search for errors.

[rocketmouse@archlinux ~]$ lsmod | grep nvidia
[rocketmouse@archlinux ~]$ lsmod | grep radeon
radeon   1285899  2 
i2c_algo_bit5399  1 radeon
drm_kms_helper 36254  1 radeon
ttm63475  1 radeon
drm   238206  4 ttm,drm_kms_helper,radeon
i2c_core   24632  5 drm,i2c_piix4,drm_kms_helper,i2c_algo_bit,radeon
[rocketmouse@archlinux debi386]$ sudo grep radeon var/log/dmesg
[7.356174] [drm] radeon kernel modesetting enabled.
[7.360306] radeon :01:05.0: VRAM: 256M 0xC000 - 
0xCFFF (256M used)
[7.360314] radeon :01:05.0: GTT: 512M 0xA000 - 
0xBFFF
[7.360463] radeon :01:05.0: irq 43 for MSI/MSI-X
[7.360490] radeon :01:05.0: radeon: using MSI.
[7.360721] [drm] radeon: irq initialized.
[7.361746] [drm] radeon: 256M of VRAM memory ready
[7.361753] [drm] radeon: 512M of GTT memory ready.
[7.384640] [drm] radeon: 1 quad pipes, 1 z pipes initialized.
[7.401406] radeon :01:05.0: WB enabled
[7.401417] radeon :01:05.0: fence driver on ring 0 use gpu addr 
0xa000 and cpu addr 0xf3c55000
[7.430665] [drm] radeon: ring at 0xA0001000
[7.777968] radeon :01:05.0: VGA-1: EDID block 0 invalid.
[7.884142] fbcon: radeondrmfb (fb0) is primary device
[7.930673] radeon :01:05.0: fb0: radeondrmfb frame buffer device
[7.930680] radeon :01:05.0: registered panic notifier
[7.930702] [drm] Initialized radeon 2.29.0 20080528 for :01:05.0 on 
minor 0
[rocketmouse@archlinux debi386]$ grep EE /var/log/Xorg.0.log
[28.270] Current Operating System: Linux archlinux 3.12.9-2-ARCH #1 SMP 
PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[29.593] Initializing built-in extension MIT-SCREEN-SAVER


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1392628401.32452.90.camel@archlinux



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Anubhav Yadav
> Right, which one?
> root@tal:~# apt-cache search bumblebee
> bumblebee-nvidia - NVIDIA Optimus support using the proprietary NVIDIA

Yes, this one.

> root@tal:~# lsmod | grep video
>

Output:

uvcvideo   57744  0
videodev   70889  1 uvcvideo
v4l2_compat_ioctl3216655  1 videodev
media  18148  2 videodev,uvcvideo
i2c_core   23876  6
i2c_algo_bit,i2c_i801,videodev,drm_kms_helper,drm,i915
video  17683  1 i915
thermal_sys18040  3 thermal,processor,video
usbcore   128741  7 ehci_hcd,xhci_hcd,rts5139,uvcvideo,btusb,ath3k

> lspci -k | grep -C 3 VGA

uvcvideo   57744  0
videodev   70889  1 uvcvideo
v4l2_compat_ioctl3216655  1 videodev
media  18148  2 videodev,uvcvideo
i2c_core   23876  6
i2c_algo_bit,i2c_i801,videodev,drm_kms_helper,drm,i915
video  17683  1 i915
thermal_sys18040  3 thermal,processor,video
usbcore   128741  7 ehci_hcd,xhci_hcd,rts5139,uvcvideo,btusb,ath3k
root@Innovator:/home/neo1691# lspci -k | grep -C 3 VGA
Kernel driver in use: agpgart-intel
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core
Processor Family PCI Express Root Port (rev 09)
Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation
Core Processor Family Integrated Graphics Controller (rev 09)
Subsystem: ASUSTeK Computer Inc. Device 212e
Kernel driver in use: i915
00:16.0 Communication controller: Intel Corporation 6 Series/C200
Series Chipset Family MEI Controller #1 (rev 04)
--
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family
SMBus Controller (rev 05)
Subsystem: ASUSTeK Computer Inc. Device 1277
01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce
GT 630M] (rev ff)
03:00.0 Network controller: Atheros Communications Inc. AR9285
Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: AzureWave AW-NB037H 802.11bgn Wireless Half-size Mini
PCIe Card [AR9002WB-1NGCD]
Kernel driver in use: ath9k

This line seems interesting:

01:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce
GT 630M] (rev ff)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/ca+jf9aebw-r3+do_3mw+vp-es4yh_iaqoaac7g1bjlcor_m...@mail.gmail.com



Re: Need to make sure I have the nvidia proprietary driver running.

2014-02-17 Thread Chris Bannister
On Mon, Feb 17, 2014 at 02:14:59PM +0530, Anubhav Yadav wrote:
> I also created the Xorg.conf file as mentioned in the wiki. But when I
> rebooted my system Xorg failed to start. So i figured that I am having
> a GPU with optimus support and I do not need the Xorg.conf file but
> instead I need the bumblebee package.
> 
> So I installed the bumblebee package.

Right, which one?
root@tal:~# apt-cache search bumblebee
bumblebee-nvidia - NVIDIA Optimus support using the proprietary NVIDIA
driver
bumblebee - NVIDIA Optimus support for Linux

Note: I know nothing nor had any involvement with bumblebee

> But I just want to make sure that I am running the nvidia driver
> successfully. How can I do that?

Perhaps:
root@tal:~# lsmod | grep video

and/or

lspci -k | grep -C 3 VGA


-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140217090155.GA1140@tal