Nvidia GTX 1050 Ti and Intel Graphic & Blender

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
Post Reply
User avatar
MiraclesHappen
Level 1
Level 1
Posts: 49
Joined: Sat Jun 16, 2018 1:44 am
Location: Cambodia
Contact:

Nvidia GTX 1050 Ti and Intel Graphic & Blender

Post by MiraclesHappen » Wed Dec 05, 2018 9:17 pm

Hello everyone,

The following are the specs of my laptop:

MSI (GP62M 7REX Leopard Pro)
Linux Mint 18.3 Cinnamon 64 bit
CPU: Intel Core i-7 7700HQ @ 2.80 GHz x 4
GPU: Nvidia GTX 1050 Ti & Intel Corporation Device 591b (according to system info)

To be able to use the Nvidia card I installed Nvidia Prime which lets me use the card without any problems. However if I attempt to
switch to the Intel card, the screen turns completely black and I'm only able to access the system again in safe mode.

So far (I've been using Linux since June), I managed to use the laptop by just using the Nvidia card though the battery usage is really intensive.

Recentely, I've just completed a Blender animation with Blender 2.79b and I'm now rendering it (it takes a very long time for this process). Obviously, the rendering is done with the Nvidia card (GPU Compute and CUDA in the user preferences in Blender), however, ever since I started rendering this particular scene which is more complex compared to the previous ones, I've noticed that the mouse goes ballistic and if I attempt to use any other programs (which do not need an Nvidia graphic card) everything gets incredibly slowed down...

This problem has only started recently and I don't have enough experience to understand whether it is related to upgrading the kernel or not (I only upgrade what is suggested in the Update Manager).

I'm not an expert so the only thing I did was to check the CPU usage while rendering in Blender and, as expected, the CPU usage is very low because I'm rendering with the GPU.
The other thing I did was to have a look at Prime (NVIDIA X Server Settings) and I realized that in the display configuration the display doesn't get detected.

I'm using a proprietary driver for Nvidia and an open source one for Intel.
This laptop was meant to be used with Windows 10 so in the keyboard there is a shorcut (FN F5) called Eco to switch between graphic cards without problems but in Linux it doesn't work.

My questions:
1. Is there an easy way to fix the problem about switching graphic cards and make them both work?
2. If n.1 is yes, is it possible to use the Intel graphic card and render Blender animation with Nvidia at the same time?
3. Does the GPU usage influence the CPU performance?

Thanks!
Life is good but with Linux is even better!

firepower
Level 1
Level 1
Posts: 41
Joined: Fri Sep 01, 2017 7:39 pm

Re: Nvidia GTX 1050 Ti and Intel Graphic & Blender

Post by firepower » Sat Dec 08, 2018 12:00 pm

kernel 4.15.0-23 or above will give black screen using intel hybrid graphics (optimus / prime)

viewtopic.php?f=59&t=276201

User avatar
MiraclesHappen
Level 1
Level 1
Posts: 49
Joined: Sat Jun 16, 2018 1:44 am
Location: Cambodia
Contact:

Re: Nvidia GTX 1050 Ti and Intel Graphic & Blender

Post by MiraclesHappen » Tue Dec 11, 2018 8:11 pm

firepower wrote:
Sat Dec 08, 2018 12:00 pm
kernel 4.15.0-23 or above will give black screen using intel hybrid graphics (optimus / prime)

viewtopic.php?f=59&t=276201
Thank you, I read the topic. My kernel is 4.15.0-42

Shall I just wait for a new kernel to be released which hopefully will solve the problem?

I read that downgrading the kernel is not recommended.
I use this laptop for my projects so having to reinstall the system and moving files around if anything goes wrong it's a huge waste of time for me.
In the meantime, I will just keep using the Nvidia card with proprietary driver unless someone has a better idea.
Life is good but with Linux is even better!

User avatar
roblm
Level 9
Level 9
Posts: 2978
Joined: Sun Feb 24, 2013 2:41 pm

Re: Nvidia GTX 1050 Ti and Intel Graphic & Blender

Post by roblm » Thu Dec 13, 2018 8:58 am

The source of your problem may be different than that of user firepower. You’re using Mint 18.3, where GPU switching was handled differently. I don’t have any problem using the kernels available through Update Manager on my ASUS Optimus laptop. I tested the 4.15.0-23, 4.15.0-29, 4.15.0-34, and 4.15.0-42 kernels.

Can you boot with the default 4.15.0-20 kernel or any others without a problem?

I suggest switching to the Intel GPU. When you get the black screen, press Ctrl+Alt+F1 to enter tty1. Use this command to switch to the Nvidia GPU and reboot: sudo prime-select nvidia; reboot

When you get to the desktop, post the Xorg.0.log.old file (not the Xorg.0.log). Use this command to open the file:
xed /var/log/Xorg.0.log.old

User avatar
MiraclesHappen
Level 1
Level 1
Posts: 49
Joined: Sat Jun 16, 2018 1:44 am
Location: Cambodia
Contact:

Re: Nvidia GTX 1050 Ti and Intel Graphic & Blender

Post by MiraclesHappen » Mon Dec 17, 2018 7:59 pm

roblm wrote:
Thu Dec 13, 2018 8:58 am
The source of your problem may be different than that of user firepower. You’re using Mint 18.3, where GPU switching was handled differently. I don’t have any problem using the kernels available through Update Manager on my ASUS Optimus laptop. I tested the 4.15.0-23, 4.15.0-29, 4.15.0-34, and 4.15.0-42 kernels.

Can you boot with the default 4.15.0-20 kernel or any others without a problem?

I suggest switching to the Intel GPU. When you get the black screen, press Ctrl+Alt+F1 to enter tty1. Use this command to switch to the Nvidia GPU and reboot: sudo prime-select nvidia; reboot

When you get to the desktop, post the Xorg.0.log.old file (not the Xorg.0.log). Use this command to open the file:
xed /var/log/Xorg.0.log.old
I apologize for not replying any sooner, I forgot to check the option about getting an email when someone answers.

Your instructions are very clear and I'm going to try but I don't understand the last part:

When you get to the desktop, post the Xorg.0.log.old file (not the Xorg.0.log). Use this command to open the file:
]xed /var/log/Xorg.0.log.old

What does that mean?

I'm still learning so I don't understand the meaning of posting a file. Is it something I have to do with the terminal?
Can you please be a little more specific?

Thanks!
Life is good but with Linux is even better!

User avatar
roblm
Level 9
Level 9
Posts: 2978
Joined: Sun Feb 24, 2013 2:41 pm

Re: Nvidia GTX 1050 Ti and Intel Graphic & Blender

Post by roblm » Tue Dec 18, 2018 8:22 am

MiraclesHappen wrote: Your instructions are very clear and I'm going to try but I don't understand the last part:

When you get to the desktop, post the Xorg.0.log.old file (not the Xorg.0.log). Use this command to open the file:
xed /var/log/Xorg.0.log.old

When you get to the desktop, open the Terminal program and type this command to open the Xorg.0.log.old file and then press ENTER. It's easier to copy it and paste it:
xed /var/log/Xorg.0.log.old

Press the Ctrl+A keys to select the entire file contents. Right click on the screen and select “Copy”. Open the Mint Forum reply window and select </> at the top. Press the Ctrl+V keys to paste the copied lines into a code display window.

Also, you didn’t answer this question:
Can you boot with the default 4.15.0-20 kernel or any others without a problem?

User avatar
MiraclesHappen
Level 1
Level 1
Posts: 49
Joined: Sat Jun 16, 2018 1:44 am
Location: Cambodia
Contact:

Re: Nvidia GTX 1050 Ti and Intel Graphic & Blender

Post by MiraclesHappen » Tue Dec 18, 2018 8:41 pm

Code: Select all

[    37.123] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[    37.123] X Protocol Version 11, Revision 0
[    37.123] Build Operating System: Linux 4.4.0-128-generic x86_64 Ubuntu
[    37.123] Current Operating System: Linux anto 4.15.0-42-generic #45~16.04.1-Ubuntu SMP Mon Nov 19 13:02:27 UTC 2018 x86_64
[    37.123] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-42-generic root=UUID=3bd8ecac-cbb6-49ea-bc54-e518248b9bf9 ro recovery nomodeset
[    37.123] Build Date: 10 August 2018  09:33:05AM
[    37.123] xorg-server 2:1.18.4-0ubuntu0.8 (For technical support please see http://www.ubuntu.com/support) 
[    37.123] Current version of pixman: 0.33.6
[    37.123] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    37.123] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    37.123] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 19 07:25:39 2018
[    37.146] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    37.150] (==) No Layout section.  Using the first Screen section.
[    37.150] (==) No screen section available. Using defaults.
[    37.150] (**) |-->Screen "Default Screen Section" (0)
[    37.150] (**) |   |-->Monitor "<default monitor>"
[    37.150] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    37.150] (==) Automatically adding devices
[    37.150] (==) Automatically enabling devices
[    37.150] (==) Automatically adding GPU devices
[    37.150] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    37.150] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    37.150] 	Entry deleted from font path.
[    37.150] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    37.150] 	Entry deleted from font path.
[    37.150] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    37.150] 	Entry deleted from font path.
[    37.150] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    37.150] 	Entry deleted from font path.
[    37.150] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    37.150] 	Entry deleted from font path.
[    37.150] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[    37.150] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    37.150] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    37.150] (II) Loader magic: 0x55dde2bf1dc0
[    37.150] (II) Module ABI versions:
[    37.150] 	X.Org ANSI C Emulation: 0.4
[    37.150] 	X.Org Video Driver: 20.0
[    37.150] 	X.Org XInput driver : 22.1
[    37.150] 	X.Org Server Extension : 9.0
[    37.151] (++) using VT number 7

[    37.151] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    37.151] (II) xfree86: Adding drm device (/dev/dri/card0)
[    37.152] (--) PCI:*(0:0:2:0) 8086:591b:1462:11c8 rev 4, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[    37.152] (--) PCI: (0:1:0:0) 10de:1c8c:1462:11c8 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[    37.152] (WW) "glamoregl" will not be loaded unless you've specified it to be loaded elsewhere.
[    37.152] (II) "glx" will be loaded by default.
[    37.152] (II) LoadModule: "glx"
[    37.164] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    37.221] (II) Module glx: vendor="X.Org Foundation"
[    37.221] 	compiled for 1.18.4, module version = 1.0.0
[    37.221] 	ABI class: X.Org Server Extension, version 9.0
[    37.221] (==) AIGLX enabled
[    37.221] (==) Matched nvidia as autoconfigured driver 0
[    37.221] (==) Matched nouveau as autoconfigured driver 1
[    37.221] (==) Matched intel as autoconfigured driver 2
[    37.221] (==) Matched modesetting as autoconfigured driver 3
[    37.221] (==) Matched fbdev as autoconfigured driver 4
[    37.221] (==) Matched vesa as autoconfigured driver 5
[    37.221] (==) Assigned the driver to the xf86ConfigLayout
[    37.221] (II) LoadModule: "nvidia"
[    37.221] (WW) Warning, couldn't open module nvidia
[    37.221] (II) UnloadModule: "nvidia"
[    37.221] (II) Unloading nvidia
[    37.221] (EE) Failed to load module "nvidia" (module does not exist, 0)
[    37.221] (II) LoadModule: "nouveau"
[    37.221] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    37.254] (II) Module nouveau: vendor="X.Org Foundation"
[    37.254] 	compiled for 1.18.1, module version = 1.0.12
[    37.254] 	Module class: X.Org Video Driver
[    37.254] 	ABI class: X.Org Video Driver, version 20.0
[    37.254] (II) LoadModule: "intel"
[    37.254] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    37.299] (II) Module intel: vendor="X.Org Foundation"
[    37.299] 	compiled for 1.18.4, module version = 2.99.917
[    37.299] 	Module class: X.Org Video Driver
[    37.299] 	ABI class: X.Org Video Driver, version 20.0
[    37.299] (II) LoadModule: "modesetting"
[    37.299] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    37.300] (II) Module modesetting: vendor="X.Org Foundation"
[    37.300] 	compiled for 1.18.4, module version = 1.18.4
[    37.300] 	Module class: X.Org Video Driver
[    37.300] 	ABI class: X.Org Video Driver, version 20.0
[    37.300] (II) LoadModule: "fbdev"
[    37.300] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    37.300] (II) Module fbdev: vendor="X.Org Foundation"
[    37.300] 	compiled for 1.18.1, module version = 0.4.4
[    37.300] 	Module class: X.Org Video Driver
[    37.300] 	ABI class: X.Org Video Driver, version 20.0
[    37.300] (II) LoadModule: "vesa"
[    37.300] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    37.309] (II) Module vesa: vendor="X.Org Foundation"
[    37.309] 	compiled for 1.18.1, module version = 2.3.4
[    37.309] 	Module class: X.Org Video Driver
[    37.309] 	ABI class: X.Org Video Driver, version 20.0
[    37.309] (==) Matched nvidia as autoconfigured driver 0
[    37.309] (==) Matched nouveau as autoconfigured driver 1
[    37.309] (==) Matched intel as autoconfigured driver 2
[    37.309] (==) Matched modesetting as autoconfigured driver 3
[    37.309] (==) Matched fbdev as autoconfigured driver 4
[    37.309] (==) Matched vesa as autoconfigured driver 5
[    37.309] (==) Assigned the driver to the xf86ConfigLayout
[    37.309] (II) LoadModule: "nvidia"
[    37.309] (WW) Warning, couldn't open module nvidia
[    37.309] (II) UnloadModule: "nvidia"
[    37.309] (II) Unloading nvidia
[    37.309] (EE) Failed to load module "nvidia" (module does not exist, 0)
[    37.309] (II) LoadModule: "nouveau"
[    37.309] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    37.309] (II) Module nouveau: vendor="X.Org Foundation"
[    37.309] 	compiled for 1.18.1, module version = 1.0.12
[    37.309] 	Module class: X.Org Video Driver
[    37.309] 	ABI class: X.Org Video Driver, version 20.0
[    37.309] (II) UnloadModule: "nouveau"
[    37.309] (II) Unloading nouveau
[    37.309] (II) Failed to load module "nouveau" (already loaded, 0)
[    37.309] (II) LoadModule: "intel"
[    37.309] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    37.309] (II) Module intel: vendor="X.Org Foundation"
[    37.309] 	compiled for 1.18.4, module version = 2.99.917
[    37.309] 	Module class: X.Org Video Driver
[    37.309] 	ABI class: X.Org Video Driver, version 20.0
[    37.309] (II) UnloadModule: "intel"
[    37.309] (II) Unloading intel
[    37.309] (II) Failed to load module "intel" (already loaded, 0)
[    37.309] (II) LoadModule: "modesetting"
[    37.309] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    37.309] (II) Module modesetting: vendor="X.Org Foundation"
[    37.309] 	compiled for 1.18.4, module version = 1.18.4
[    37.309] 	Module class: X.Org Video Driver
[    37.309] 	ABI class: X.Org Video Driver, version 20.0
[    37.309] (II) UnloadModule: "modesetting"
[    37.309] (II) Unloading modesetting
[    37.309] (II) Failed to load module "modesetting" (already loaded, 0)
[    37.309] (II) LoadModule: "fbdev"
[    37.309] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    37.309] (II) Module fbdev: vendor="X.Org Foundation"
[    37.309] 	compiled for 1.18.1, module version = 0.4.4
[    37.309] 	Module class: X.Org Video Driver
[    37.309] 	ABI class: X.Org Video Driver, version 20.0
[    37.309] (II) UnloadModule: "fbdev"
[    37.309] (II) Unloading fbdev
[    37.309] (II) Failed to load module "fbdev" (already loaded, 0)
[    37.309] (II) LoadModule: "vesa"
[    37.309] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    37.309] (II) Module vesa: vendor="X.Org Foundation"
[    37.309] 	compiled for 1.18.1, module version = 2.3.4
[    37.309] 	Module class: X.Org Video Driver
[    37.309] 	ABI class: X.Org Video Driver, version 20.0
[    37.309] (II) UnloadModule: "vesa"
[    37.309] (II) Unloading vesa
[    37.309] (II) Failed to load module "vesa" (already loaded, 0)
[    37.309] (II) NOUVEAU driver Date:   Tue Dec 8 15:52:25 2015 +1000
[    37.309] (II) NOUVEAU driver for NVIDIA chipset families :
[    37.309] 	RIVA TNT        (NV04)
[    37.309] 	RIVA TNT2       (NV05)
[    37.309] 	GeForce 256     (NV10)
[    37.309] 	GeForce 2       (NV11, NV15)
[    37.309] 	GeForce 4MX     (NV17, NV18)
[    37.309] 	GeForce 3       (NV20)
[    37.309] 	GeForce 4Ti     (NV25, NV28)
[    37.309] 	GeForce FX      (NV3x)
[    37.309] 	GeForce 6       (NV4x)
[    37.309] 	GeForce 7       (G7x)
[    37.309] 	GeForce 8       (G8x)
[    37.309] 	GeForce GTX 200 (NVA0)
[    37.309] 	GeForce GTX 400 (NVC0)
[    37.309] (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
[    37.310] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    37.310] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    37.310] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[    37.310] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    37.310] (II) FBDEV: driver for framebuffer: fbdev
[    37.310] (II) VESA: driver for VESA chipsets: vesa
[    37.311] (EE) [drm] Failed to open DRM device for (null): -22
[    37.315] (WW) Falling back to old probe method for modesetting
[    37.315] (II) Loading sub module "fbdevhw"
[    37.315] (II) LoadModule: "fbdevhw"
[    37.315] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    37.326] (II) Module fbdevhw: vendor="X.Org Foundation"
[    37.326] 	compiled for 1.18.4, module version = 0.0.2
[    37.326] 	ABI class: X.Org Video Driver, version 20.0
[    37.326] (**) FBDEV(2): claimed PCI slot 0@0:2:0
[    37.326] (II) FBDEV(2): using default device
[    37.326] (WW) Falling back to old probe method for vesa
[    37.326] (EE) Screen 0 deleted because of no matching config section.
[    37.326] (II) UnloadModule: "modesetting"
[    37.326] (EE) Screen 0 deleted because of no matching config section.
[    37.326] (II) UnloadModule: "modesetting"
[    37.326] (II) FBDEV(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    37.326] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[    37.326] (==) FBDEV(0): RGB weight 888
[    37.326] (==) FBDEV(0): Default visual is TrueColor
[    37.326] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    37.326] (II) FBDEV(0): hardware: EFI VGA (video memory: 1920kB)
[    37.326] (II) FBDEV(0): checking modes against framebuffer device...
[    37.326] (II) FBDEV(0): checking modes against monitor...
[    37.326] (--) FBDEV(0): Virtual size is 800x600 (pitch 800)
[    37.326] (**) FBDEV(0):  Built-in mode "current": 48.0 MHz, 46.9 kHz, 75.1 Hz
[    37.326] (II) FBDEV(0): Modeline "current"x0.0   48.00  800 832 928 1024  600 604 608 624 -hsync -vsync -csync (46.9 kHz b)
[    37.326] (==) FBDEV(0): DPI set to (96, 96)
[    37.326] (II) Loading sub module "fb"
[    37.326] (II) LoadModule: "fb"
[    37.326] (II) Loading /usr/lib/xorg/modules/libfb.so
[    37.326] (II) Module fb: vendor="X.Org Foundation"
[    37.326] 	compiled for 1.18.4, module version = 1.0.0
[    37.326] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    37.326] (**) FBDEV(0): using shadow framebuffer
[    37.326] (II) Loading sub module "shadow"
[    37.326] (II) LoadModule: "shadow"
[    37.326] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    37.326] (II) Module shadow: vendor="X.Org Foundation"
[    37.326] 	compiled for 1.18.4, module version = 1.1.0
[    37.326] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    37.326] (II) UnloadModule: "vesa"
[    37.326] (II) Unloading vesa
[    37.327] (==) Depth 24 pixmap format is 32 bpp
[    37.327] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[    37.327] (==) FBDEV(0): Backing store enabled
[    37.327] (==) FBDEV(0): DPMS enabled
[    37.327] (==) RandR enabled
[    37.330] (II) SELinux: Disabled on system
[    37.330] (II) AIGLX: Screen 0 is not DRI2 capable
[    37.330] (EE) AIGLX: reverting to software rendering
[    38.268] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    38.268] (II) AIGLX: Loaded and initialized swrast
[    38.268] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    38.324] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    38.324] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    38.324] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    38.324] (II) LoadModule: "libinput"
[    38.324] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    38.325] (II) Module libinput: vendor="X.Org Foundation"
[    38.325] 	compiled for 1.18.4, module version = 0.18.0
[    38.325] 	Module class: X.Org XInput Driver
[    38.325] 	ABI class: X.Org XInput driver, version 22.1
[    38.325] (II) Using input driver 'libinput' for 'Power Button'
[    38.325] (**) Power Button: always reports core events
[    38.325] (**) Option "Device" "/dev/input/event3"
[    38.325] (**) Option "_source" "server/udev"
[    38.325] (II) input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
[    38.325] (II) input device 'Power Button', /dev/input/event3 is a keyboard
[    38.368] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[    38.368] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    38.368] (**) Option "xkb_model" "pc105"
[    38.368] (**) Option "xkb_layout" "us"
[    38.368] (II) input device 'Power Button', /dev/input/event3 is tagged by udev as: Keyboard
[    38.368] (II) input device 'Power Button', /dev/input/event3 is a keyboard
[    38.368] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    38.368] (II) No input driver specified, ignoring this device.
[    38.368] (II) This device may have been added with another device file.
[    38.369] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    38.369] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    38.369] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    38.369] (II) Using input driver 'libinput' for 'Power Button'
[    38.369] (**) Power Button: always reports core events
[    38.369] (**) Option "Device" "/dev/input/event2"
[    38.369] (**) Option "_source" "server/udev"
[    38.369] (II) input device 'Power Button', /dev/input/event2 is tagged by udev as: Keyboard
[    38.369] (II) input device 'Power Button', /dev/input/event2 is a keyboard
[    38.400] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event2"
[    38.400] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    38.400] (**) Option "xkb_model" "pc105"
[    38.400] (**) Option "xkb_layout" "us"
[    38.400] (II) input device 'Power Button', /dev/input/event2 is tagged by udev as: Keyboard
[    38.400] (II) input device 'Power Button', /dev/input/event2 is a keyboard
[    38.400] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[    38.400] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    38.400] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    38.400] (II) Using input driver 'libinput' for 'Sleep Button'
[    38.400] (**) Sleep Button: always reports core events
[    38.400] (**) Option "Device" "/dev/input/event1"
[    38.400] (**) Option "_source" "server/udev"
[    38.400] (II) input device 'Sleep Button', /dev/input/event1 is tagged by udev as: Keyboard
[    38.400] (II) input device 'Sleep Button', /dev/input/event1 is a keyboard
[    38.432] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[    38.432] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[    38.432] (**) Option "xkb_model" "pc105"
[    38.432] (**) Option "xkb_layout" "us"
[    38.432] (II) input device 'Sleep Button', /dev/input/event1 is tagged by udev as: Keyboard
[    38.432] (II) input device 'Sleep Button', /dev/input/event1 is a keyboard
[    38.432] (II) config/udev: Adding input device PixArt Lenovo USB Optical Mouse (/dev/input/event5)
[    38.432] (**) PixArt Lenovo USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[    38.432] (**) PixArt Lenovo USB Optical Mouse: Applying InputClass "libinput pointer catchall"
[    38.432] (II) Using input driver 'libinput' for 'PixArt Lenovo USB Optical Mouse'
[    38.432] (**) PixArt Lenovo USB Optical Mouse: always reports core events
[    38.432] (**) Option "Device" "/dev/input/event5"
[    38.432] (**) Option "_source" "server/udev"
[    38.492] (II) input device 'PixArt Lenovo USB Optical Mouse', /dev/input/event5 is tagged by udev as: Mouse
[    38.492] (II) input device 'PixArt Lenovo USB Optical Mouse', /dev/input/event5 is a pointer caps
[    38.536] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:17EF:600E.0002/input/input7/event5"
[    38.536] (II) XINPUT: Adding extended input device "PixArt Lenovo USB Optical Mouse" (type: MOUSE, id 9)
[    38.536] (**) Option "AccelerationScheme" "none"
[    38.536] (**) PixArt Lenovo USB Optical Mouse: (accel) selected scheme none/0
[    38.536] (**) PixArt Lenovo USB Optical Mouse: (accel) acceleration factor: 2.000
[    38.536] (**) PixArt Lenovo USB Optical Mouse: (accel) acceleration threshold: 4
[    38.596] (II) input device 'PixArt Lenovo USB Optical Mouse', /dev/input/event5 is tagged by udev as: Mouse
[    38.596] (II) input device 'PixArt Lenovo USB Optical Mouse', /dev/input/event5 is a pointer caps
[    38.596] (II) config/udev: Adding input device PixArt Lenovo USB Optical Mouse (/dev/input/mouse0)
[    38.596] (II) No input driver specified, ignoring this device.
[    38.596] (II) This device may have been added with another device file.
[    38.596] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event9)
[    38.596] (II) No input driver specified, ignoring this device.
[    38.596] (II) This device may have been added with another device file.
[    38.597] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event10)
[    38.597] (II) No input driver specified, ignoring this device.
[    38.597] (II) This device may have been added with another device file.
[    38.597] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event8)
[    38.597] (II) No input driver specified, ignoring this device.
[    38.597] (II) This device may have been added with another device file.
[    38.597] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    38.597] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    38.597] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    38.597] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    38.597] (**) AT Translated Set 2 keyboard: always reports core events
[    38.597] (**) Option "Device" "/dev/input/event4"
[    38.597] (**) Option "_source" "server/udev"
[    38.597] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event4 is tagged by udev as: Keyboard
[    38.597] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event4 is a keyboard
[    38.628] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    38.628] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[    38.628] (**) Option "xkb_model" "pc105"
[    38.628] (**) Option "xkb_layout" "us"
[    38.628] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event4 is tagged by udev as: Keyboard
[    38.628] (II) input device 'AT Translated Set 2 keyboard', /dev/input/event4 is a keyboard
[    38.628] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)
[    38.628] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    38.628] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchscreen catchall"
[    38.628] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    38.628] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    38.628] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    38.628] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchscreen catchall"
[    38.628] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[    38.628] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    38.628] (**) Option "Device" "/dev/input/event6"
[    38.628] (**) Option "_source" "server/udev"
[    38.628] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event6 is tagged by udev as: Touchpad Touchscreen
[    38.628] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event6 is a touchpad
[    38.660] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event6"
[    38.660] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 11)
[    38.660] (**) Option "AccelerationScheme" "none"
[    38.660] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[    38.660] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    38.660] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    38.660] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event6 is tagged by udev as: Touchpad Touchscreen
[    38.660] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event6 is a touchpad
[    38.660] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[    38.660] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    38.661] (II) config/udev: Adding input device MSI WMI hotkeys (/dev/input/event7)
[    38.661] (**) MSI WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[    38.661] (**) MSI WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    38.661] (II) Using input driver 'libinput' for 'MSI WMI hotkeys'
[    38.661] (**) MSI WMI hotkeys: always reports core events
[    38.661] (**) Option "Device" "/dev/input/event7"
[    38.661] (**) Option "_source" "server/udev"
[    38.661] (II) input device 'MSI WMI hotkeys', /dev/input/event7 is tagged by udev as: Keyboard
[    38.661] (II) input device 'MSI WMI hotkeys', /dev/input/event7 is a keyboard
[    38.692] (**) Option "config_info" "udev:/sys/devices/virtual/input/input8/event7"
[    38.692] (II) XINPUT: Adding extended input device "MSI WMI hotkeys" (type: KEYBOARD, id 12)
[    38.692] (**) Option "xkb_model" "pc105"
[    38.692] (**) Option "xkb_layout" "us"
[    38.692] (II) input device 'MSI WMI hotkeys', /dev/input/event7 is tagged by udev as: Keyboard
[    38.692] (II) input device 'MSI WMI hotkeys', /dev/input/event7 is a keyboard
[   337.220] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event6 is tagged by udev as: Touchpad Touchscreen
[   337.220] (II) input device 'SynPS/2 Synaptics TouchPad', /dev/input/event6 is a touchpad
[   608.728] (II) UnloadModule: "libinput"
[   608.729] (II) UnloadModule: "libinput"
[   608.729] (II) UnloadModule: "libinput"
[   608.729] (II) UnloadModule: "libinput"
[   608.729] (II) UnloadModule: "libinput"
[   608.729] (II) UnloadModule: "libinput"
[   608.729] (II) UnloadModule: "libinput"
[   608.736] (II) Server terminated successfully (0). Closing log file.
Life is good but with Linux is even better!

User avatar
MiraclesHappen
Level 1
Level 1
Posts: 49
Joined: Sat Jun 16, 2018 1:44 am
Location: Cambodia
Contact:

Re: Nvidia GTX 1050 Ti and Intel Graphic & Blender

Post by MiraclesHappen » Tue Dec 18, 2018 9:07 pm

So it was just to output the terminal result??? :lol:

I've encountered a few problems in the process:

Once I switched to Intel from Prime and restarted the laptop, the black screen appeared but there was also a white hyphen on the top left which is normally intermittent but in this case was not. The laptop was totally frozen so I couldn't use CTRL + ALT + F1.

I only managed to make it work again in Safe Mode, but in safe mode Prime doesn't work because the graphic cards, as you know, are not loaded and the
system uses the CPU instead. The display was also weird (first time this happens), my display is 1920 x 1080 but in this case it was 960 x 720 and I couldn't switch it to normal because no other options were available and the display could not be detected automatically.

I input the command: sudo prime-select nvidia; reboot (thank you, that's a life saver)
and then outputted the log as you requested.

The only reason why I didn't boot my machine with 4.15.0-20 kernel is because I read a warning message in the Updater saying that booting the system with an older kernel can mess up the system so it is not recommended. However, when in safe mode, there is a selection of a few kernels available to boot the system so I will try it in the future because, this is my main laptop I use for my projects and I need it to be as stable as possible. I'll reboot the laptop with the kernel you suggested once I finish rendering my animation in Blender.

Thanks!
Life is good but with Linux is even better!

User avatar
roblm
Level 9
Level 9
Posts: 2978
Joined: Sun Feb 24, 2013 2:41 pm

Re: Nvidia GTX 1050 Ti and Intel Graphic & Blender

Post by roblm » Wed Dec 19, 2018 5:55 pm

MiraclesHappen wrote: The only reason why I didn't boot my machine with 4.15.0-20 kernel is because I read a warning message in the Updater saying that booting the system with an older kernel can mess up the system so it is not recommended.
I think that message warns that installing any kernel can cause problems.


Select the Intel GPU again and reboot. Enter Recovery Mode and select “root - drop to root shell prompt”.
Press ENTER.
Type this command: prime-select query
The output should say intel

If it does say intel, then type this command: ls /etc/X11

Do you see a file named xorg.conf? I’m not looking for a file with a date attached to it, such as xorg.conf12192018

Use the sudo prime-select nvidia; reboot command to switch back to the Nvidia GPU and reboot

User avatar
MiraclesHappen
Level 1
Level 1
Posts: 49
Joined: Sat Jun 16, 2018 1:44 am
Location: Cambodia
Contact:

Re: Nvidia GTX 1050 Ti and Intel Graphic & Blender

Post by MiraclesHappen » Thu Dec 20, 2018 3:34 am

Hi Robim

root - drop to root shell prompt

When I input the above, I get an error which I've attached here

Code: Select all

 ~ $ root - drop to root shell prompt
Couldn't find font "-adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1",
trying "fixed". Please fix your system so helvetica can be found, 
this font typically is in the rpm (or pkg equivalent) package 
XFree86-[75,100]dpi-fonts or fonts-xorg-[75,100]dpi.
Warning in <TApplication::GetOptions>: macro drop not found
Warning in <TApplication::GetOptions>: macro to not found
Warning in <TApplication::GetOptions>: macro root not found
Warning in <TApplication::GetOptions>: macro shell not found
Warning in <TApplication::GetOptions>: macro prompt not found
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   5.34/30     23 April 2015   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

ROOT 5.34/30 (heads/v5-34-00-patches@v5-34-28-57-gec27989, Apr 05 2016, 13:55:00 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
Error: cannot open file "DllImport.h"  (tmpfile):2:
*** Interpreter error recovered ***
root [0] 
root [0] prime-select query
Error: Symbol prime is not defined in current scope  (tmpfile):1:
Error: Invalid type 'select' in declaration of 'query' (tmpfile):1:
Error: Symbol select query is not defined in current scope  (tmpfile):1:
(const int)0
*** Interpreter error recovered ***
root [1] 
.
It seems that some fonts are missing but when I got to the suggested XFree-86 package I discovered that I have to pay for these fonts !!!
I can't stand Windows or anything related to it and the last thing I want is having something installed in my core system (root) related to it. If you know of an alternative to find out the problem I would really appreciate. The program Root also seems to be rather dated (2015).

Yeah, I had a look at their website (CERN) and it looks pretty fancy and up to date to me but before doing anything, I just want to make sure they don't put any Windows BS in my system or they do not accelerate any of the particles in my laptop just for the fun of it :roll: . I almost smashed my old laptop against the wall because of Windows 10 but luckily it now works perfectly fine with Lubuntu :mrgreen: !!!

I only allow Windows programs (primarily games and LMMS-related Vsts) to run with either Wine or PlayonLinux.

I couldn't get any further after that so I wait for further instructions.

In the meantime, I've updated the new kernel - this is what they say to us newbies :( who are afraid of messing up the system...

"The Linux Kernel is responsible for hardware and drivers support. Note that this update will not remove your existing kernel. You will still be able to boot with the current kernel by choosing the advanced options in your boot menu. Please be cautious though.. kernel regressions can affect your ability to connect to the Internet or to log in graphically. DKMS modules are compiled for the most recent kernels installed on your computer. If you are using proprietary drivers and you want to use an older kernel, you will need to remove the new one first.
Packages included in this update: linux-headers-4.15.0-43 linux-headers-4.15.0-43-generic linux-image-4.15.0-43-generic linux-modules-4.15.0-43-generic linux-modules-extra-4.15.0-43-generic"

The kernel update arrived while I'm writing to you so I haven't tested it yet but if it fixes the problem, I'll let you know! :D

Thanks for helping me out.
Life is good but with Linux is even better!

User avatar
roblm
Level 9
Level 9
Posts: 2978
Joined: Sun Feb 24, 2013 2:41 pm

Re: Nvidia GTX 1050 Ti and Intel Graphic & Blender

Post by roblm » Thu Dec 20, 2018 9:52 am

MiraclesHappen wrote:
Thu Dec 20, 2018 3:34 am

root - drop to root shell prompt

When I input the above, I get an error which I've attached here

Code: Select all

 ~ $ root - drop to root shell prompt
[code]Couldn't find font "-adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1",
trying "fixed". Please fix your system so helvetica can be found, 
this font typically is in the rpm (or pkg equivalent) package 
XFree86-[75,100]dpi-fonts or fonts-xorg-[75,100]dpi.
I’ve never seen that message in Recovery Mode, nor any other topic that I’ve been involved with, where Recovery Mode had to be used, and that’s a lot of topics. I did a Google search using:
Couldn't find font "-adobe-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1"

This web page had some relevant info but it’s from 2011. Look at user lixo1’s fifth post:
https://root-forum.cern.ch/t/adobe-helv ... 1-04/12319

If you open the Synaptic Package Manager and type XFree86 in the search window, then these 3 packages are available:
ttf-xfree86-nonfree
ttf-xfree86-nonfree-syriac
t1-xfree86-nonfree


You can then search for xfonts and these two packages are available:
xfonts-75dpi
xfonts-100dpi


You can then search for xfstt but xfs is not available.

The last step listed by lixo1 is to Recompile root, but I don’t think it’s necessary.

User avatar
MiraclesHappen
Level 1
Level 1
Posts: 49
Joined: Sat Jun 16, 2018 1:44 am
Location: Cambodia
Contact:

Re: Nvidia GTX 1050 Ti and Intel Graphic & Blender

Post by MiraclesHappen » Tue Dec 25, 2018 3:19 am

I apologize again.... I did something wrong and I had to reinstall the system ex novo (Cinnamon 18.3, 64) and now I have a more urgent problems because
I can't install Wine and some system apps seem to behave oddly so I'm starting a new post.
I will definitely get back here once I'm done!

In the meantime thanks!

UPDATE 27 DEC 2018
Because of all the troubles I had to go through reinstalling the system (I even had problems booting from USB), I've decided to wait until Nvidia finally understands that they have to release an open source driver for us just like Intel does and/or a new kernel or system where this problem is finally fixed. :idea:
Life is good but with Linux is even better!

Post Reply

Return to “Graphics Cards & Monitors”