[SOLVED] UI of some apps not responding but I know they're working and "could not enable discrete graphics"

I just got a new computer (Dell g3-3579) with an i7-8750h +GTX1050ti. I tried installing manjaro via manjaro-architect since I couldn't get the manjaro-kde.iso to boot. Then I ran into this type of issue:

here's a link to what I recorded on my phone (I was pressing ctrl + t then trying out typing "google.com" in the url bar).
https://drive.google.com/open?id=1mMB-YmL1BYZcD3IQZb1jiTZI7yILKbSL

What seems to be happening is that the app registers my clicks but doesn't update the UI or updates it in a buggy way?

This kind of thing also happens on steam and to most KDE apps (the panel, menu, settings manager, dolphin, etc.). This is the reason I'm on gnome right now. additionally, I can't seem to enable my nvidia graphics card:

Also, I can't seem to enable my nvidia gpu. linux-nvidia and linux-nvidia-390-xx makes me unable to boot. I also get "could not enable discrete graphics" errors

sudo systemctl status bumblebeed
● bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2018-06-10 22:04:26 EDT; 57min ago
 Main PID: 624 (bumblebeed)
    Tasks: 1 (limit: 4915)
   Memory: 1.4M
   CGroup: /system.slice/bumblebeed.service
           └─624 /usr/bin/bumblebeed --use-syslog

Jun 10 22:04:28 skynet-3579 bumblebeed[624]: /usr/bin/bumblebeed 3.2.1-2017-02-27-Format:%h$ started
Jun 10 22:04:26 skynet-3579 systemd[1]: Started Bumblebee C Daemon.
Jun 10 23:01:54 skynet-3579 bumblebeed[624]: Could not enable discrete graphics card

inxi -G gives me this:

Graphics:
  Card-1: Intel driver: i915 v: kernel 
  Card-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: N/A 
  Display: x11 server: N/A driver: intel resolution: <xdpyinfo missing> 
  OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) 
  v: 4.5 Mesa 18.1.1 

mhwd -li gives me this:

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-bumblebee            2018.05.04               false            PCI


Warning: No installed USB configs!

Try this


I did the first one with the TLP configuration already and it didn't work. I'm new to this so I don't know what the second one with the gpu temperature sensor data is asking me to do. I tried running nvidia-smi but I get this error:

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

Also, I noticed that there doesn't seem to be a nvidia driver installed even though I have video-hybrid-intel-nvidia-bumblebee enabled:

  Card-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: N/A 

I tried running primusrun-glxgears but I get this:

primus: fatal: Bumblebee daemon reported: error: Could not enable discrete graphics card

I just tried reinstalling the video-nvidia and rebooting. the system hangs on

Started TLP system startup/shutdown.

I logged in via the terminal.

mhwd -li gave me this:

e[1me[31m> e[mInstalled PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2018.05.04               false            PCI


e[1me[31mWarning: e[mNo installed USB configs!

inxi -G gave me this:

Graphics:  Card-1: Intel driver: i915 v: kernel 
           Card-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: nvidia v: 396.24 
           Display: server: X.org 1.19.6 driver: nvidia tty: 192x60 
           Message: Advanced graphics data unavailable in console. Try -G --display 

nvidia-sm gave me this:

Mon Jun 11 08:24:11 2018       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 396.24                 Driver Version: 396.24                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 105...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   35C    P8    N/A /  N/A |     13MiB /  4040MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0       835      G   /usr/lib/xorg-server/Xorg                      8MiB |
+-----------------------------------------------------------------------------+

Am I right in thinking that the nvidia gpu is still off?

to activate the second GPU, the nvidia one, you have to run a program by:
optirun glxgears
primusrun glxgears
something like that, depending on how you configured it ...

with the video-hybrid-intel-nvidia-bumblebee driveres enabled:
optirun glxgears:

[  255.620907] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card

[  255.620928] [ERROR]Aborting because fallback start is disabled.

primusrun glxgears:

primus: fatal: Bumblebee daemon reported: error: Could not enable discrete graphics card

with video-nvidia drivers:

optirun glxgears:

-bash: optirun: command not found

primusrun glxgears:

-bash: primusrun: command not found

Have you seen this post? Seems that was solved but i can't tell what is the solution ...

@bogdancovaciu solution is here: [SOLVED] NVIDIA PRIME synchronization

Well, thanks, but hopefully it will be useful for the OP, as i don't have any dual GPU setups.

I don't have time to do this tonight, will try that solution tomorrow.

Anyway, share your system info

inxi -SGxx

and check also a similar topic

I tried the solution @vfbsilva gave me but boot up still hangs at "Started TLP system startup/shutdown"

Note: I'm using systemd boot instead of grub because installing grub gives me something along the lines of "error:sda4 is not a block device"

the result of inxi -SGxx is:

  Host: manjaro Kernel: 4.17.0-2-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 8.1.1 Desktop: KDE Plasma 5.12.5 tk: Qt 5.11.0 dm: sddm 
  Distro: Manjaro Linux 17.1.10 Hakoila 
Graphics:
  Card-1: Intel driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
  Card-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: N/A 
  bus ID: 01:00.0 chip ID: 10de:1c8c 
  Display: x11 server: X.Org 1.19.6 driver: intel 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) 
  v: 4.5 Mesa 18.1.1 compat-v: 3.0 direct render: Yes 

Is this after applying the guide for PRIME sync? All the steps?
It doesn't look right to me, but I haven't experience on this setup. Maybe @asynec or @ryanmusante can take a look.

Does this mean you have logged in Plasma ?
Have you tried to startx from a TTY or check SDDM status?

That was with nonfree 0300. With the solution implemented:
inxi:

System:    Host: manjaro Kernel: 4.17.1-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.1.1 Console: N/A dm: sddm 
           Distro: Manjaro Linux 17.1.10 Hakoila 
Graphics:  Card-1: Intel driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
           Card-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] driver: nvidia v: 396.24 bus ID: 01:00.0 
           chip ID: 10de:1c8c 
           Display: server: X.org 1.19.6 driver: none tty: 192x60 
           Message: Advanced graphics data unavailable in console. Try -G --display 

also, startx gives me this with that solution:


X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.17.0-1-MANJARO x86_64 
Current Operating System: Linux manjaro 4.17.1-1-MANJARO #1 SMP PREEMPT Tue Jun 12 20:52:42 UTC 2018 x86_64
Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-4.17-x86_64.img root=PARTUUID=2f50b1cf-b200-49ae-8bf4-d65df9940c32 rw
Build Date: 20 May 2018  06:17:37PM
 
Current version of pixman: 0.34.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 13 09:33:39 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Parse error on line 49 of section Device in file /etc/X11/xorg.conf.d/90-mhwd.conf
	"Intel" is not a valid keyword in this section.
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Afterwards, I removed video-nvidia so I can boot into the UI and post this and, wierdly enough, KDE apps stopped buggin out when I had no mhwd configurations installed. However, now it can't recognize my TV (connected via HDMI). At this point in time,
mhwd -li results in:

Warning: No installed PCI configs!
Warning: No installed USB configs!

I just followed this tutorial:

And it worked. However, HDMI audio output not working but that's ok for now.

Update: I found out the best way to install manjaro on my computer is to use manjaro architect, install using systemd boot instead of grub, and select "install all free drivers"during display driver installation. After the install, follow the tutorial linked above

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by