You are not logged in.
Pages: 1
Hi guys, new user here, been running Arch for a couple months now, after moving from Ubuntu, to Elementary, to Fedora. I love Arch!! Anyway, I tried to install the latest Nvidia drivers from there website, which errored out, because I did not have the kernel headers, dl'd the headers, and it errored out because the headers were for a newer kernel (forgot to run pacman -Syu before I started this), updated my kernel, and everything came to a screeching halt. Ended up with a kernel panic, no useable init, etc. hacked my way through that, got my system back up (turned out to be the bug where lib64 gets changed from a symlink to an actual location) but now I have no GUI. I work mostly from cli anyway, but a gui is nice for photo editing, web design, and watching movies lol. I endeavouored to remove everything from Nvidia, I have removed and reinstalled Xorg, X11, xorg-server, lxde (my dm) and everything else I can think of, but when I try to run Xorg :0 -configure, it errors out with "number of screens detected does not match number of devices found". I tried using the .conf that it created anyway, but it get an error "about no display or something (not on my machine atm). If I delete the xorg conf from ~/, I can get X to load, it comes up with three terminal windows, and I have played around with that with limited success, but I can not get LXDE to load. At this point, I am open to suggestions, but my thought from here is to purge all X related confs, files, and programs, and reinstall the entire GUI. Is there anyway to do that? I know pacman will not remove files created by programs, so is there some other way to nuke them? (ALL of them) If I have to reinstall the OS, it's not the end of the world, but I would prefer an alternate solution, if one exists.
Last edited by rassawyer (2015-10-18 17:38:22)
Offline
Oh, graphics is an ancient Nvidia GeForce 320m, host machine is a mid 2010 macbook, Intel Core 2 Duo, 2.4 ghz, if that is relevant. Current kernel is 3.19. This is a triple boot setup, OSX (which I despise, is there only for firmware updates) Kali, and Arch. It will eventually be a quad-boot, once I get Win 8 working on this beast. (Never want to own another mac/apple product again!!)
Edit: I have lynx working on the machine, so I can post logs from it, if someone knows of a log that will help diagnose/fix this. TIA
Last edited by rassawyer (2015-03-26 16:46:11)
Offline
contents of /var/log/Xorg.0.log and output of dmesg are probably needed for starters output of
lspci -vmay also not be a bad idea, and why are you installing nvidia drivers from the website? the proper way is from the arch repos using pacman and we have a wiki page for that https://wiki.archlinux.org/index.php/NVIDIA#Installing but post the relevant logs before going into that
Offline
Thank you for your reply!! Logs attached.
Xorg.0.log - Pastebin
lspci -v - Pastebin
dmesg - Pastbin
As far as why I used the version from the Nvidia website, they were a newer version than the ones in the repos, and the ones in the repos did not resolve the issue that I was trying to address, that of Minecraft freezing my the display. I was hoping that the newer version from their website might fix that. Had I realized that it was going to be recompiling the kernel to implement them, I never would have tried.
Offline
I didn't understand which version you've installed.
Give us the output of
pacman -Qs nvidiaLast edited by alex.theoto (2015-03-27 18:28:30)
Offline
As far as why I used the version from the Nvidia website, they were a newer version than the ones in the repos, and the ones in the repos did not resolve the issue that I was trying to address.
Highly doubtful, this is Arch Linux. And as expected 340.76 as available in the repos is the latest available for your GPU (anything newer than 340xx was discontinued for GT300).
As for nuking this mess off in a somewhat responsible way. The Kernel does load your driver and wants to use it but xorg doesn't go anywhere really, these lines jump to mind
[ 1598.764] (++) Using config file: "/root/xorg.conf.new"
[ 1598.764] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 1598.764] (==) Using system config directory "/usr/share/X11/xorg.conf.d"And usually there should only be a system config directory. Why are you running Xorg :0 configure exactly? This is 2015 we don't have to create manual X confs anymore especially not if you don't intend to use it as a baseline for something bigger. Therefore get rid of whatever that root config file is and all contents of /etc/X11/xorg.conf.d and make sure that the /usr/share/X11/xorg.conf.d only contains these 3 files
10-evdev.conf 10-quirks.conf nvidia-drm-outputclass.confassuming the contents haven't been modified, if they have you can find them in the wiki or by reinstalling xorg.
As for correctly installing your drivers, you should install the nvidia340xx group of packages.
Last edited by V1del (2015-03-27 18:40:56)
Offline
OK, will give that a run after work this evening. I stand corrected, I did not realize that hte repo version was the same, for some reason I was thinking that it was 340.4x or something. Not to self, do better research. As far as the Xorg :0 -configure, I deleted all of the xorg.conf i could find. (~/xorg.conf, /etc/X11/xorg.conf.d [actually delted the entire /etc/X11 directory] /usr/share/X11/xorg.conf [once again, rm -rfv'd the entire X11 directory) so I was hoping to start with a blank slate, and use the -configure command to give me something to work with. At this point, I want to use the nouveua drivers, as by and large they seemed more reliable than nvidias (I had the repo version on before this whole mess, which may have contributed to getting me into this mess.) In that case, do I still need the nvidia-drm-outputclass.conf? (I don't remember ever seeing that file, even when I first setup this system.) The other two I should be able to locate pretty easily. (Tried to keep backups of stuff as I deleted it, or like you said, the wiki has most stuff that I've needed so far.) Oh, and yeah, the root config file is the result of the -configure command. I knew it was there, but it didn't seem to make a difference, which I chalked up to the configure erroring out.
so, at this point, I want to remove the /root/xorg.conf.new, remove the contents of /etc/X11/xorg.conf.d (preserving the directory itself?) and remove anything other than
10-evdev.conf 10-quirks.conf nvidia-drm-outputclass.conf, and consider checking the wiki for "virgin" versions of those three. Do I have that correct?
and, lest I forget, I am deeply grateful for your kind advice!! (not used to being on this side of a problem, I am deeply familiar with android, and over on XDA forums, I have helped many people through smartphone issues, kinda humbling to have to ask for help.)
Offline
Yeah you got the general directions from that correct.
No if you intend to switch to nouveau you are not going to have the nvidia-drm outputclass file anymore, but then you have to make sure to get rid of the nvidia drivers properly. Do you have any nvidia drivers from the repos installed currently (run the command alex posted, and what would probably also help is
pacman -Qs mesaIf not you'll have to hunt down any remaining nvidia files, the best way (assuming nvidias installer installs into the same locations) would be trying to cross reference the file listing from the nvidia340xx, -utils, -libgl packages and deleting stuff that's definitely attributable to the binary drivers (and there probably is a nouveau blacklist conf in your etc/modprobe.d directory which you will also have to remove, otherwise nouveau doesn't load), and after that reinstalling relevant mesa-packages.
Last edited by V1del (2015-03-28 12:04:03)
Offline
Yeah you got the general directions from that correct.
No if you intend to switch to nouveau you are not going to have the nvidia-drm outputclass file anymore, but then you have to make sure to get rid of the nvidia drivers properly. Do you have any nvidia drivers from the repos installed currently (run the command alex posted, and what would probably also help is
pacman -Qs mesaIf not you'll have to hunt down any remaining nvidia files, the best way (assuming nvidias installer installs into the same locations) would be trying to cross reference the file listing from the nvidia340xx, -utils, -libgl packages and deleting stuff that's definitely attributable to the binary drivers (and there probably is a nouveau blacklist conf in your etc/modprobe.d directory which you will also have to remove, otherwise nouveau doesn't load), and after that reinstalling relevant mesa-packages.
Hey guys, sorry for the delay, life is crazy around here... Got my system back with these tips, had to remove ALL nvidea crap (obviously) reinstall all nouveau drivers for my graphics card, then reconfigure LXDE and OpenBox. That took me a bit to figure out, but wasn't too bad. System is pretty much back to normal, except for a few (possibly) related audio issues. (I removed a bunch of programs through this whole mess, trying to resolve this on my own before I asked for help) Thanks again so much for your advice tips, ect, guys!!
Offline
Pages: 1