[SOLVED] picture in picture with hybrid [optimus] graphics

[SOLVED] picture in picture with hybrid [optimus] graphics

Postby Aardwolf » Jul 31st, '15, 19:26

I'm very new to Mageia and even newer to this forum, so I have no idea if this is the right place to ask this, but I'll try anyway.
I seem to have two screens, fit into each other: Usually, everything is normal. However, immediately after login, there is a copy of the default mageia background in the top left corner, slightly larger than a quarter of the screen. Similarly, when the screen saver is on, I have two of those. One covering the entire screen, one the top left quarter. I have to move the cursor to the second one separately to get rid of it. Does anyone know how to handle this?
Thanks a lot and sorry if I posted to the wrong board.
Last edited by doktor5000 on Aug 9th, '15, 14:07, edited 1 time in total.
Reason: adjusted thread title
Aardwolf
 
Posts: 9
Joined: Jul 31st, '15, 19:21

Re: Screenception

Postby doktor5000 » Jul 31st, '15, 19:37

Hi there,

what desktop do you use, and could you upload a screenshot of your desktop please?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screenception

Postby Aardwolf » Jul 31st, '15, 20:35

Sorry, I wasn't able to make a screenshot of the screensaver or the initial screen, so I had to stick with a photo of the screensaver.
I'm using KDE.
Attachments
doublescreensaver.jpg
Sorry for lack of quality
doublescreensaver.jpg (103.04 KiB) Viewed 4316 times
Aardwolf
 
Posts: 9
Joined: Jul 31st, '15, 19:21

Re: Screenception

Postby Aardwolf » Jul 31st, '15, 20:37

this is what happens, when I move the cursor on the primary, but not the secondary screen
Attachments
doublescreensaver2.jpg
view after moving the cursor
doublescreensaver2.jpg (101.2 KiB) Viewed 4316 times
Aardwolf
 
Posts: 9
Joined: Jul 31st, '15, 19:21

Re: Screenception

Postby doktor5000 » Aug 1st, '15, 19:47

Seems your screen setup is borked or you have cloned output stacked on one display.
Run kscreen, either from systemsettings => display and monitor or from a terminal via kcmshell4 kscreen
and please post a screenshot from the configuration here.

Please also post the output of
Code: Select all
xrandr -q
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screenception

Postby Aardwolf » Aug 3rd, '15, 21:08

It may be a bad moment to bring this up but I also noticed that every time I try to open gamma in systemsettings => display and monitor, I simply get logged off. But I'll figure that out later.
Attachments
2.jpg
xrandr -q
2.jpg (52.86 KiB) Viewed 4283 times
1.jpg
kcmshell4 kscreen
1.jpg (49.62 KiB) Viewed 4283 times
Aardwolf
 
Posts: 9
Joined: Jul 31st, '15, 19:21

Re: Screenception

Postby doktor5000 » Aug 4th, '15, 17:47

With output usually text output is expected ;) but it was readable ...
So far only one monitor is seen, your laptop display which is running at 1920x1080.

Seems some more details are needed. Please show the output of
Code: Select all
lspcidrake -v | grep VGA

and attach your /etc/X11/xorg.conf and /var/log/Xorg.0.log here please. Also some more context information if you have some unusual multi-screen setup or something like that.

Also, you mentioned a second screen - did you refer to the "picture in picture" on your screenshots? Or do you actually have a second (external) monitor connected?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screenception

Postby Aardwolf » Aug 6th, '15, 21:04

Sorry, about that, still learning. :)
Actual output this time:
Code: Select all
Card:NVIDIA GeForce 420 series and later: NVIDIA Corporation|GK208M [GeForce GT 730M] [DISPLAY_VGA] (vendor:10de device:1290 subv:17aa subd:221d) (rev: a1)
Card:Intel 810 and later: Intel Corporation|4th Gen Core Processor Integrated Graphics Controller [DISPLAY_VGA] (vendor:8086 device:0416 subv:17aa subd:221d) (rev: 06)


I don't have any multi-screen setup, at least none that I know of. I was referring to the "screen in the screen". Sorry for the ambiguity.
Attachments
Xorg.0.log
/var/log/Xorg.0.log
(31.97 KiB) Downloaded 151 times
xorg.conf
/etc/X11/xorg.conf
(2.03 KiB) Downloaded 146 times
Last edited by doktor5000 on Aug 6th, '15, 21:22, edited 1 time in total.
Reason: added code tags
Aardwolf
 
Posts: 9
Joined: Jul 31st, '15, 19:21

Re: Screenception

Postby doktor5000 » Aug 6th, '15, 21:26

No need to worry ;)

Ok, so you have a hybrid graphics setup, usually referred to as optimus - one nvidia chip and one intel chip.
This is also visible in the xorg.conf, it configured two displays, one for each graphics chip - which is weird and I'd call that a bug.

To continue, I'd need to know some more details. Do you have a multi-boot setup, meaning do you have other operating systems on that box?
And are you interested more in powersaving or graphics performance? You basically have two choices:
- use bumblebee, which is a program to use one graphics chip by default (usually the intel one) and to be able to run graphics-intensive applications on the nvidia one if needed
- disable one of the graphics chips and only use the other one, this can be done in the BIOS
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screenception

Postby Aardwolf » Aug 6th, '15, 21:30

Ok, Thanks.
I do have a second operating system. I'd rather not tell you which one for fear of drawing your hate, but it starts with a W and ends with an 8. :)

The second option sounds more appealing to me, how would I do that?
Aardwolf
 
Posts: 9
Joined: Jul 31st, '15, 19:21

Re: Screenception

Postby doktor5000 » Aug 6th, '15, 21:49

I got no problem with windows, also running dualboot here for the few games that require directx 11, even if I don't use it more often then once every few months or so.

Actually it's pretty easy, get into your BIOS and look for graphics or display config.
Change it to integrated graphics, or select the intel graphics if it offers that. Disable OS detection for hybrid graphics if possible.

Windows should be fine on next boot. For Mageia you have to try, but you may need to boot to failsafe,
run drakx11 to select the intel graphics chip and then save and reboot.

Can you elaborate what model/make your laptop is?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screenception

Postby Aardwolf » Aug 6th, '15, 22:18

I've got a Lenovo Thinkpad T440p.
I feel slightly stupid for having to say this, but I'm not sure if I know how to get into the BIOS...
I'll try again tomorrow.
Aardwolf
 
Posts: 9
Joined: Jul 31st, '15, 19:21

Re: Screenception

Postby Aardwolf » Aug 6th, '15, 22:57

Ok, got it. It's just that this computer boots really fast and I only had very little time to press Enter. Anyway, I managed to get into BIOS and got to Config.
I had the following options:
-Network
-USB
-Keyboard/Mouse
-Display (!)
-Power
-Beep and Alarm
-CPU
-Intel (R) Smart Connect Tech

Now I tried Display (and the others as well but I guess Display's the right one). However, the only options there were
-Boot Display Device
-Total Graphics Memory
-Boot Time Extension

I guess the last two aren't really what I'm looking for... But Boot Display Device doesn't sound like the right thing either. Anyway. BDD has the following options:
-ThinkPad LCD
-Analog VGA
-Digital on ThinkPad
-Display on Dock

Did I miss something?
Aardwolf
 
Posts: 9
Joined: Jul 31st, '15, 19:21

Re: Screenception

Postby doktor5000 » Aug 8th, '15, 14:15

Yes, it should be under Display. This is what it should look like and looks like here on a T420: https://support.lenovo.com/us/en/documents/migr-76476
Seems for newer UEFI firmwares it doesn't always show up and I didn't find a BIOS simulator for the T440p here: http://service.lenovo.partner-managemen ... m?eid=1437

According to two german threads, lenovo doesn't offer that choice in UEFI anymore. You have to do that via the operating system software/drivers.
So you would have to install bumblebee: https://wiki.mageia.org/en/Bumblebee
(Apart from what that page says, bumblebee is now part of the official repositories. )
See also viewtopic.php?f=10&t=6943

There also seems to be a UEFI issue regarding this optimus support: https://forums.lenovo.com/t5/Linux-Disc ... -p/1386683
What UEFI version do you have? Can be seen on the first page at the top as "UEFI BIOS version".
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Screenception

Postby Akien » Aug 8th, '15, 17:24

As for the display configuration in Mageia, regardless of whether you will be using bumblebee or not, the produce is as follows:
- Run "XFdrake" (or "drakx11" which is the same program, or go to the display configuration wizard via the Control Center).
- Click on the "Graphic Card" button
- Select the Intel chipset (it should be automatically preselected)
- Confirm, and on the next screen which should ask you what you want to do of your "multiple head configuration", choose to configure only the Intel card. Trying to configure the Nvidia card will end up in a broken system sadly, as this utility does not know yet how to handle Optimus laptops (I know that OpenMandriva's control center has this feature now, I have to check the patches).

After confirming and rebooting, your laptop should work fine, using only the Intel IGP. If you want to use the nvidia GPU on a per-application basis (typically for games), then have a look at bumblebee as pointed out by doktor5000.

Hope this helps :)
Image
Co-leader of Mageia's packaging and development team (dev).
List of packages I maintain.
User avatar
Akien
 
Posts: 171
Joined: Jun 5th, '11, 22:54
Location: Brunswick, Germany

Re: Screenception

Postby Aardwolf » Aug 9th, '15, 13:48

Great, that worked perfectly, everything seems to be normal now.
I installed bumblebee anyway, doesn't seem to work though. But that doesn't really matter.
Thanks a lot everyone, especially doktor5000, for your neverending patience. :)
Aardwolf
 
Posts: 9
Joined: Jul 31st, '15, 19:21

Re: Screenception

Postby isadora » Aug 9th, '15, 13:52

Please Aardwolf, don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead. ;)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2744
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Screenception

Postby doktor5000 » Aug 9th, '15, 14:06

It would also be helpful if you would add a short explanation which steps fixed it for you?
Did you follow Akien's hints to use drakx11 to only configure the Intel chipset?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Video

Who is online

Users browsing this forum: No registered users and 1 guest