LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Applications open barely visible, restart required (https://www.linuxquestions.org/questions/linux-newbie-8/applications-open-barely-visible-restart-required-4175614342/)

phosphenes 09-22-2017 11:19 PM

Applications open barely visible, restart required
 
2 Attachment(s)
Hi guys. I've recently switched from Windows 8.1 to Linux Mint 18.2 Cinnamon. In Windows, when I hadn't rebooted in a while, left and right click would switch, requiring me to restart to fix it. I figured when sometimes I opened an application (folder or program, afai have noticed) and I thought nothing happened, only to realize that it *did* in fact open, but so faint I can barely make it out, it'd be the Linux equivalent.
This also changes applications that had been open beforehand, so when I want to revisit my browser for example, it's just as invisible.

However, the frequency in which this occurs has increased. Eg. it happened last night, and this morning, less than 12h apart (during which I didn't do anything noteworthy).

I've searched for (solutions to) this problem before, and maybe it's in my wording, but I haven't found anything the like. Please help! I activated my firewall, but could this be something virus-like?


EDIT: system details

System: Host: xxx-Aspire-E5-571G Kernel: 4.8.0-53-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.2 Sonya
Machine: Mobo: Acer model: EA50_HB v: V1.04
Bios: Insyde v: V1.04 date: 05/06/2014
CPU: Dual core Intel Core i5-4210U (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9577
clock speeds: max: 2700 MHz 1: 2428 MHz 2: 2387 MHz 3: 2383 MHz
4: 2485 MHz
Graphics: Card-1: Intel Haswell-ULT Integrated Graphics Controller
bus-ID: 00:02.0
Card-2: NVIDIA GM108M [GeForce 840M] bus-ID: 03:00.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau
Resolution: 1366x768@60.00hz
GLX Renderer: Mesa DRI Intel Haswell Mobile
GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio: Card-1 Intel 8 Series HD Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Intel Haswell-ULT HD Audio Controller
driver: snd_hda_intel bus-ID: 00:03.0
Sound: Advanced Linux Sound Architecture v: k4.8.0-53-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: 4000 bus-ID: 01:00.1
IF: enp1s0f1 state: down mac: <filter>
Card-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
driver: ath9k bus-ID: 02:00.0
IF: wlp2s0 state: up mac: <filter>
Drives: HDD Total Size: 1000.2GB (4.9% used)
ID-1: /dev/sda model: WDC_WD10JPVX size: 1000.2GB
Partition: ID-1: / size: 909G used: 38G (5%) fs: ext4 dev: /dev/sda2
ID-2: swap-1 size: 8.48GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 62.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 248 Uptime: 2:21 Memory: 3174.3/7874.2MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35

edit 2: two exemplifying screenshots, i changed my wallpaper so you could get a better look. my browser is open but barely visible. the menu appears unchanged.

ondoho 09-23-2017 05:51 PM

Quote:

Originally Posted by phosphenes (Post 5761878)
In Windows, when I hadn't rebooted in a while, left and right click would switch, requiring me to restart to fix it. I figured when sometimes I opened an application (folder or program, afai have noticed) and I thought nothing happened, only to realize that it *did* in fact open, but so faint I can barely make it out, it'd be the Linux equivalent.
This also changes applications that had been open beforehand, so when I want to revisit my browser for example, it's just as invisible.

this is voodoo talk.
in gnu/linux, we like to deal with facts.
please define "barely visible".
maybe a screenshot?
is the system usable otherwise?

IsaacKuo 09-23-2017 09:03 PM

Sounds like a problem with 3d acceleration in the video driver. You could try turning off window compositing (I don't know where to change that in Cinnamon). Turning off window compositing will "fix" this bug, but you still won't have a fully functional video driver.

The fundamental problem is likely that the open source nouveau driver can't handle your NVIDIA chip properly, and your laptop has hybrid graphics which tends to be more complex to get fully functional.

The simpler strategy to getting everything working well is to deactivate the NVIDIA chip entirely - using only the (well supported) Intel graphics chip. Weird stuff may be happening because the hybrid graphics is trying to switch or something, and things go funny. See if there's a BIOS setting to deactivate the NVIDIA chip.

After you get that straightened out, you can see about getting hybrid graphics and the proprietary NVIDIA driver installed/working. I think that installing the proprietary driver in Mint is a simplified process where you just go to the GUI software update/installation thingy and tell it to install the proprietary/closed source drivers. Unfortunately, this may not make everything "just work" because hybrid graphics is more complex. And maybe it might even make things even more complicated.

So, my strategy to start with would be to try and reduce the variables and deactivate the NVIDIA chip in the BIOS. This will essentially eliminate hybrid graphics as well, reverting the system to a more traditional setup that Linux will easily be able to autoconfigure by itself.

phosphenes 09-24-2017 03:07 AM

2 Attachment(s)
@IsaacKuo, ooooo you sound like you really know your shit! I've meanwhile gone into my driver manager, turns out there's an nvidia driver recommended, i switched to it and restarted (first screenshot). after that, i found an nvidia symbol to my lower right, upon clicking it i see that nvidia is now used in performance mode, intel in power saving mode (second screenshot). does that sound like a solution to you? i don't know why nvidia wasn't originally enabled, i certainly didn't mess with those settings when i first got linux.

@ondoho, should it happen again, i'll take a screenshot. by "barely visible" i mean they're so transparent that i can hardly distinguish them from my background.
is it usable otherwise? uh, i'm not sure how to answer that. at that point, i'm dealing with almost invisible programs. the commands i can graphically locate still have their intended effect, though. i always restart right away.
"voodoo talk" "we like to deal with facts" i appreciate your reply, but i'm not sure if you're here to help or feel superior. i've had linux for about a fortnight, idk why you're talking down to me.

ondoho 09-24-2017 03:44 AM

well i'm guessing you're going down the right path with IsaacKuo's guess.
personally, i don't like to guess but rather get all facts on the table first...

to expand on this:
Quote:

Originally Posted by phosphenes (Post 5762228)
"voodoo talk" "we like to deal with facts" i appreciate your reply, but i'm not sure if you're here to help or feel superior. i've had linux for about a fortnight, idk why you're talking down to me.

i'm not even sure what you were saying, but clearly you were trying to connect some misbehavior with your mouse with your display problems, because maybe they have the same root...
this is very common in the windows community, because the operating system is closed source, so people who want to fix things themselves are actually forced to this sort of guesswork most of the time.
But Linux is open source, and there's no need to mix facts with suspicion and "maybe it works if you reboot while standing on one leg".

IsaacKuo 09-24-2017 07:24 AM

I didn't just guess...I mean, it was a guess but it was an educated guess based on clues in this section:
Quote:

Graphics: Card-1: Intel Haswell-ULT Integrated Graphics Controller
bus-ID: 00:02.0
Card-2: NVIDIA GM108M [GeForce 840M] bus-ID: 03:00.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau
That, and someone else was having problems with hybrid graphics the other day (which I couldn't help much with, since I don't have any such laptop myself).

Sometimes, there's enough detail already described. Sometimes not.

IsaacKuo 09-24-2017 07:27 AM

Quote:

Originally Posted by phosphenes (Post 5762228)
@IsaacKuo, ooooo you sound like you really know your shit! I've meanwhile gone into my driver manager, turns out there's an nvidia driver recommended, i switched to it and restarted (first screenshot). after that, i found an nvidia symbol to my lower right, upon clicking it i see that nvidia is now used in performance mode, intel in power saving mode (second screenshot). does that sound like a solution to you? i don't know why nvidia wasn't originally enabled, i certainly didn't mess with those settings when i first got linux.

@ondoho, should it happen again, i'll take a screenshot. by "barely visible" i mean they're so transparent that i can hardly distinguish them from my background.
is it usable otherwise? uh, i'm not sure how to answer that. at that point, i'm dealing with almost invisible programs. the commands i can graphically locate still have their intended effect, though. i always restart right away.
"voodoo talk" "we like to deal with facts" i appreciate your reply, but i'm not sure if you're here to help or feel superior. i've had linux for about a fortnight, idk why you're talking down to me.

From what LITTLE I know about hybrid graphics, this looks good to me. I mean, it looks great. But I don't have any hybrid graphics laptop, I don't use Cinnamon, I don't use Mint (I use Debian), and I don't have any vaguely modern nVidia chips so I don't use the nVidia proprietary drivers (I use noveau, which actually works better on very old nVidia chips).

So you know, considering how I have no direct experience with most of how your system is set up, yeah it looks great to me! Take that for whatever it's worth...

phosphenes 09-25-2017 01:02 AM

5 Attachment(s)
YOU GUYS, IT HAPPENED AGAIN. I have screenshots. you can see the original program opened, the "do i want to save the screenshot?", the browser open, the "do i want to quit" menu open. i wanted to give you different perspectives. the "menu" menu still worked, i thought i took a screenshot of that too, but apparently it didn't work. when i restarted, my wallpaper was switched to the default one.

as you can see, the nvidia settings remained the same.

edit: censored bc idk if i'm allowed to post nudity (and i don't want distracting controversy), but i made sure the windows were still "visible" despite (i dragged the original program over to the side so you could "see" more).

edit 2: i don't know if that's important, but i have three workspaces occupied. my browser always swims in open tabs (there are 19 open ones on WS1, 16 on WS2, 5 on WS3). opera never crashed on me though. that's probably more "voodoo talk," though. ;)

phosphenes 09-25-2017 01:06 AM

1 Attachment(s)
here's the one of what i saw when it rebooted.

ondoho 09-25-2017 01:44 AM

i see nothing "barely visible" on any of the screenshots.
the only extraordinary things i see: the pink square (but i think that's there to "cover nudity"?), and the fact that the first 5 screenshots are pinkish, and the last one gray.

phosphenes 09-25-2017 01:57 AM

that's the thing, everything i mentioned is there, opened, but you can't see it unless you really squint. look at the left pink side, you can kinda see it there.

phosphenes 09-25-2017 01:58 AM

do you understand my problem now? when i open an application, it looks like on the screenshots.

ondoho 09-25-2017 01:59 AM

oh yes.
but why pink and not grey?

anyhow, somwething to do with compositing. try to disable it.

phosphenes 09-25-2017 02:27 AM

1 Attachment(s)
happy to be on the same page now.

why pink? lol because i made it pink. personal preference. (oh wait, you mean the censorship? sorry about the confusion, i consider that purple. it was the site's default, i didn't think much of it)

disabling compositing; most of the links i found date considerably back (think years), i've found a couple people saying that cinnamon is designed to always be composited, as a core feature. blurgh. if i switched to xfce or the like, would that fix it (or could i fix it)? what about if i switched to a different OS? (i've been thinking about trying out peach.)

i also found this: "Muffin is a window manager performing compositing as well based on GTK+ and Clutter and used in Cinnamon desktop environment."
if i uninstall, is that enough? here's a newbie question; is muffin the *only* application that causes compositing?
here's another screenshot, of what happens when i want to mark it for complete removal. cinnamon needs to be removed, too :(

basically, what the hell do i do?

IsaacKuo 09-25-2017 03:19 AM

Try switching to "Intel (Power Saving Mode)". That way, you'll be using the (well supported) Intel graphics chip instead of the nVidia graphics chip. It might help if there is a BIOS setting to disable the nVidia graphics chip entirely.

Don't uninstall the window manager. Without the window manager, there will be nothing to manage the windows. You can actually run just a window manager without a full desktop environment, but you can't run a desktop environment without a window manager.

Installing another desktop environment and/or window manager will give you more choices in case things don't work well with cinnamon. You can have many different desktop environments installed at the same time; the graphical login manager will give you a way to change what DE/WM you use when you log in. Historically, Ubuntu and Ubuntu based linux distributions have not made this obvious (Mint is Ubuntu based). Unlike Debian, which has always supported multiple desktop environments/window managers in a straightforward obvious way.

phosphenes 09-25-2017 03:53 AM

alrighty, thank you. i switched to Intel and dicked around in my BIOS but couldn't find a way to disable Nvidia.

ondoho 09-25-2017 11:54 AM

Quote:

Originally Posted by ondoho (Post 5762238)
well i'm guessing you're going down the right path with IsaacKuo's guess.
personally, i don't like to guess but rather get all facts on the table first...

Quote:

Originally Posted by phosphenes (Post 5761878)
Graphics: Card-1: Intel Haswell-ULT Integrated Graphics Controller
bus-ID: 00:02.0
Card-2: NVIDIA GM108M [GeForce 840M] bus-ID: 03:00.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau
Resolution: 1366x768@60.00hz
GLX Renderer: Mesa DRI Intel Haswell Mobile
GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes

what does this "failed nouveau" mean?
please post the output of

Code:

lspci -k | grep -iEA5 'vga|3d|display'

phosphenes 09-25-2017 12:05 PM

yes, of course.

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
Subsystem: Acer Incorporated [ALI] Haswell-ULT Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
Subsystem: Acer Incorporated [ALI] Haswell-ULT HD Audio Controller
--
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev ff)
Kernel modules: nvidiafb, nouveau, nvidia_375_drm, nvidia_375

ondoho 09-25-2017 12:18 PM

NO kernel driver is in use for the nvidia card.
you need to fix that.
not saying it will help with those invisible windows though.

phosphenes 09-25-2017 12:51 PM

did you learn that because there's no "Kernel driver in use" line between the 3D controller Nvidia line and the kernel modules line?
i'm guessing this doesn't have anything to do with switching to Intel as my active graphics card.

i tried searching for how to put one into use for it but i'm very unsure i found what i was looking for. do i just assign one of the kernel modules to it? if so, does which one matter? (also, uh, how do i do that? i only found a command to see if the Nvidia driver is in use, and one for finding out about the details of it:
Code:

modinfo nvidia_experimental_310
is that helpful to me at all? i mean... do i need to be such a pussy about putting commands into my terminal? i'm worried i'll "break" something, but rather than break that i'll change something i then won't be able to clearly identify while wanting it undone. although, mostly, when entering ill-thought out commands, i just got error msgs and i can live with those. (lol i'm two weeks in and already fucked up a lot. but i guess such is the process of learning))

ondoho 09-26-2017 12:46 AM

Quote:

Originally Posted by phosphenes (Post 5762826)
did you learn that because there's no "Kernel driver in use" line between the 3D controller Nvidia line and the kernel modules line?
i'm guessing this doesn't have anything to do with switching to Intel as my active graphics card.

ok, i didn't take that into account.
truth be told i know nothing about hybrid graphics.
one thing i forgot to ask is, what window is almost invisible, which app is it? is it always the same one?

since all this is not really going anywhere, you should try to
  • adjust your window managers settings somehow
  • try a different window manager
  • try a different DE
  • try a different distro

phosphenes 09-26-2017 01:04 PM

that's a GREAT question. it's not always the same one, i had it happen again just now without opening anything anew, but by minimizing and trying to maximize my browser again. (btw i added some screenshots to the original post, for further/easier understanding)
But I realized that without fail, this happens when I am on the bare desktop (=when i'm facing my wallpaper). it never happens when i have sth open and want to open another thing, I THINK. i've only now noticed the connection.

anyway, thanks a ton, i'll go with your suggestions, leave Cinnamon and see where that takes me.

ondoho 09-27-2017 05:27 AM

re post #1: that's clearly a browser window with youtube.com opened.

troubleshooting:
  • see if your browser is running even after you closed it completely (chromium-based browser do that) => 'pidof chromium' or some such
  • try a different browser
  • try a different web page (no video, e.g. this page)

phosphenes 09-27-2017 09:39 AM

uh, how come knowing i was on yt changed anything?

ondoho 09-28-2017 03:30 AM

^ because the flash/html5 video might be using hardware accelaration, which brings us back to the non-working nvidia card etc. etc.

edit:
look, there's no hand holding step by step walkthrough for this situation.
you have to roll up your sleeves and get your hands dirty.

phosphenes 09-28-2017 05:12 AM

Quote:

Originally Posted by ondoho (Post 5763853)
edit:
look, there's no hand holding step by step walkthrough for this situation.
you have to roll up your sleeves and get your hands dirty.

legit not what i'm asking for.

if we're back to Nvidia not working, then Intel isn't working either, since it happened with both. that's why i ruled it out. i've meanwhile switched DEs, so far it hasn't happened in xfce. if it does, i'll turn off compositing. if it does again, i'll switch distros. if it does again, well then i'll probably attempt to become a hybrid graphics expert. i don't currently have the time* to look into all the details, and no, i'm not asking you to, either. right now i'm putting it off since for the foreseeable future/circumstances, i have a game plan.

i'm not asking anything of you right now.
but while we're at it, thank you for all the help you've given me.

(*edit: i say i don't have the time because i've already put a lot of time into this. several hours in some instances; searching the web, forums, wiki and similar articles. it didn't help as much as it should have, probably because i'm embarrassingly new to everything. which is not an excuse, just an explanation. i've already gotten my hands dirty.)

ondoho 09-28-2017 05:24 AM

^ 'k, fair enough.

Quote:

Originally Posted by phosphenes (Post 5763886)
so far it hasn't happened in xfce. if it does, i'll turn off compositing.

well at least for xfce i know that this is possible, via settings gui.

phosphenes 09-28-2017 05:31 AM

I KNOW! i checked before changing to it. ;)

IsaacKuo 09-28-2017 09:34 AM

With a wide screen display such as yours, I like to use XFCE4's excellent implementation of vertical panel. As far as I'm aware so far, it's the only DE/WM which rotates text so I can have text labels on the window buttons.

Honestly, this is the "killer feature" which keeps me on XFCE4. Everything else (that I know of so far) only does horizontal text on window buttons, and I hate losing vertical screen space on the taskbar.

phosphenes 09-28-2017 02:22 PM

duuude. hella cool.

i just read that they're working on such an update/feature for cinnamon :) if that's of interest to you

phosphenes 10-19-2017 01:31 PM

hey, wanted to give a quick update (and i couldn't edit my first post):

not using Cinnamon seems to have solved this. i switched to xfce and voilą, things were fine.
alternatively, using Cinnamon without a custom wallpaper *might* do it also. i haven't sufficiently tested it.


All times are GMT -5. The time now is 04:30 PM.