Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693538 - x11-misc/sddm hangs with x11-drivers/nvidia-drivers-435
Summary: x11-misc/sddm hangs with x11-drivers/nvidia-drivers-435
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-05 08:04 UTC by Silvio
Modified: 2020-11-18 18:43 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio 2019-09-05 08:04:26 UTC
It was difficult to identify my problem but I got it.

Using nvidia-drivers-435 when I arrive to login (SDDM with KDE) and I put my password and press enter it hangs all locked (Keyboard, mouse, video ...).


I cannot immagine how to view log or something.

I have the double video-card:

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake)

02:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)

I have in make.conf

VIDEO_CARDS="intel i965 i915 nvidia vesa v4l v4l2 modesetting fbdev"

but I do not use nvidia-card (as far as I know), I do not have any

/etc/X11/xorg.conf

and I have opengl set to xor-x11

# eselect opengl list
Available OpenGL implementations:
  [1]   nvidia
  [2]   xorg-x11 *
Comment 1 Silvio 2019-09-05 09:36:21 UTC
It must be something releted to the kernel module because if I start with an old kernel (probably with nvidia module of an old emerge) it starts well (kernel 5.2.7) even with nvidia-drivers-435, with new kernels it fails.

I paste en extract of Xorg.0.log in the two situation:

With new kernel (surely with new nvidia module):

[     6.430] (II) xfree86: Adding drm device (/dev/dri/card0)
[     6.446] (II) xfree86: Adding drm device (/dev/dri/card1)
[     6.464] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     6.464] (EE) Failed to load module "nv" (module does not exist, 0)
[     6.486] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     6.487] (==) intel(0): TearFree enabled
[     6.487] (EE) NVIDIA(G0): GPU screens are not yet supported by the NVIDIA driver
[     6.487] (EE) NVIDIA(G0): Failing initialization of X screen
[     6.489] (II) intel(0): SNA initialized with Coffeelake (gen9) backend
[     6.489] (II) Initializing extension MIT-SCREEN-SAVER
[     6.505] (II) GLX: Initialized DRI2 GL provider for screen 0


with old kernel (probably with old module):

[     6.046] (II) xfree86: Adding drm device (/dev/dri/card1)
[     6.056] (II) xfree86: Adding drm device (/dev/dri/card0)
[     6.075] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     6.076] (EE) Failed to load module "nv" (module does not exist, 0)
[     6.095] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[     6.095] (EE) NVIDIA:     system's kernel log for additional error messages and
[     6.095] (EE) NVIDIA:     consult the NVIDIA README for details.
[     6.095] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     6.096] (==) intel(0): TearFree enabled
[     6.098] (II) intel(0): SNA initialized with Coffeelake (gen9) backend
[     6.098] (II) Initializing extension MIT-SCREEN-SAVER
[     6.114] (II) GLX: Initialized DRI2 GL provider for screen 0
Comment 2 Silvio 2019-09-05 09:42:22 UTC
Other strang thing: I boot with new kernel and new nvidia module.
I tried to login. It hangs as usual. I switch off with button.
I restarted with old kernel and old module.
I looked for Xorg.0.log.old, it is there byt empty! Zero bytes.
:O
Comment 3 Silvio 2019-09-05 10:52:35 UTC
Here Xorg.0.log with new kernel (5.2.11) and old nvidia-drivers (430.40)

Everything goes fine:



     7.962] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     7.962] (II) Loader magic: 0x5613c0b62c60
[     7.962] (II) Module ABI versions:
[     7.962] 	X.Org ANSI C Emulation: 0.4
[     7.962] 	X.Org Video Driver: 24.0
[     7.962] 	X.Org XInput driver : 24.1
[     7.962] 	X.Org Server Extension : 10.0
[     7.963] (II) xfree86: Adding drm device (/dev/dri/card0)
[     7.986] (II) xfree86: Adding drm device (/dev/dri/card1)
[     7.988] (--) PCI:*(0@0:2:0) 8086:3ea0:1043:1341 rev 0, Mem @ 0xb2000000/16777216, 0x90000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[     7.988] (--) PCI: (2@0:0:0) 10de:1c8d:1043:1341 rev 161, Mem @ 0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[     7.988] (II) LoadModule: "glx"
[     7.992] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[     7.998] (II) Module glx: vendor="X.Org Foundation"
[     7.998] 	compiled for 1.20.5, module version = 1.0.0
[     7.998] 	ABI class: X.Org Server Extension, version 10.0
[     7.998] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[     7.998] 	loading driver: nvidia
[     7.998] (==) Matched intel as autoconfigured driver 0
[     7.998] (==) Matched nvidia as autoconfigured driver 1
[     7.998] (==) Matched nouveau as autoconfigured driver 2
[     7.998] (==) Matched nv as autoconfigured driver 3
[     7.998] (==) Matched modesetting as autoconfigured driver 4
[     7.998] (==) Matched fbdev as autoconfigured driver 5
[     7.998] (==) Matched vesa as autoconfigured driver 6
[     7.998] (==) Assigned the driver to the xf86ConfigLayout
[     7.998] (II) LoadModule: "intel"
[     7.998] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[     8.000] (II) Module intel: vendor="X.Org Foundation"
[     8.000] 	compiled for 1.20.5, module version = 2.99.917
[     8.000] 	Module class: X.Org Video Driver
[     8.000] 	ABI class: X.Org Video Driver, version 24.0
[     8.000] (II) LoadModule: "nvidia"
[     8.000] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[     8.003] (II) Module nvidia: vendor="NVIDIA Corporation"
[     8.003] 	compiled for 1.6.99.901, module version = 1.0.0
[     8.003] 	Module class: X.Org Video Driver
[     8.003] (II) LoadModule: "nouveau"
[     8.004] (WW) Warning, couldn't open module nouveau
[     8.004] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     8.004] (II) LoadModule: "nv"
[     8.004] (WW) Warning, couldn't open module nv
[     8.004] (EE) Failed to load module "nv" (module does not exist, 0)
[     8.004] (II) LoadModule: "modesetting"
[     8.004] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[     8.004] (II) Module modesetting: vendor="X.Org Foundation"
[     8.004] 	compiled for 1.20.5, module version = 1.20.5
[     8.004] 	Module class: X.Org Video Driver
[     8.004] 	ABI class: X.Org Video Driver, version 24.0
[     8.004] (II) LoadModule: "fbdev"
[     8.004] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[     8.005] (II) Module fbdev: vendor="X.Org Foundation"
[     8.005] 	compiled for 1.20.5, module version = 0.5.0
[     8.005] 	Module class: X.Org Video Driver
[     8.005] 	ABI class: X.Org Video Driver, version 24.0
[     8.005] (II) LoadModule: "vesa"
[     8.005] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[     8.005] (II) Module vesa: vendor="X.Org Foundation"
[     8.005] 	compiled for 1.20.5, module version = 2.4.0
[     8.005] 	Module class: X.Org Video Driver
[     8.005] 	ABI class: X.Org Video Driver, version 24.0
[     8.005] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[     8.005] (II) intel: Driver for Intel(R) HD Graphics
[     8.005] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[     8.005] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[     8.006] (II) NVIDIA dlloader X Driver  430.40  Sun Jul 21 05:01:54 CDT 2019
[     8.006] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     8.006] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     8.006] (II) FBDEV: driver for framebuffer: fbdev
[     8.006] (II) VESA: driver for VESA chipsets: vesa
[     8.006] (++) using VT number 7

[     8.022] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20190417
[     8.023] (WW) Falling back to old probe method for modesetting
[     8.023] (WW) Falling back to old probe method for fbdev
[     8.023] (II) Loading sub module "fbdevhw"
[     8.023] (II) LoadModule: "fbdevhw"
[     8.023] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[     8.024] (II) Module fbdevhw: vendor="X.Org Foundation"
[     8.024] 	compiled for 1.20.5, module version = 0.0.2
[     8.024] 	ABI class: X.Org Video Driver, version 24.0
[     8.024] (II) Loading sub module "fb"
[     8.024] (II) LoadModule: "fb"
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-06 05:18:51 UTC
Please reopen this bug report once you have figured out what the bug is. When that time comes, do update the Summary before you reopen it.
Comment 5 Silvio 2019-09-06 07:21:56 UTC
Probably I wasn't too clear, sorry.
The problem is very simple:

with the new nvidia-drivers (435) after inserting login in sddm it hangs.

Downgrading to 430 drivers everything is ok.

Tell me what informations I can provide to you to understand the problem (besides the ones I already gave).
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-09 05:19:48 UTC
(In reply to Silvio from comment #5)
> Probably I wasn't too clear, sorry.
> The problem is very simple:
> 
> with the new nvidia-drivers (435) after inserting login in sddm it hangs.
> 
> Downgrading to 430 drivers everything is ok.
> 
> Tell me what informations I can provide to you to understand the problem
> (besides the ones I already gave).

The problem with this report is that you didn't actually debug the problem and that we cannot assign the bug report. You should probably get technical support elsewhere (our mailing lists, web forums and IRC channels) and come back when you have found the actual cause of the problem you are experiencing.

The accepted way to report a bug is:

 1) Discover a problem.
 2) Debug the problem.
 3) Fix the problem locally.
3a) For bonus points: find a universal solution to your local problem. 
 4) File a bug report so that the problem you found can be fixed for everyone.

You are currently at 1).
Comment 7 Silvio 2019-09-09 08:50:28 UTC
(In reply to Jeroen Roovers from comment #6)
> The accepted way to report a bug is:
> 
>  1) Discover a problem.

With nvidia-drivers-435.* kde (sddm) after login hangs with now working keyboard.


>  2) Debug the problem.

Here the Xorg.0.org after login while it hangs:

[    33.448] (II) AIGLX: Resuming AIGLX clients after VT switch
[    33.448] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[    33.487] (II) intel(0): switch to mode 3840x2160@30.0 on HDMI1 using pipe 1, position (0, 0), rotation normal, reflection none
[    33.612] (--) intel(0): HDMI max TMDS frequency 300000KHz
[    33.646] (II) event3  - Power Button: is tagged by udev as: Keyboard
[    33.646] (II) event3  - Power Button: device is a keyboard
[    33.646] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    33.646] (II) event2  - Power Button: device is a keyboard
[    33.646] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[    33.646] (II) event1  - Sleep Button: device is a keyboard
[    33.647] (II) event9  - Logitech USB Optical Mouse: is tagged by udev as: Mouse
[    33.647] (II) event9  - Logitech USB Optical Mouse: device is a pointer
[    33.648] (II) event12 - USB USB Keyboard: is tagged by udev as: Keyboard
[    33.648] (II) event12 - USB USB Keyboard: device is a keyboard
[    33.649] (II) event13 - USB USB Keyboard Mouse: is tagged by udev as: Mouse
[    33.649] (II) event13 - USB USB Keyboard Mouse: device is a pointer
[    33.649] (II) event14 - USB USB Keyboard System Control: is tagged by udev as: Keyboard
[    33.649] (II) event14 - USB USB Keyboard System Control: device is a keyboard
[    33.650] (II) event15 - USB USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[    33.650] (II) event15 - USB USB Keyboard Consumer Control: device is a keyboard
[    33.651] (II) event10 - USB2.0 HD IR UVC WebCam: USB2.0: is tagged by udev as: Keyboard
[    33.651] (II) event10 - USB2.0 HD IR UVC WebCam: USB2.0: device is a keyboard
[    33.651] (II) event11 - USB2.0 HD IR UVC WebCam: USB2.0: is tagged by udev as: Keyboard
[    33.651] (II) event11 - USB2.0 HD IR UVC WebCam: USB2.0: device is a keyboard
[    33.652] (II) event7  - GDX1505:00 27C6:01F1 Touchpad: is tagged by udev as: Touchpad
[    33.653] (II) event7  - GDX1505:00 27C6:01F1 Touchpad: device is a touchpad
[    33.653] (II) event6  - Asus WMI hotkeys: is tagged by udev as: Keyboard
[    33.653] (II) event6  - Asus WMI hotkeys: device is a keyboard
[    33.654] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    33.654] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard




>  3) Fix the problem locally.

Simple: Downgrading to nivida-drivers-430.40

this is Xorg.0.log after login functioning with this old version of drivers:

[   247.585] (II) AIGLX: Resuming AIGLX clients after VT switch
[   247.585] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   247.625] (II) intel(0): switch to mode 3840x2160@30.0 on HDMI1 using pipe 1, position (0, 0), rotation normal, reflection none
[   247.743] (--) intel(0): HDMI max TMDS frequency 300000KHz
[   247.776] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   247.776] (II) event3  - Power Button: device is a keyboard
[   247.777] (II) event7  - Video Bus: is tagged by udev as: Keyboard
[   247.777] (II) event7  - Video Bus: device is a keyboard
[   247.777] (II) event8  - Video Bus: is tagged by udev as: Keyboard
[   247.777] (II) event8  - Video Bus: device is a keyboard
[   247.778] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   247.778] (II) event2  - Power Button: device is a keyboard
[   247.778] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   247.778] (II) event1  - Sleep Button: device is a keyboard
[   247.779] (II) event10 - Logitech USB Optical Mouse: is tagged by udev as: Mouse
[   247.779] (II) event10 - Logitech USB Optical Mouse: device is a pointer
[   247.779] (II) event20 - USB USB Keyboard: is tagged by udev as: Keyboard
[   247.780] (II) event20 - USB USB Keyboard: device is a keyboard
[   247.780] (II) event21 - USB USB Keyboard Mouse: is tagged by udev as: Mouse
[   247.780] (II) event21 - USB USB Keyboard Mouse: device is a pointer
[   247.781] (II) event22 - USB USB Keyboard System Control: is tagged by udev as: Keyboard
[   247.781] (II) event22 - USB USB Keyboard System Control: device is a keyboard
[   247.782] (II) event23 - USB USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[   247.782] (II) event23 - USB USB Keyboard Consumer Control: device is a keyboard
[   247.782] (II) event18 - USB2.0 HD IR UVC WebCam: USB2.0: is tagged by udev as: Keyboard
[   247.782] (II) event18 - USB2.0 HD IR UVC WebCam: USB2.0: device is a keyboard
[   247.783] (II) event19 - USB2.0 HD IR UVC WebCam: USB2.0: is tagged by udev as: Keyboard
[   247.783] (II) event19 - USB2.0 HD IR UVC WebCam: USB2.0: device is a keyboard
[   247.784] (II) event9  - GDX1505:00 27C6:01F1 Touchpad: is tagged by udev as: Touchpad
[   247.784] (II) event9  - GDX1505:00 27C6:01F1 Touchpad: device is a touchpad
[   247.785] (II) event6  - Asus WMI hotkeys: is tagged by udev as: Keyboard
[   247.785] (II) event6  - Asus WMI hotkeys: device is a keyboard
[   247.786] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   247.786] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[   261.474] (--) intel(0): HDMI max TMDS frequency 300000KHz
[   261.740] (--) intel(0): HDMI max TMDS frequency 300000KHz
[   284.794] (II) event3  - Power Button: device removed
[   284.804] (II) event7  - Video Bus: device removed
[   284.819] (II) event8  - Video Bus: device removed
[   284.836] (II) event2  - Power Button: device removed
[   284.844] (II) event1  - Sleep Button: device removed
[   284.853] (II) event10 - Logitech USB Optical Mouse: device removed
[   284.877] (II) event20 - USB USB Keyboard: device removed
[   284.892] (II) event21 - USB USB Keyboard Mouse: device removed
[   284.914] (II) event22 - USB USB Keyboard System Control: device removed
[   284.924] (II) event18 - USB2.0 HD IR UVC WebCam: USB2.0: device removed
[   284.949] (II) event19 - USB2.0 HD IR UVC WebCam: USB2.0: device removed
[   284.965] (II) event9  - GDX1505:00 27C6:01F1 Touchpad: device removed
[   284.980] (II) event6  - Asus WMI hotkeys: device removed
[   284.999] (II) event4  - AT Translated Set 2 keyboard: device removed
[   285.007] (II) event23 - USB USB Keyboard Consumer Control: device removed
[   285.015] (II) AIGLX: Suspending AIGLX clients for VT switch
[   288.218] (II) AIGLX: Resuming AIGLX clients after VT switch
[   288.218] (II) intel(0): switch to mode 3840x2160@30.0 on HDMI1 using pipe 1, position (0, 0), rotation normal, reflection none
[   288.309] (EE) intel(0): sna_mode_shutdown_crtc: invalid state found on pipe 0, disabling CRTC:47
[   289.425] (--) intel(0): HDMI max TMDS frequency 300000KHz
[   289.443] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   289.443] (II) event3  - Power Button: device is a keyboard
[   289.444] (II) event7  - Video Bus: is tagged by udev as: Keyboard
[   289.444] (II) event7  - Video Bus: device is a keyboard
[   289.447] (II) event8  - Video Bus: is tagged by udev as: Keyboard
[   289.447] (II) event8  - Video Bus: device is a keyboard
[   289.448] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   289.448] (II) event2  - Power Button: device is a keyboard
[   289.449] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   289.449] (II) event1  - Sleep Button: device is a keyboard
[   289.450] (II) event10 - Logitech USB Optical Mouse: is tagged by udev as: Mouse
[   289.450] (II) event10 - Logitech USB Optical Mouse: device is a pointer
[   289.452] (II) event20 - USB USB Keyboard: is tagged by udev as: Keyboard
[   289.452] (II) event20 - USB USB Keyboard: device is a keyboard
[   289.454] (II) event21 - USB USB Keyboard Mouse: is tagged by udev as: Mouse
[   289.454] (II) event21 - USB USB Keyboard Mouse: device is a pointer
[   289.455] (II) event22 - USB USB Keyboard System Control: is tagged by udev as: Keyboard
[   289.455] (II) event22 - USB USB Keyboard System Control: device is a keyboard
[   289.456] (II) event23 - USB USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[   289.456] (II) event23 - USB USB Keyboard Consumer Control: device is a keyboard
[   289.457] (II) event18 - USB2.0 HD IR UVC WebCam: USB2.0: is tagged by udev as: Keyboard
[   289.457] (II) event18 - USB2.0 HD IR UVC WebCam: USB2.0: device is a keyboard
[   289.458] (II) event19 - USB2.0 HD IR UVC WebCam: USB2.0: is tagged by udev as: Keyboard
[   289.458] (II) event19 - USB2.0 HD IR UVC WebCam: USB2.0: device is a keyboard
[   289.459] (II) event9  - GDX1505:00 27C6:01F1 Touchpad: is tagged by udev as: Touchpad
[   289.460] (II) event9  - GDX1505:00 27C6:01F1 Touchpad: device is a touchpad
[   289.461] (II) event6  - Asus WMI hotkeys: is tagged by udev as: Keyboard
[   289.461] (II) event6  - Asus WMI hotkeys: device is a keyboard
[   289.461] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   289.462] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[   315.877] (II) event9  - GDX1505:00 27C6:01F1 Touchpad: device removed
[   316.093] (II) event9  - GDX1505:00 27C6:01F1 Touchpad: is tagged by udev as: Touchpad
[   316.094] (II) event9  - GDX1505:00 27C6:01F1 Touchpad: device is a touchpad
[   323.076] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   323.323] (II) intel(0): resizing framebuffer to 1920x1080
[   327.816] (II) event3  - Power Button: device removed
[   327.829] (II) event7  - Video Bus: device removed
[   327.848] (II) event8  - Video Bus: device removed
[   327.864] (II) event2  - Power Button: device removed
[   327.877] (II) event1  - Sleep Button: device removed
[   327.889] (II) event10 - Logitech USB Optical Mouse: device removed
[   327.909] (II) event20 - USB USB Keyboard: device removed
[   327.917] (II) event21 - USB USB Keyboard Mouse: device removed
[   327.935] (II) event22 - USB USB Keyboard System Control: device removed
[   327.944] (II) event18 - USB2.0 HD IR UVC WebCam: USB2.0: device removed
[   327.968] (II) event19 - USB2.0 HD IR UVC WebCam: USB2.0: device removed
[   327.984] (II) event9  - GDX1505:00 27C6:01F1 Touchpad: device removed
[   328.005] (II) event6  - Asus WMI hotkeys: device removed
[   328.027] (II) event4  - AT Translated Set 2 keyboard: device removed
[   328.041] (II) event23 - USB USB Keyboard Consumer Control: device removed
[   328.050] (II) AIGLX: Suspending AIGLX clients for VT switch





> 3a) For bonus points: find a universal solution to your local problem. 

I think it is universal.

>  4) File a bug report so that the problem you found can be fixed for
> everyone.

That one.
Comment 8 Silvio 2019-09-09 08:52:18 UTC
ADDITIONAL INFO BELOW: "xorg.conf", "make.conf", "emerge --info"

A) xorg.conf: no file


B) make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.

MAKEOPTS="-j4"

USE="dell abi_x86_32 python pulseaudio icu dri3 uxa xvmc egl vdpau vaapi pulseaudio ffmpeg ntfs bluetooth s3tc theora vpx hidpi v4l networkmanager fftw libinput touchpad id3tag mtp objc opus javafx pcsc-lite usb ruby_targets_ruby25 ruby_targets_ruby26 ruby_targets_ruby23 kdesu"
# wayland gles gles2 bindist


CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 ssse3 sse4_1 sse4_2 glamor"

PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"


ACCEPT_KEYWORDS="~amd64"
ACCEPT_LICENSE="*"
#Nuova sintassi che non ho voluto mettere, mi sembra piu' generica la mia
#ACCEPT_LICENSE="* -@EULA"


#GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"

LINGUAS="it en it_IT en_US"
L10N="it en"
LANG="en"
LANGUAGE="it"

VIDEO_CARDS="intel i965 i915 nvidia vesa v4l v4l2 modesetting fbdev"
#nouveau
ALSA_CARDS="snd_hda_intel"
CAMERAS="*"
#SANE_BACKENDS="mustek_usb epson2"
SANE_BACKENDS="*"

# Aggiunto da Silvio per passare a X.org 7
INPUT_DEVICES="keyboard mouse joystick wacom synaptics evdev libinput"

# Aggiunto da Silvio per loggare i messaggi di emerge
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="echo save_summary"


c) emerge --info


Portage 2.3.75 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.2.0, glibc-2.29-r5, 5.2.11-gentoo x86_64)
=================================================================
System uname: Linux-5.2.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-8565U_CPU_@_1.80GHz-with-gentoo-2.6
KiB Mem:    16245784 total,   9950784 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 09 Sep 2019 08:00:01 +0000
Head commit of repository gentoo: 63f6fd540e5cfbae4e08475bcdb3ee1b6a03bd10
sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.15.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.1.0-r1::gentoo, 9.2.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

betagarden
    location: /var/lib/layman/betagarden
    masters: gentoo
    priority: 50

flow
    location: /var/lib/layman/flow
    sync-type: laymansync
    sync-uri: https://gitlab.com/Flow/flow-s-ebuilds.git
    masters: gentoo
    priority: 50

lmiphay
    location: /var/lib/layman/lmiphay
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/user/lmiphay.git
    masters: gentoo
    priority: 50

rion
    location: /var/lib/layman/rion
    sync-type: laymansync
    sync-uri: https://github.com/rion-overlay/rion-overlay.git
    masters: gentoo
    priority: 50

salfter
    location: /var/lib/layman/salfter
    sync-type: laymansync
    sync-uri: https://gitlab.com/salfter/portage.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

superposition
    location: /var/lib/layman/superposition
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/user/superposition.git
    masters: gentoo
    priority: 50

vortex
    location: /var/lib/layman/vortex
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en it_IT en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dell dri dri3 dts dvd dvdr egl emboss encode exif fam ffmpeg fftw flac fortran gdbm gif glamor gpm gtk hidpi iconv icu id3tag ipv6 javafx jpeg kde kdesu kipi kwallet lcms ldap libinput libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ntfs objc ogg opengl openmp opus pam pango pcre pcsc-lite pdf phonon plasma png policykit ppds pulseaudio python qml qt5 readline s3tc sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd theora tiff touchpad truetype udev udisks unicode upower usb uxa v4l vaapi vdpau vorbis vpx widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid xvmc zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="snd_hda_intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 ssse3 sse4_1 sse4_2 glamor" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse joystick wacom synaptics evdev libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25 ruby26" SANE_BACKENDS="*" USERLAND="GNU" VIDEO_CARDS="intel i965 i915 nvidia vesa v4l v4l2 modesetting fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Silvio 2019-09-09 08:53:29 UTC
If you need more info, feel free to ask me to add.
Thanks.
Comment 10 Silvio 2019-09-09 08:54:23 UTC
Is it possibile that this bug

https://bugs.gentoo.org/693704

is related to mine?
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-11 13:11:27 UTC
Please come back when you find a solution that does not work around the problem, particularly not by "solving" it by gratuitously downgrading a package. Do not reopen this bug report until you do. Please.
Comment 13 Silvio 2019-09-18 17:28:07 UTC
Are you kidding?

I'm not able to fix bugs. It is not my job.

The bug is still there. I opened and helped to fix tens of bug in gentoo but NO ONE ask me to solve! :O

Moreover the 435.21 of this package is marked as STABLE! :(

How can be stabilized something that gives a problem?

I gave you all infos I can. 

If you need more info, test to to or WHATEVER, ask me and I'll do it to help you to fix this bug as I always did here and as I'll always do.

Please do not close this bug until it will be fixed (obviously).
Comment 14 Alexander Tsoy 2019-09-23 12:00:03 UTC
I don't have nvidia hardware, but there are two things worth mentioning here:
1. nvidia-drivers-435 added support for the PRIME render offloading which also requires patches for xorg-server. See [1]. They have not been backported to gentoo (yet).
2. PRIME offloading doesn't work with x11-drivers/xf86-video-intel (which also known to be buggy as hell).

I suggest you try to switch to modesetting driver first, and see if it help. Eg:

$ cat /etc/X11/xorg.conf.d/50-intel.conf 
Section "Device"
    Identifier  "Intel"
    BusID       "PCI:0@0:2:0"
    Driver      "modesetting"
EndSection

[1] http://download.nvidia.com/XFree86/Linux-x86_64/435.17/README/primerenderoffload.html
Comment 15 Silvio 2019-09-24 19:18:00 UTC
Wonderful. you are completly right

I put:

Section "Device"
    Identifier  "Intel"
    BusID       "PCI:0@0:2:0"
    Driver      "modesetting"
    Option      "AccelMethod"    "glamor"
    Option      "DRI"            "3"
EndSection

in /etc/X11/xorg.conf.d/50-intel.conf 

and everything works.
Comment 16 Alexander Tsoy 2019-09-24 20:15:56 UTC
(In reply to Alexander Tsoy from comment #14)
> 2. PRIME offloading doesn't work with x11-drivers/xf86-video-intel
A little note: I meant PRIME offloading to NVIDIA GPU here. And to be honest I'm not 100% sure about this. %)
Comment 17 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-28 06:47:15 UTC
Please use the forums for this type of discussion. This bug tracker is not the correct venue for that.
Comment 18 Silvio 2019-09-29 20:11:15 UTC
I'm a bit suprised. If you close this bug anyone that have my problem cannot find  the workaround.

the bug is still there so I think it is important to keep it open.

Well, you seems to me too worried about closing all bugs. It is not a shame.

I'm also a bit suprised Alexander Tsoy found reason and workaround without having my hardware. Compliments. Really,

Well, please let's keep this bug open until gentoo fix all the libraries related.
Comment 19 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-10-01 19:02:20 UTC
@Jeroen, could you please elaborate why was this bug assigned to ComRel? I do not see a conflict here. What is seen is that all the participants are more than happy to provide any information you would like to see. If you can not determine where the problem is you could also CC people who may be potentially interested in this bug. Sending people to forums/irc/etc so they could find a solution there does not help to solve the problem. If in oposite you think this is not a bug but missconfiguration you could also explain your point of view.
Comment 20 Silvio 2019-10-31 20:51:02 UTC
Any news?