Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg, Slim, dwm - blank screen
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
k0OA1
n00b
n00b


Joined: 15 Jul 2014
Posts: 13

PostPosted: Fri Jul 18, 2014 8:50 pm    Post subject: Xorg, Slim, dwm - blank screen Reply with quote

Hi ,

Thank you for reading !!

I use Slim display manager and dwm window manager with the Nvidia proprietary drivers (for performance).

I'm new to Gentoo (this is my second install attempt). I've followed instructions and Gentoo boots ok, Xorg is installed ok, latest graphics drivers installed, display and window managers installed.


The problem is:

When I run startx, or set slim to load at boot (which probably calls startx), the screen goes blank immediately (like a hardware change of monitor). Slim is configured to exec dwm on login (but I cannot see Slim because of a blank screen before it would otherwise load).

I get the exact same issue with my current OS - Debian - except Debian exits the blank screen and then shows me Slim. For the same reason, (with Debian) I am unable to use a logout function or switch tty shell without a blank screen.



Is there any known fix for this, or anything I could provide or do to fix this problem ??



Thank you,


Alexander


:D
Back to top
View user's profile Send private message
k0OA1
n00b
n00b


Joined: 15 Jul 2014
Posts: 13

PostPosted: Fri Jul 18, 2014 9:30 pm    Post subject: Reply with quote

Edit:

The Gentoo Xorg log shows:

Code:


[    44.054] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    44.054] (==) NVIDIA(0):     will be used as the requested mode.
[    44.054] (==) NVIDIA(0):
[    44.054] (II) NVIDIA(0): Validated MetaModes:
[    44.054] (II) NVIDIA(0):     "DFP-4.1:nvidia-auto-select"
[    44.054] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[    52.045] (EE) NVIDIA(GPU-0): Failed to tear down EVO channel
[    52.046] (--) NVIDIA(0): DPI set to (92, 91); computed from "UseEdidDpi" X config
[    52.046] (--) NVIDIA(0):     option
[    52.046] (--) Depth 24 pixmap format is 32 bpp
[    52.046] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[    52.046] (II) NVIDIA:     access.
[    52.051] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    52.051] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    52.051] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    52.051] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    52.051] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    52.051] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    52.051] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    52.051] (II) NVIDIA(0):     Config Options in the README.
[    56.052] (EE) NVIDIA(GPU-0): EVO Push buffer channel allocation failed
[    56.053] (EE) NVIDIA(GPU-0): Failed to allocate EVO core DMA push buffer
[    56.054] (EE)
Fatal server error:
[    56.054] (EE) AddScreen/ScreenInit failed for driver 0
[    56.054] (EE)
[    56.054] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[    56.054] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    56.054] (EE)
[    56.057] (EE) Server terminated with error (1). Closing log file.





compared to my working Deb Xorg log:


Code:
[    16.187] (II) NVIDIA(0): Setting mode "DFP-4.1:nvidia-auto-select"
[    16.411] (==) NVIDIA(0): Disabling shared memory pixmaps
[    16.411] (==) NVIDIA(0): Backing store enabled
[    16.411] (==) NVIDIA(0): Silken mouse enabled
[    16.411] (==) NVIDIA(0): DPMS enabled
[    16.412] (II) Loading sub module "dri2"
[    16.412] (II) LoadModule: "dri2"
[    16.412] (II) Module "dri2" already built-in
[    16.412] (II) NVIDIA(0): [DRI2] Setup complete
[    16.412] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    16.412] (--) RandR disabled
[    16.416] (II) SELinux: Disabled on system
[    16.417] (II) Initializing extension GLX
[    16.462] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    16.462] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    16.462] (II) LoadModule: "evdev"
[    16.462] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    16.463] (II) Module evdev: vendor="X.Org Foundation"
[    16.463]    compiled for 1.15.99.904, module version = 2.8.2
[    16.463]    Module class: X.Org XInput Driver
[    16.463]    ABI class: X.Org XInput driver, version 21.0
...


thank you !!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jul 18, 2014 11:37 pm    Post subject: Reply with quote

boot to the console,
Code:
emerge wgetpaste
wgetpaste /usr/src/linux/.config
wgetpaste /etc/portage/make.conf
lspci -k | wgetpaste
post the url's returned
_________________
Defund the FCC.
Back to top
View user's profile Send private message
k0OA1
n00b
n00b


Joined: 15 Jul 2014
Posts: 13

PostPosted: Sat Jul 19, 2014 12:32 am    Post subject: Reply with quote

Thanks DONAHUE

Code:
http://bpaste.net/show/476585
http://bpaste.net/show/476589
http://bpaste.net/show/476591



I used genkernel for kernel compilation.


cheers,

Al
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Jul 19, 2014 2:10 am    Post subject: Reply with quote

http://bpaste.net/show/476585 config
http://bpaste.net/show/476589 make.conf
http://bpaste.net/show/476591 lspci -k

genkernel attempts to handle any video card using open source drivers, mostly only concerned with the console not the GUI, so:
Code:
genkernel --menuconfig all
or
Code:
cd /usr/src/linux;make menuconfig
in either case edit menuconfig to
Quote:
Device Drivers --->
Graphics support --->
<M> /dev/agpgart (AGP Support) --->
< > AMD Opteron/Athlon64 on-CPU GART support
<M> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > SiS chipset support
< > VIA chipset support
-*- VGA Arbitration
(2) Maximum number of GPUs
[ ] Laptop Hybrid Graphics - GPU switching support
< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
<*> Support for frame buffer devices --->
--- Support for frame buffer devices
[*] Enable firmware EDID
[ ] Framebuffer foreign endianness support ----
[*] Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
< > Userspace VESA VGA graphics support
[ ] VESA VGA graphics support
[ ] EFI-based Framebuffer Support
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > Epson S1D13XXX framebuffer support
< > nVidia Framebuffer Support
< > nVidia Riva support
< > Intel740 support
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > VIA UniChrome (Pro) and Chrome9 display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support
< > Fujitsu carmine frame buffer support
< > SMSC UFX6000/7000 USB Framebuffer support
< > Displaylink USB Framebuffer support
< > Goldfish Framebuffer
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
< > AUO-K190X EPD controller support
[ ] Simple framebuffer support
[ ] Exynos Video driver support ----
[*] Backlight & LCD device support --->
--- Backlight & LCD device support
<*> Lowlevel LCD controls
< > Platform LCD controls
<*> Lowlevel Backlight controls
< > Generic (aka Sharp Corgi) Backlight Driver
< > Apple Backlight Driver
< > Tabletkiosk Sahara Touch-iT Backlight Driver
< > Backlight Driver for ADP8860/ADP8861/ADP8863 using WLED
< > Backlight Driver for ADP8870 using WLED
< > Backlight Driver for LM3630A
< > Backlight Driver for LM3639
< > Backlight driver for TI LP855X
< > Sanyo LV5207LP Backlight
< > Rohm BD6107 Backlight
Console display driver support --->
-*- VGA text console
[*] Enable Scrollback Buffer in System RAM
(256) Scrollback Buffer Size (in KB)
<*> Framebuffer Console support
[ ] Map the console to the primary display device
[ ] Framebuffer Console Rotation
[*] Bootup logo --->
--- Bootup logo
[ ] Standard black and white Linux logo
[ ] Standard 16-color Linux logo
[*] Standard 224-color Linux logo
exit several times saving configuration when asked; allow genkernel to complete.
or
if genkernel was not used:
Code:
make && make modules_install && make install
, make sure any new kernel names are in trhe bootloader menu, for insurance
Code:
emerge xorg-server nvidia-drivers xf86-input-evdev linux-firmware
nvidia-xconfig
reboot

Reference: https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers
_________________
Defund the FCC.


Last edited by DONAHUE on Sun Jul 20, 2014 12:41 am; edited 1 time in total
Back to top
View user's profile Send private message
k0OA1
n00b
n00b


Joined: 15 Jul 2014
Posts: 13

PostPosted: Sat Jul 19, 2014 5:23 pm    Post subject: Reply with quote

It worked !! Thanks !!! :D :D :D
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