/srv/irclogs.ubuntu.com/2014/03/06/#ubuntu-gnome.txt

sgo11hi, I am using 14.04 beta1. The known issue says it does not support nvidia-prime. Will 14.04 work without nvidia-prime support? I tried to sudo apt-get install nvidia-331. it automatically installs nvidia-prime for me, then I can NOT enter my system. what should I do now? Thanks.03:18
=== FJKong_afk is now known as FJKong
darkxstsgo11, nvidia-prime does nothing when using gdm04:08
darkxst(i.e. it can't break your system since it won't be run)04:16
sgo11darkxst, just saw your message. thanks for your reply. then what should I do to use nvidia driver? when I install nvidia driver, it just doesn't work. I don't care of intel graphic card. I failed to find an option to disable it in BIOS. what should I do now? thanks.04:26
darkxsttry and blacklist the intel kernel driver?04:27
sgo11darkxst, I read the gdm bug. somebody says the bug was fixed in nvidia-prime 0.5hybrid version. But I don't find it in the repo.04:28
darkxstsgo11, that was just to stop nvidia-prime from pulling in lightdm04:28
sgo11darkxst, I am not sure if blacklist the intel kernel driver helps or not. I remembered some guy mentions it won't help at all by google. I don't know the concept behind the bug and why I can't launch gdm. I think my case is normal. There are many laptops which have hybrid cards. I have no idea what to do.04:31
darkxstsgo11, try blacklist it and see!04:33
darkxstif it still doesnt work paste some logs04:33
sgo11darkxst, thanks. let me google how to blacklist it first. never do that before.04:34
darkxstedit /etc/modprobe.d/blacklist.conf04:35
darkxstadd a line04:35
darkxst'blacklist modulename'04:35
darkxstthe intel module is i9xx (I dont remember the exact number)04:35
sgo11darkxst, thanks. let me see.04:36
sgo11i91504:36
darkxstyeh that would it04:37
sgo11darkxst, should I install nvidia driver before I reboot?04:38
darkxstyes04:38
darkxstthen if it fails to load, drop to a VT and grab04:39
darkxst/var/log/gdm/\:0.log04:39
darkxstand :0-greeter.log    :0-slave.log04:39
sgo11darkxst, I will reboot this machine now. be back soon. thanks.04:41
sgo11darkxst, it's not working. I see a black screen. let me paste the log somewhere.04:46
sgo11darkxst, http://paste.ubuntu.com/7042406/04:52
sgo11http://paste.ubuntu.com/7042407/04:53
sgo11http://paste.ubuntu.com/7042409/04:53
darkxstintel driver is still loading and NVIDIA is never loading04:56
darkxstyou might need an xorg.conf to tell Xorg to use nvidia driver04:56
darkxstperhaps:04:58
darkxstSection "Device"04:58
darkxst        Identifier      "Configured Video Device"04:58
darkxst        Driver          "nvidia"04:58
darkxstEndSection04:58
darkxstwould be enough04:58
sgo11darkxst, thanks. I will try that and reboot.04:59
sgo11darkxst, the same result. black screen. let me paste the log again. thanks.05:04
sgo11darkxst, http://paste.ubuntu.com/7042437/05:08
darkxstthat is just the same....05:08
sgo11http://paste.ubuntu.com/7042443/05:08
darkxstdo you see the nvidia card in lspci output?05:09
sgo11darkxst, 01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [GeForce 310M] (rev a2)05:09
sgo11the result of "lspci | grep -i nvidia"05:09
darkxstI really don't know then05:12
sgo11I installed nvidia driver by issuing "sudo apt-get install nvidia-331". it works fine with lubuntu 14.04.05:12
* darkxst has never played with optimus hardware05:12
darkxstyou could try install lightdm and see if that works (un-blacklist intel driver)05:13
sgo11darkxst, I was thinking that too. but I forgot the command to set btw lightdm and gdm. let me check my notes.05:14
darkxstdpkg-reconfigure lightdm05:14
darkxstif its installed, otherwise it will just ask you when you install it05:14
sgo11darkxst, thanks. let me try that.05:15
sgo11darkxst, before rebooting. I just realized that i915 is loaded even if I blacklist it.05:20
darkxstsgo11, nvidia prime disables the nvidia card at boot possibly05:20
darkxstsgo11, try sudo service nividia-prime stop05:22
darkxstand then05:22
darkxststartx05:22
darkxst^rmmod i91505:22
darkxstand make sure nvidia mod is loaded05:22
sgo11darkxst, I am just trying lightdm now. lightdm can be loaded. once I enter my password, it takes very long time. It is still hanging there. not enter gnome yet.05:23
sgo11gnome can not be launched by lightdm. weird.05:25
darkxstyeh strange05:25
sgo11I am not a native English speaker. what is that circle thing called? spinning? it's spinning forever in lightdm.05:26
sgo11no need to stop nvidia-prime. "status nvidia-prime" returns "stop/waiting"05:30
darkxstwhat if you try start nvidia-prime?05:31
sgo11darkxst, it can not be started. sudo start nvidia-prime will give process 1891. but once I do ps -ef, the process is not there. status shows it stops/waiting again.05:33
darkxstit must log the reason somewhere05:33
sgo11I am checking.. not sure where logs it.05:34
darkxstmaybe /var/log/upstart05:35
darkxst/var/log/nvidia-prime-upstart.log05:37
sgo11darkxst, that file will be re-generated everytime I run sudo start nvidia-prime. it only has three lines. "Configuring xorg.conf" "Configuring alternatives" "Info: the nvidia profile is already in use"05:39
sgo11I mean /var/log/nvidia-prime-upstart.log05:39
sgo11oh. I have xorg.conf generated by nvida-prime. maybe I can reboot to see if that works in gdm or not.05:40
sgo11it doesn't work. black screen with gdm.05:42
darkxstcan you try running startx05:44
darkxstwith both nvidia-prime stopped and nvidia-prime started05:44
sgo11darkxst, nvidia-prime status will always be stopped. do I simply issue "startx" ? I did that. it is a black screen.05:45
darkxstsgo11, file a bug I guess05:45
sgo11darkxst, should I fire a bug? because that is a known issue in ubuntu gnome 14.04 beta1. from https://wiki.ubuntu.com/TrustyTahr/Beta1/UbuntuGNOME05:46
darkxstI don't believe that is really the issue here05:47
darkxst(although it may be)05:47
darkxstor mimic the prime scripts05:48
darkxst'/usr/bin/prime-select nvidia'05:48
darkxststartx05:48
sgo11darkxst, i tried that. it just returns "the nvidia profile is already in use". startx gives the same result.05:49
darkxstperhaps with 'sudo prime-offload'05:49
darkxstperhaps with 'sudo /sbin/prime-offload'05:49
sgo11can't open display error.05:50
darkxstsudo startx -- sudo /sbin/prime-offload05:52
darkxsterr no middle sudo05:52
sgo11darkxst, ok. if I do this "sudo prime-select intel". and then "reboot". it works with intel card.05:52
sgo11after reboot and enter gnome, I give "sudo prime-select query", it still returns "intel"05:53
darkxstsgo11, so from what I see in the scripts, lightdm loads on the intel card05:53
darkxstonce you login, it runs /sbin/prime-offload (presumably after the X server has started)05:54
sgo11darkxst, yeah, lightdm loads on the intel card. but as what I said, when I use lightdm to enter gnome, it's spinning in the lightdm screen forever.05:54
darkxstyeh, I got that05:54
sgo11darkxst, sorry. mistake. I think I should say lightdm loads on nvidia card. since gdm loads on intel card too.05:55
darkxst# We need to make sure that bbswitch is loaded and05:57
darkxst# that the NVIDIA card is disabled before lightdm05:57
darkxst# starts X if system settings require so.05:57
darkxstthat setting comes from /etc/prime-discrete05:57
sgo11I am a bit confused. what do you suggest me to do now? thanks.05:59
darkxstfile a bug06:03
darkxst`cat /proc/acpi/bbswitch` ?06:05
sgo11darkxst, the result is 0000:01:00.0 OFF06:05
darkxstnvidia kernel modules does load right?06:11
sgo11right now, I am in intel card mode. otherwise, I won't be able to enter gnome. current status: "sudo prime-select query" will give "intel".06:12
darkxstin gnome-shell?06:17
darkxstif so run 'xrandr --listproviders'06:17
sgo11darkxst, yeah, in gnome-shell. if I do "sudo prime-select intel" and then "reboot", everything works just like I haven't installed nvidia driver at all.06:19
darkxst^ that command outputs?06:19
sgo11darkxst, Providers: number : 1 Provider 0: id: 0x47 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 5 associated providers: 0 name:Intel06:20
darkxstI suppose that means the nividia card is not loaded at all06:22
sgo11ok. I think I just fire another bug then. will use intel card with "prime-select intel" for now.06:22
sgo11In which package did you find this bug? what should I write? gdm? or nvidia-prime? or ubuntu-gnome?06:24
darkxstubuntu-bug nvidia-prime06:25
sgo11thanks.06:26
darkxstdoes /etc/X11/xorg.conf have the correct Bus ID for nvidia card?06:28
darkxstprobably "01:00.0"?06:29
sgo11currently, there is no xorg.conf. I deleted it. that is only generated if I run sudo start nvidia-prime.06:32
darkxstoh right, you would need that to load the nvidia driver06:37
darkxstanyway here are the nvidia docs, http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html06:41
darkxstthat is essentially what nvidia-prime scripts are doing06:42
sgo11darkxst, thanks a lot for your time and help. I just fired a bug. I will use intel card for now until it gets fixed. and thanks, I am reading that doc.06:43
darkxstsgo11, always file bugs with 'ubuntu-bug'!06:45
sgo11darkxst, sorry. I never really fired a bug before. let me see what I can do.06:46
darkxstsgo11, run apport-collect06:53
sgo11darkxst, I read your comment. just did that.06:54
darkxstalso attach Xorg log (while using the correct xorg.conf config)06:55
sgo11sorry, I don't follow it. xorg.conf is not present now. should I create it by running "sudo start nvidia-prime" ? and then reboot?06:56
darkxstyeh06:56
darkxstand then grab the log from /var/log/gdm/:0.log06:57
darkxstand attach to bug06:57
sgo11darkxst, ok. I will do that now. with "prime-select intel" status, right? otherwise, I won't be able to boot.06:57
sgo11hm... I think I should give logs with "prime-select nvidia" mode. I just boot machine with this mode and ssh to the laptop to get those log files then.07:02
darkxstyeh nvidia mode is fine07:03
darkxstI suppose to be safe also attach -greeter and -slave as well07:07
sgo11yeah, I will do that.07:07
sgo11done07:13
darkxstsgo11, interesting that X log look correct07:17
sgo11ok. gdm screen is just black.07:18
darkxstgdm-slave failed07:19
darkxstno debug logging though07:19
darkxstcan you enable that /etc/gdm/custom.conf07:20
darkxstand grab :0-slave.log again07:20
sgo11I will do that. I am upgrading to a new kernel though. to see if that will help. will do that after the upgrade.07:21
darkxstthat won't help07:22
sgo11you are right. it doesn't help. nvidia-prime is the same version. :)07:23
sgo11.... I can not crtl+alt+f1 to switch to the first console now.07:24
sgo11ssh-server is still working.07:25
sgo11:0-slave.log re-submitted.07:34
darkxstone last thing to try07:36
darkxstedit /etc/gdm/Init/Default07:36
sgo11ok. I am in that file. where to edit?07:36
darkxstand add a line '/sbin/prime-offload'07:37
sgo11darkxst, to the end?07:38
darkxstat line 807:38
darkxstjust before initctl is called07:38
sgo11darkxst, did that. still black screen.07:41
darkxsttry it in ~/.xinitrc also07:41
darkxstsgo11, it actually looks like it loaded the greeter07:42
sgo11darkxst, will ~/.xinitrc matter? I even don't see login screen. i thought that file will only be loaded after I login.07:43
darkxstyeh true07:44
sgo11darkxst, hi, i saw you changed the bug status to incomplete. what should I do then? I am really new to this. thanks.08:15
=== makije|away is now known as makije
=== makije is now known as makije|away
=== makije|away is now known as makije
B_JayHi guys! I got two small question in regards to Ubuntu GNOME 14.04 Beta 117:49
B_JayProblem 1: My second hard drive, mounted at /media/DataStore shows as being a removable drive while it isn't ... it's connected internally to an SATA port and mounted during fstab. Any way to fix this?17:50
B_JayProblem 2: Is there any way to disable that "pull up to unlock" lock screen when the monitor wakes up again? I feel "Metrocalypsed"17:51
SonikkuAmericaB_Jay: Well, the "pull up to unlock" lock screen is a part of GDM18:20
SonikkuAmericaOh crap, left18:20
SonikkuAmericaquery B_Jay18:21
=== makije is now known as makije|away
bassokudos20:20
bassogood stuffs, even gnome3 ppa works fine20:21
bassoAnd the font rendering is very good20:22
bassofirst time i liked the font rendering stock20:22
Ng4B33-28hello ...I am the new one20:50
=== makije|away is now known as makije
=== makije is now known as makije|away
bassommm22:04

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!