sgo11 | hi, 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 | ||
darkxst | sgo11, nvidia-prime does nothing when using gdm | 04:08 |
darkxst | (i.e. it can't break your system since it won't be run) | 04:16 |
sgo11 | darkxst, 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 |
darkxst | try and blacklist the intel kernel driver? | 04:27 |
sgo11 | darkxst, 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 |
darkxst | sgo11, that was just to stop nvidia-prime from pulling in lightdm | 04:28 |
sgo11 | darkxst, 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 |
darkxst | sgo11, try blacklist it and see! | 04:33 |
darkxst | if it still doesnt work paste some logs | 04:33 |
sgo11 | darkxst, thanks. let me google how to blacklist it first. never do that before. | 04:34 |
darkxst | edit /etc/modprobe.d/blacklist.conf | 04:35 |
darkxst | add a line | 04:35 |
darkxst | 'blacklist modulename' | 04:35 |
darkxst | the intel module is i9xx (I dont remember the exact number) | 04:35 |
sgo11 | darkxst, thanks. let me see. | 04:36 |
sgo11 | i915 | 04:36 |
darkxst | yeh that would it | 04:37 |
sgo11 | darkxst, should I install nvidia driver before I reboot? | 04:38 |
darkxst | yes | 04:38 |
darkxst | then if it fails to load, drop to a VT and grab | 04:39 |
darkxst | /var/log/gdm/\:0.log | 04:39 |
darkxst | and :0-greeter.log :0-slave.log | 04:39 |
sgo11 | darkxst, I will reboot this machine now. be back soon. thanks. | 04:41 |
sgo11 | darkxst, it's not working. I see a black screen. let me paste the log somewhere. | 04:46 |
sgo11 | darkxst, http://paste.ubuntu.com/7042406/ | 04:52 |
sgo11 | http://paste.ubuntu.com/7042407/ | 04:53 |
sgo11 | http://paste.ubuntu.com/7042409/ | 04:53 |
darkxst | intel driver is still loading and NVIDIA is never loading | 04:56 |
darkxst | you might need an xorg.conf to tell Xorg to use nvidia driver | 04:56 |
darkxst | perhaps: | 04:58 |
darkxst | Section "Device" | 04:58 |
darkxst | Identifier "Configured Video Device" | 04:58 |
darkxst | Driver "nvidia" | 04:58 |
darkxst | EndSection | 04:58 |
darkxst | would be enough | 04:58 |
sgo11 | darkxst, thanks. I will try that and reboot. | 04:59 |
sgo11 | darkxst, the same result. black screen. let me paste the log again. thanks. | 05:04 |
sgo11 | darkxst, http://paste.ubuntu.com/7042437/ | 05:08 |
darkxst | that is just the same.... | 05:08 |
sgo11 | http://paste.ubuntu.com/7042443/ | 05:08 |
darkxst | do you see the nvidia card in lspci output? | 05:09 |
sgo11 | darkxst, 01:00.0 VGA compatible controller: NVIDIA Corporation GT218M [GeForce 310M] (rev a2) | 05:09 |
sgo11 | the result of "lspci | grep -i nvidia" | 05:09 |
darkxst | I really don't know then | 05:12 |
sgo11 | I 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 hardware | 05:12 | |
darkxst | you could try install lightdm and see if that works (un-blacklist intel driver) | 05:13 |
sgo11 | darkxst, I was thinking that too. but I forgot the command to set btw lightdm and gdm. let me check my notes. | 05:14 |
darkxst | dpkg-reconfigure lightdm | 05:14 |
darkxst | if its installed, otherwise it will just ask you when you install it | 05:14 |
sgo11 | darkxst, thanks. let me try that. | 05:15 |
sgo11 | darkxst, before rebooting. I just realized that i915 is loaded even if I blacklist it. | 05:20 |
darkxst | sgo11, nvidia prime disables the nvidia card at boot possibly | 05:20 |
darkxst | sgo11, try sudo service nividia-prime stop | 05:22 |
darkxst | and then | 05:22 |
darkxst | startx | 05:22 |
darkxst | ^rmmod i915 | 05:22 |
darkxst | and make sure nvidia mod is loaded | 05:22 |
sgo11 | darkxst, 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 |
sgo11 | gnome can not be launched by lightdm. weird. | 05:25 |
darkxst | yeh strange | 05:25 |
sgo11 | I am not a native English speaker. what is that circle thing called? spinning? it's spinning forever in lightdm. | 05:26 |
sgo11 | no need to stop nvidia-prime. "status nvidia-prime" returns "stop/waiting" | 05:30 |
darkxst | what if you try start nvidia-prime? | 05:31 |
sgo11 | darkxst, 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 |
darkxst | it must log the reason somewhere | 05:33 |
sgo11 | I am checking.. not sure where logs it. | 05:34 |
darkxst | maybe /var/log/upstart | 05:35 |
darkxst | /var/log/nvidia-prime-upstart.log | 05:37 |
sgo11 | darkxst, 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 |
sgo11 | I mean /var/log/nvidia-prime-upstart.log | 05:39 |
sgo11 | oh. I have xorg.conf generated by nvida-prime. maybe I can reboot to see if that works in gdm or not. | 05:40 |
sgo11 | it doesn't work. black screen with gdm. | 05:42 |
darkxst | can you try running startx | 05:44 |
darkxst | with both nvidia-prime stopped and nvidia-prime started | 05:44 |
sgo11 | darkxst, nvidia-prime status will always be stopped. do I simply issue "startx" ? I did that. it is a black screen. | 05:45 |
darkxst | sgo11, file a bug I guess | 05:45 |
sgo11 | darkxst, should I fire a bug? because that is a known issue in ubuntu gnome 14.04 beta1. from https://wiki.ubuntu.com/TrustyTahr/Beta1/UbuntuGNOME | 05:46 |
darkxst | I don't believe that is really the issue here | 05:47 |
darkxst | (although it may be) | 05:47 |
darkxst | or mimic the prime scripts | 05:48 |
darkxst | '/usr/bin/prime-select nvidia' | 05:48 |
darkxst | startx | 05:48 |
sgo11 | darkxst, i tried that. it just returns "the nvidia profile is already in use". startx gives the same result. | 05:49 |
darkxst | perhaps with 'sudo prime-offload' | 05:49 |
darkxst | perhaps with 'sudo /sbin/prime-offload' | 05:49 |
sgo11 | can't open display error. | 05:50 |
darkxst | sudo startx -- sudo /sbin/prime-offload | 05:52 |
darkxst | err no middle sudo | 05:52 |
sgo11 | darkxst, ok. if I do this "sudo prime-select intel". and then "reboot". it works with intel card. | 05:52 |
sgo11 | after reboot and enter gnome, I give "sudo prime-select query", it still returns "intel" | 05:53 |
darkxst | sgo11, so from what I see in the scripts, lightdm loads on the intel card | 05:53 |
darkxst | once you login, it runs /sbin/prime-offload (presumably after the X server has started) | 05:54 |
sgo11 | darkxst, 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 |
darkxst | yeh, I got that | 05:54 |
sgo11 | darkxst, 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 and | 05:57 |
darkxst | # that the NVIDIA card is disabled before lightdm | 05:57 |
darkxst | # starts X if system settings require so. | 05:57 |
darkxst | that setting comes from /etc/prime-discrete | 05:57 |
sgo11 | I am a bit confused. what do you suggest me to do now? thanks. | 05:59 |
darkxst | file a bug | 06:03 |
darkxst | `cat /proc/acpi/bbswitch` ? | 06:05 |
sgo11 | darkxst, the result is 0000:01:00.0 OFF | 06:05 |
darkxst | nvidia kernel modules does load right? | 06:11 |
sgo11 | right 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 |
darkxst | in gnome-shell? | 06:17 |
darkxst | if so run 'xrandr --listproviders' | 06:17 |
sgo11 | darkxst, 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 |
sgo11 | darkxst, Providers: number : 1 Provider 0: id: 0x47 cap: 0x9, Source Output, Sink Offload crtcs: 3 outputs: 5 associated providers: 0 name:Intel | 06:20 |
darkxst | I suppose that means the nividia card is not loaded at all | 06:22 |
sgo11 | ok. I think I just fire another bug then. will use intel card with "prime-select intel" for now. | 06:22 |
sgo11 | In which package did you find this bug? what should I write? gdm? or nvidia-prime? or ubuntu-gnome? | 06:24 |
darkxst | ubuntu-bug nvidia-prime | 06:25 |
sgo11 | thanks. | 06:26 |
darkxst | does /etc/X11/xorg.conf have the correct Bus ID for nvidia card? | 06:28 |
darkxst | probably "01:00.0"? | 06:29 |
sgo11 | currently, there is no xorg.conf. I deleted it. that is only generated if I run sudo start nvidia-prime. | 06:32 |
darkxst | oh right, you would need that to load the nvidia driver | 06:37 |
darkxst | anyway here are the nvidia docs, http://us.download.nvidia.com/XFree86/Linux-x86/319.12/README/randr14.html | 06:41 |
darkxst | that is essentially what nvidia-prime scripts are doing | 06:42 |
sgo11 | darkxst, 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 |
darkxst | sgo11, always file bugs with 'ubuntu-bug'! | 06:45 |
sgo11 | darkxst, sorry. I never really fired a bug before. let me see what I can do. | 06:46 |
darkxst | sgo11, run apport-collect | 06:53 |
sgo11 | darkxst, I read your comment. just did that. | 06:54 |
darkxst | also attach Xorg log (while using the correct xorg.conf config) | 06:55 |
sgo11 | sorry, 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 |
darkxst | yeh | 06:56 |
darkxst | and then grab the log from /var/log/gdm/:0.log | 06:57 |
darkxst | and attach to bug | 06:57 |
sgo11 | darkxst, ok. I will do that now. with "prime-select intel" status, right? otherwise, I won't be able to boot. | 06:57 |
sgo11 | hm... 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 |
darkxst | yeh nvidia mode is fine | 07:03 |
darkxst | I suppose to be safe also attach -greeter and -slave as well | 07:07 |
sgo11 | yeah, I will do that. | 07:07 |
sgo11 | done | 07:13 |
darkxst | sgo11, interesting that X log look correct | 07:17 |
sgo11 | ok. gdm screen is just black. | 07:18 |
darkxst | gdm-slave failed | 07:19 |
darkxst | no debug logging though | 07:19 |
darkxst | can you enable that /etc/gdm/custom.conf | 07:20 |
darkxst | and grab :0-slave.log again | 07:20 |
sgo11 | I 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 |
darkxst | that won't help | 07:22 |
sgo11 | you 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 |
sgo11 | ssh-server is still working. | 07:25 |
sgo11 | :0-slave.log re-submitted. | 07:34 |
darkxst | one last thing to try | 07:36 |
darkxst | edit /etc/gdm/Init/Default | 07:36 |
sgo11 | ok. I am in that file. where to edit? | 07:36 |
darkxst | and add a line '/sbin/prime-offload' | 07:37 |
sgo11 | darkxst, to the end? | 07:38 |
darkxst | at line 8 | 07:38 |
darkxst | just before initctl is called | 07:38 |
sgo11 | darkxst, did that. still black screen. | 07:41 |
darkxst | try it in ~/.xinitrc also | 07:41 |
darkxst | sgo11, it actually looks like it loaded the greeter | 07:42 |
sgo11 | darkxst, will ~/.xinitrc matter? I even don't see login screen. i thought that file will only be loaded after I login. | 07:43 |
darkxst | yeh true | 07:44 |
sgo11 | darkxst, 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_Jay | Hi guys! I got two small question in regards to Ubuntu GNOME 14.04 Beta 1 | 17:49 |
B_Jay | Problem 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_Jay | Problem 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 |
SonikkuAmerica | B_Jay: Well, the "pull up to unlock" lock screen is a part of GDM | 18:20 |
SonikkuAmerica | Oh crap, left | 18:20 |
SonikkuAmerica | query B_Jay | 18:21 |
=== makije is now known as makije|away | ||
basso | kudos | 20:20 |
basso | good stuffs, even gnome3 ppa works fine | 20:21 |
basso | And the font rendering is very good | 20:22 |
basso | first time i liked the font rendering stock | 20:22 |
Ng4B33-28 | hello ...I am the new one | 20:50 |
=== makije|away is now known as makije | ||
=== makije is now known as makije|away | ||
basso | mmm | 22:04 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!