View previous topic :: View next topic |
Author |
Message |
Yczo Apprentice


Joined: 09 Jul 2011 Posts: 209
|
Posted: Mon Jun 27, 2016 8:00 pm Post subject: Can't restore the X from tty alt+f7 alt+f1 |
|
|
Hello,
I have the next issue: I can not back from tty to X-Window. The screen is black when I press alt-f7, and after that, can not even return to a tty. The screen end locked in black...
I use systemd, nvidia-drivers-367.27 and kernels 4.1 && 4.6 with sddm or lxdm
I have no idea how to fix that. Please any help will be welcomed
Greetings |
|
Back to top |
|
 |
chithanh Developer


Joined: 05 Aug 2006 Posts: 2152 Location: Berlin, Germany
|
Posted: Mon Jun 27, 2016 11:18 pm Post subject: |
|
|
This is a known problem with nvidia-drivers, especially when you use fb drivers other than simplefb/efifb. |
|
Back to top |
|
 |
BobWya Apprentice


Joined: 12 Aug 2012 Posts: 230 Location: Cambridge,UK
|
Posted: Mon Jun 27, 2016 11:28 pm Post subject: |
|
|
Are you using the improved KMS support - provided in the newer Nvidia driver versions?
In particular the following kernel settings are from my currently booted kernel (4.6.0):
Code: | egrep "_(FB|KMS)" /usr/src/linux/.config
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_FB=y
CONFIG_FB_CMDLINE=y
CONFIG_FB_NOTIFY=y
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
CONFIG_FB_SYS_FILLRECT=y
CONFIG_FB_SYS_COPYAREA=y
CONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=y
CONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_UVESA is not set
# CONFIG_FB_VESA is not set
CONFIG_FB_EFI=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set
CONFIG_XEN_FBDEV_FRONTEND=y
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_FB_SM712 is not set
# CONFIG_HID_PICOLCD_FB is not set
# CONFIG_FB_SM750 is not set
# CONFIG_FB_XGI is not set
|
Plus my nvidia kernel modules loading file:
Code: | cat /usr/lib/modules-load.d/nvidia.conf
nvidia
nvidia_drm
nvidia_uvm
nvidia_modeset |
Plus my initramfs included drivers:
Code: | cat /etc/dracut.conf.d/drivers.conf
add_drivers+=" ... nvidia nvidia_drm nvidia_modeset nvidia_uvm ... " |
Plus my kernel (grub2-efi) command line options:
Code: | ... nvidia-drm.modeset=1 ... |
Works reasonably well for me with Plasma 5, SDDM, and systemd. I've not tested this setup with LXQt - but LXQt tends to be more reliable than Plasma 5!!
Bob _________________ system: G751JT (ASUS-NotebookSKU); processor: Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz; memory: 32GiB System Memory; display: GM204M [GeForce GTX 970M]; disk: 2048GB Samsung SSD 850;BD-CMB UJ172 S;1024GB Samsung SSD 850 |
|
Back to top |
|
 |
Yczo Apprentice


Joined: 09 Jul 2011 Posts: 209
|
Posted: Tue Jun 28, 2016 8:17 am Post subject: |
|
|
Thank you very much bob,
But my system is not EFI.
I tried with the VESA fb instead the UVESA and the problem dissapears, but VESA is slow. UVESA works before  |
|
Back to top |
|
 |
|