You are not logged in.
Just letting people know i'm reinstalling windows so i can get the errors logs from my laptop. i want to get this thread up to let you guys know everything i've done in 1 week, while giving you a prelude on what i only want...
There are only 3 things i want my machine to do:
have vim with c++ compiler [this went very well!]
having lxde as a desktop environment if i ever need to surf the web [which, as title says, big issue]
use virtualbox for installing windows 8 just in case i ever need to use windows-only applications [only got here once... and when reboot xorg issue.] {example would be silverlight}
(My overall plan is to have a lightweight linux machine with a lightweight desktop environment to do these things above.)
Resources that i've used:
Google
This Forums
https://wiki.archlinux.org/index.php/beginners'_guide
https://wiki.archlinux.org/index.php/Nvidia
https://wiki.archlinux.org/index.php/Xorg
https://wiki.archlinux.org/index.php/Nouveau
https://wiki.archlinux.org/index.php/Bumblebee
https://wiki.archlinux.org/index.php/NVIDIA_Optimus <-----big key, my laptop has this and i think this is the total reason
https://wiki.archlinux.org/index.php/LXDE
[and more... i'll have to look up my iPad history]
+-----------------------------------------------------------------------+
Now as for my problem, whenever i would use startx [whether my ~/.xinitrc was "exec startlxde" or "exec xterm" or some xrandr thing i followed on Nvidia Optimus wiki] xorg would tell me "No Screen Found." when i went into the log file (in summary, will update with an edit) it said something like "have configuration but none usable" [may be way off.] i've tried all different ways to get it to work [spent 1 whole entire week trying to learn the distro... i enjoy the command line tools [excluding xorg installation lol] but setting up xorg with NVIDIA Optimus carp is...alot for me]. but anyways i've tried so many things. Bumblebee page, Nvidia page, nouveau page with the aid of lxde page, xorg page and still got nowhere... with google i even tried finding outside source (youtube, some blog lol) and still nothing... this forums (especially those that were solved) nothing... i don't know what to do
Now please, don't think im here to say "do it for me" i don't mind reading (i did lots of reading, and redoing arch linux to the point that i know how to install it without using beginners guide) and i don't mind giving you any error logs. i just need help
im planning to put up the xorg error log (i forgot the name...lol), my ~/.xinitrc, my etc/X11/xorg.conf. if there are any other logs you want me to put up, please let me know
as stated, all i want is help.
+-----------------------------------------------------------------------+
Edit 1 (yeah!)
~/.xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec startlxde (forgot the directory again)/Xorg.0.log
[ 271.548]
X.Org X Server 1.16.0
Release Date: 2014-07-16
[ 271.548] X Protocol Version 11, Revision 0
[ 271.548] Build Operating System: Linux 3.15.5-2-ARCH x86_64
[ 271.548] Current Operating System: Linux Dynames 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64
[ 271.548] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=62af7981-a900-472e-bfd6-7846256b11f5 rw quiet
[ 271.548] Build Date: 31 July 2014 11:53:19AM
[ 271.548]
[ 271.548] Current version of pixman: 0.32.6
[ 271.548] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 271.548] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 271.548] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 1 23:31:25 2014
[ 271.548] (==) Using config file: "/etc/X11/xorg.conf"
[ 271.548] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 271.548] (==) ServerLayout "X.org Configured"
[ 271.548] (**) |-->Screen "Screen0" (0)
[ 271.548] (**) | |-->Monitor "Monitor0"
[ 271.549] (**) | |-->Device "Card0"
[ 271.549] (**) |-->Screen "Screen1" (1)
[ 271.549] (**) | |-->Monitor "Monitor1"
[ 271.549] (**) | |-->Device "Card1"
[ 271.549] (**) |-->Input Device "Mouse0"
[ 271.549] (**) |-->Input Device "Keyboard0"
[ 271.549] (==) Automatically adding devices
[ 271.549] (==) Automatically enabling devices
[ 271.549] (==) Automatically adding GPU devices
[ 271.549] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 271.549] Entry deleted from font path.
[ 271.549] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 271.549] Entry deleted from font path.
[ 271.549] (**) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/,
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 271.549] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 271.549] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 271.549] (WW) Disabling Mouse0
[ 271.549] (WW) Disabling Keyboard0
[ 271.549] (II) Loader magic: 0x818d80
[ 271.549] (II) Module ABI versions:
[ 271.549] X.Org ANSI C Emulation: 0.4
[ 271.549] X.Org Video Driver: 18.0
[ 271.549] X.Org XInput driver : 21.0
[ 271.549] X.Org Server Extension : 8.0
[ 271.550] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 271.550] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 271.550] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 8 paused 0
[ 271.550] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 271.551] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 9 paused 0
[ 271.551] (--) PCI:*(0:0:2:0) 8086:0416:1462:10e8 rev 6, Mem @ 0xf7400000/4194304, 0xb0000000/268435456, I/O @ 0x0000f000/64
[ 271.552] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 271.552] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 271.552] (II) LoadModule: "glx"
[ 271.552] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 271.552] (II) Module glx: vendor="X.Org Foundation"
[ 271.552] compiled for 1.16.0, module version = 1.0.0
[ 271.552] ABI class: X.Org Server Extension, version 8.0
[ 271.552] (==) AIGLX enabled
[ 271.552] (II) LoadModule: "nvidia"
[ 271.552] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 271.553] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 271.553] compiled for 4.0.2, module version = 1.0.0
[ 271.553] Module class: X.Org Video Driver
[ 271.553] (II) NVIDIA dlloader X Driver 340.32 Tue Aug 5 20:13:04 PDT 2014
[ 271.553] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 271.553] (++) using VT number 1
[ 271.553] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 271.553] (EE) No devices detected.
[ 271.553] (EE)
Fatal server error:
[ 271.553] (EE) no screens found(EE)
[ 271.553] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 271.553] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 271.553] (EE) /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 340.32 (buildmeister@swio-display-x64-rhel04-01) Tue Aug 5 21:15:33 PDT 2014
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "Backlight" # <str>
#Option "DRI" # <str>
#Option "Present" # [<bool>]
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "VSync" # [<bool>]
#Option "PageFlip" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "ReprobeOutputs" # [<bool>]
#Option "DeleteUnusedDP12Displays" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "VirtualHeads" # <i>
#Option "TearFree" # [<bool>]
#Option "PerCrtcPixmaps" # [<bool>]
#Option "FallbackDebug" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "BufferCache" # [<bool>]
Identifier "Card0"
Driver "nvidia"
BusID "PCI:0:2:0"
EndSection
Section "Device"
Identifier "Card1"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSectionAs for laptop specs... lemme go back and do lspci (i'll give you atleast something to look at): http://www.msi.com/product/nb/GT60-2OC. … cification
Edit 2: (I want a Beefy Miracle.... darn it Fedora)
alrighty. lscpi >> /mnt/sda5
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GK106M [GeForce GTX 770M] (rev ff)
01:00.1 Audio device: NVIDIA Corporation GK106 HDMI Audio Controller (rev ff)
03:00.0 Ethernet controller: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller (rev 13)
04:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)Edit 3: (whats a Tahr?)
Well... dunno what to do here... i was able to open up lxde happily. but there's a huuuuuge issue. my computer keeps crashing... Imma state what i've done
(...installed base system.)
(as root) useradd -m -G wheel tiny
(as root) passwd tiny (not saying my password lol)
(as root) visudo (eleminated # to allow wheels to use su / sudo)
(as root) su tiny
sudo ip link set wlp4s0 up
sudo reboot
sudo wifi-menu (configured the wifi)
sudo pacman -S vim
sudo pacman -S intel-dri xf86-video-intel libxrandr libxinerama libxcursor libxtst
sudo pacman -S xorg-server xorg-server-utils xorg-xinit xorg-apps
sudo pacman -S lxde gamin
sudo reboot
sudo Xorg -configure <----almost crashed my computer
sudo cp /root/xorg.conf.new /etc/X11/xorg.conf
sudo cp /etc/skel/.xinitrc ~/.xinitrc
vim ~/.xinitrc (added line: exec startlxde)
sudo reboot
sudo startx <------started lxde happily... but it keeps crashingIm a bit hesitant on installing nouveau because i would think i'd get the no screens error again... should i?
Edit 4: (no unicorns
)
Alright, im marking this as solved. i used the intel wiki page did this: https://wiki.archlinux.org/index.php/In … tel_driver
Went into my xorg.conf (sudo cim /etc/X11/xorg.conf)
Uncommented under "Section 'Device'" NoAccel and DRI
I added "True" after NoAccel" and "False" after "DRI".
and now i have everything set up under intel chipset (but instead of using startx, i had to use lxdm)
A bandaid for now. i am able to use lxde and im happy. once i play more with arch linux i'll retry getting the discrete Nvidia driver working.
Thanks alot everyone! ![]()
Last edited by tiny0125 (2014-09-03 18:49:42)
Offline
Information about your hardware would help. The logs are also essential.
Offline
Alrighty, I edit my first post to have the information.
~/.xinitrc
/var/[someplace]/Xorg.0.log
/etc/X11/xorg.conf
lscpi
Edit: I probably should mention that these configuration was from my very last attempt (using google)
I found a blog that explained, step by step, how this guy was able to install lxde on arch Linux with his NVidia optimus laptop...and that didn't go well for me at all....
Last edited by tiny0125 (2014-09-02 04:10:22)
Offline
Although you probably have read a lot, the answer may lie in what you have read. See this.
And I bet you didn't install driver for intel card.
Offline
when doing the bumblebee installation, I had to install the intel drivers (pacman -S intel-dri xf86-video-intel bumblebee nvidia)
and the worst part: I did these combinations...
Nvidia
Nvidia + intel
Nouveau
Nouveau + intel
(one thing I am going to test right now, is if intel by itself works... i'll give an update.)
Offline
Welcome to the forums tiny. May I suggest that you add a bit to the title. I saw the title and it seemed like something I'd likely be able to help with - but only after some reading did I realize this is a hybrid graphics issue with which I have zero experience. If this is Optimus, adding that to the title would attract the attention of those with the relevant experience.
But on another note - you mention keeping a Windows VM for some things. You may be suprised by how many of those things can be done without windows. Wine-silverlight is pretty good. Pipelight is phenomenal (Netflix works perfectly). I've found that trying to get everything working on linux-only machine has provided wonderful learning opportunities.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks Trilby ^^ and I added in brackets "[Nvidia Optimus]" to the title
And I have heavy interest now that you mentioned certain windows application works with wine (I have tried wine before on Ubuntu, but gotten confused when doing Silverlight since I couldn't get it to work.)
once I am able to get into my desktop environment, I will definitely give wine a chance again ^^
[as for intel driver only, same thing... no screens found]
Offline
When you tried with the only the intel driver did you remove /etc/X11/xorg.conf first?
If not could you retry with any one of the drivers intel / nvidia / nouveau and post Xorg.0.log
Last edited by loqs (2014-09-02 17:19:38)
Offline
@loqs i redid the configuration (sudo Xorg -configure , sudo cp ~/xorg.conf.new /etc/X11/xorg.conf)
what i didn't do was reboot
when i did that and did startx, i went into a black screen (so i think it found the screen.... now its a matter of black screen). imma see what the wiki says about it and see what i can do about it
Offline
Just updated my 1st post (and will rehash here)
A huge issue occurred now that i was able to start up lxde... it starts to crash D:
i've posted exactly what i've done to enable it....any idea's on what i should do? im hesitant to install nouveau drivers...
Edit: ok, i just remembered there's a wiki, imma look there first
Last edited by tiny0125 (2014-09-02 23:09:58)
Offline
I found my solution using https://wiki.archlinux.org/index.php/In … tel_driver
Just uncommented "NoAccel" and "DRI" and adding its values that the wiki provided (i went a little bit more in depth in my first post)
Also, instead of startx i had to use "sudo lxdm"
Thanks Alot! ![]()
Offline