Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startx and end up black screen with _
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
laipc2005
n00b
n00b


Joined: 20 Oct 2013
Posts: 5

PostPosted: Sun Oct 20, 2013 3:16 am    Post subject: startx and end up black screen with _ Reply with quote

hi, guys! I just want to start X windows on my new gentoo system, but all i get is a black srceen.

my hardware:
Code:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce 610M] (rev a1)


At first i install x11-drivers/nvidia-drivers, but it happend to me a black srceen, and i unmerge it.
Then, i used a open source alternative nouveau, but get the same result.

my /var/log/Xorg.0.log:
http://pastebin.ca/2468845

my /etc/X11/xorg.conf:
Code:
Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib64/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 "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     "SWcursor"              # [<bool>]
        #Option     "HWcursor"              # [<bool>]
        #Option     "NoAccel"               # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "VideoKey"              # <i>
        #Option     "WrappedFB"             # [<bool>]
        #Option     "GLXVBlank"             # [<bool>]
        #Option     "ZaphodHeads"           # <str>
        #Option     "PageFlip"              # [<bool>]
        #Option     "SwapLimit"             # <i>
        #Option     "AsyncUTSDFS"           # [<bool>]
   Identifier  "Card0"
   Driver      "nouveau"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   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



I want to use my nvidia card, but * point to the other:
[ 7400.266] (--) PCI:*(0:0:2:0) 8086:0166:17aa:5001 rev 9, Mem @ 0xcb000000/4194304, 0xb0000000/268435456, I/O @ 0x00007000/64
[ 7400.266] (--) PCI: (0:1:0:0) 10de:1058:17aa:5001 rev 161, Mem @ 0xca000000/16777216, 0xc0000000/134217728, 0xc8000000/33554432, I/O @ 0x00006000/128

by the way, i use twm manager and xterm, xclock.

What is wrong? can anyone help me? thanks.
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Sun Oct 20, 2013 5:33 am    Post subject: Reply with quote

If you want to use the proprietary nvidia-drivers for Xorg, you have to use the Vesa or Uvesa framebuffer directly in the kernel because it's about the only one that those drivers support, unless you are in EFI boot mode, in that case you must use the EFI framebuffer.
If you want to use the Nouveau drivers for Xorg, you have to use the Nouveau framebuffer directly in your kernel with KMS enabled by default. This should work to in EFI mode, but I have'nt test.
_________________
Paul
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sun Oct 20, 2013 9:09 am    Post subject: Reply with quote

Any chance it's a muxless laptop and you didn't install intel drivers ?
Back to top
View user's profile Send private message
laipc2005
n00b
n00b


Joined: 20 Oct 2013
Posts: 5

PostPosted: Sun Oct 20, 2013 3:20 pm    Post subject: Reply with quote

sorry for so late to reply.

to Logicien:
i really want to use nouveau drivers, and i have set nouveau framebuffer directly in my kernel configuration file.

to VoidMage:
yes, it is a muxless laptop, but i found i915 driver installed. is this for intel chip?

And i find some other link below which i think i need to read first:
https://forums.gentoo.org/viewtopic-p-7418878.html
https://forums.gentoo.org/viewtopic-t-959568.html

http://www.tuicool.com/articles/RFfyqi?jdfwkey=b3pgc2


http://www.nvidia.com/object/optimus_technology.html

Any more advice? thanks!
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Oct 21, 2013 11:07 am    Post subject: Reply with quote

Install xf86-video-intel, recheck useflags on libdrm/mesa, pastebin new xorg log.
Though there doesn't seem to be anything wrong with the first log, there were no clients, so server simply quit.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum