Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Multihead issue - have to start display settings
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
WodkaBylaZaSlona
n00b
n00b


Joined: 08 Mar 2016
Posts: 10

PostPosted: Wed Feb 15, 2017 9:11 pm    Post subject: Multihead issue - have to start display settings Reply with quote

Hi,

I'm trying to use an external monitor as a second one to my VN7-592G notebook. It is connected to HDMI interface (and Intel card). But it works strangely.

After a cold boot the monitor reports, that there is no signal on HDMI. I have to start KDE display settings and then connect an external monitor. Which is now visible, but I cannot change it's resolution.
If I close and start display settings one more time - it shows possible resolutions correctly.

Moreover, during startup of some steam games (for example Civilization VI), my external monitor disappears from display settings and reports "no signal" once again. After that I can start display settings, plug my monitor and everything seems to work.

Do I have to plug in and plug out my monitor several times per day ;)? What could be the root cause?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Fri Feb 17, 2017 8:38 am    Post subject: Reply with quote

This is more my experience / opinion

on my notebook with dedicated nvidia gpu, only the internal screen could be rendered with "opengl" games.

the solved it recently, so that when i play e.g. urbanterror from the tarball, in window mode, the external screen works. last previous 2 updates of nividia-drivers

I assume it is more hardware related, what my 660m gtx from nvidia can do or can't do.

--

There are several things to do:

The screen has to be recognized by the OS. so the edid has to be correct, cable should transmit it correctly. means the screen should not have a buggy firmware, cable should be correct, laptop should not have a buggy firmware.

the hardware should be able to drive the game + the ordinary x session. this may be impossible by the lack of power, possibilities of intel gpus + lack of software support. therefore i personally refuse to buy any intel related product, any intel gpu related notebook. they do not work in windows 10 / linux so far! In my personal eye to eye usecase. I do not really care when other claim they work. they did not work here at my spot with several different notebooks! There are still my bugs open regarding intel gpu / intel ivybridge gpu on kernel.org for over a year from intel guy at kernel.org.

you have to set up the X server correctly.
e.g. with nvidia properitary driver, i use nvidia-settings, to first initalize the screen where it should be virtually.
e.g. left of main screen, this resolution, this vfrq, active

--

Regarding your question

steam is buggy. I wanted to give it a try again a few days ago. It needs some outdated curl and some other libaries which do not exists on any up to date "secure" linux. So it won t work anyway

is it windows steam + wine?
or is it the gentoo provided steam?

steam has already runtime issues, I checked it a few days ago. there are several guys who had same issues. they do not fix it. they rely that you "OFFICALLY" run ubuntu 14.xx long term support. So basically you are not supported with gentoo anyway. When you read the replies there, you have to use ubuntu 14.xx, with outdated, insecure, crap ubuntu.... e.g. curl "3" outdated

is it just plain intel gpu notebook or combo of nvidia + intel gpu (you only noted intel gpu on top of hte page)

you should figure out, if its possible for those low powered intel gpus, to be able to provide fullscreen opengl game + external screen with ordinary x session. My nvidia gpu can not provide internal full screen opengl game (e.g. urbanterror) + external screen (vga i3wm session). It only works when the game is in window mode, else it was blank, recently, the game is now split over internal / external screen, misaligned.

--

The root cause:


Maybe misconfigured X-server, not correctly provided edid, bad cable(i highly doubt), bad firmware of monitor / notebook (possible), not possible because of Limitations of the software and / or hardware (most likely because intel gpus are just for use cases like windows 95).
Back to top
View user's profile Send private message
WodkaBylaZaSlona
n00b
n00b


Joined: 08 Mar 2016
Posts: 10

PostPosted: Sun Apr 02, 2017 12:23 am    Post subject: Reply with quote

I have to spend a lot of time to investigate all of this issues. And so far:
- most of them are kind of regression after sys-kernel/gentoo-sources-4.4.52

Using 4.4.52 kernel:
- external monitor works mostly fine (sometimes, after plug/unplug it cannot be recognized)
- I can use two displays without any issues (steam works well, steam games recognize a second display)
- unfortunately I cannot connect my TV (Samsung)

When I try to connect TV, there is "no signal", without any additional clues.

Using newer kernel then 4.4.52:
- even connection to an external monitor is "unstable. Every unplug and plug can result in "no signal".
- running steam cause "disconnection" of an external monitor. Even "xrandr" cause disconnection.
- TV does not work as well ;).

I've tried also sys-kernel/pf-sources. In case of that:
4.5_p4 works as good as 4.4.52-gentoo. 4.8_p8 work as bad as newer gentoo ones.

These problems seems to be related to intel video card drivers (Skylake - HD Graphics 530).

Any idea why newer kernels are worse? And how can I cannot my notebook to the TV?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sun Apr 02, 2017 4:58 am    Post subject: Reply with quote

usually the X server talks a lot / dmesg

screens should provide EDID files / data ... check that. that info is needed to proper setup the screen

Quote:
Skylake - HD Graphics 530


Sounds like very awesome, brand new hardware

kernel branch 4.10 or higher may be a better choice. Reading 4.4 indicates that you run stable. running "amd64" aka stable is not really recommended with brand new hardware. you miss fixes for new hardware with dated stable branch. e.g. mesa / xorg-server / intel drivers and such

my ~amd64 cause very few issues past years.

the intel gpu driver had also some debug tool shipped in portage.

--

my personal opinion, rant: I will never purchase any intel based gpu notebook anymore. Some have the nvidia gpu hard wired to the screen like mine. I had already my share of low performance intel gpu on my previous hardware. even on windows 10 with intel 5xxx cpu, the hybrid intel gpu / nvidia gpu causes performance issues regarding "opengl". When it does not work in windows, i do not expect it to work flawless in linux. it is an uefi bios / design issue in my point of view. they promise a lot but do not really deliver. my uefi has also an open bug. intel guy bugged me with tons of data on kernel.org but that guy never provided any fix. over 14 months old bug. my bug is related that the intel gpu is not wired to the lvds, and therefore backlight swichting needs rather very nasty software hack.
Back to top
View user's profile Send private message
WodkaBylaZaSlona
n00b
n00b


Joined: 08 Mar 2016
Posts: 10

PostPosted: Sun Apr 02, 2017 8:26 am    Post subject: Reply with quote

Roman_Gruber wrote:
usually the X server talks a lot / dmesg


In case of "no signal" issue there is nothing in dmesg as well as in Xorg.0.log. I can plug and unplug HDMI - nothing happens.

Roman_Gruber wrote:
screens should provide EDID files / data ... check that. that info is needed to proper setup the screen


How can I check it? It works without any problems under Windows.

Quote:

kernel branch 4.10 or higher may be a better choice. Reading 4.4 indicates that you run stable. running "amd64" aka stable is not really recommended with brand new hardware. you miss fixes for new hardware with dated stable branch. e.g. mesa / xorg-server / intel drivers and such

my ~amd64 cause very few issues past years.


I'm using ~amd64. I've decided to use kernel 4.4.52 cause it works the best for me (as I've mentioned in previous post).

Quote:

the intel gpu driver had also some debug tool shipped in portage.


I will check it.

--

Quote:

my personal opinion, rant: I will never purchase any intel based gpu notebook anymore. Some have the nvidia gpu hard wired to the screen like mine. I had already my share of low performance intel gpu on my previous hardware. even on windows 10 with intel 5xxx cpu, the hybrid intel gpu / nvidia gpu causes performance issues regarding "opengl". When it does not work in windows, i do not expect it to work flawless in linux. it is an uefi bios / design issue in my point of view. they promise a lot but do not really deliver. my uefi has also an open bug. intel guy bugged me with tons of data on kernel.org but that guy never provided any fix. over 14 months old bug. my bug is related that the intel gpu is not wired to the lvds, and therefore backlight swichting needs rather very nasty software hack.


I prefer intel/nvidia mixture as it provides both - performance and battery efficiency. And it works well.... under Windows ;)
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Apr 03, 2017 11:20 am    Post subject: Reply with quote

http://manpages.ubuntu.com/manpages/yakkety/man1/get-edid.1.html

Quote:
get-edid uses real mode calls to perform Data Display Channel (DDC)
transfers, or Linux i2c calls to perform Enhanced DDC transfers to
retrieve information from monitors, including identification strings,
supported sync ranges, available video modes, and video mode
parameters. Such information can be useful for configuring X Window
System servers in certain cases.

get-edid returns the raw Extended Display Identification Data (EDID)
block directly from the monitor, so the parse-edid command is available
to interpret it and generate a human-readable block of text information
that can also be included in a X11 xorg.conf file.


http://unix.stackexchange.com/questions/114359/how-to-get-edid-for-a-single-monitor

Quote:
I'm not that up on EDID and monitors but I did find this tool, monitor-edid which might be of use to you here as well.


Quote:

How to get EDID for a single monitor?
up vote
11
down vote
favorite
6


Pending an answer to xrandr detects amplifier as monitor a possible workaround is to blacklist devices with specific EDIDs. Unfortunately xrandr --verbose prints everything in a format which is cumbersome to parse and doesn't support querying single devices, and get-edid's output doesn't seem to be easy to map to xrandr's monitor IDs (for example DVI-1).



This is why I asked you to look for that!

Quote:
retrieve information from monitors, including identification strings,
supported sync ranges, available video modes, and video mode
parameters. Such information can be useful for configuring X Window
System servers in certain cases.


There are several choices to read out EDID.
That information will be helpful. It could be also a misconfigured gpu driver / kernel ... something else software related. I assume / expect your hardware is capable of parsing EDID data and handling that!

=> Extended Display Identification Data (EDID)
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Apr 03, 2017 11:22 am    Post subject: Reply with quote

e.g. what i instantly found on my box

Code:
get-edid
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 2
No EDID on bus 4
No EDID on bus 5
No byte reading on this bus...
Problem requesting slave address: Bad file descriptor
1 potential busses found: 3
256-byte EDID successfully retrieved from i2c bus 3
� �&x핣TL�&PT�6��p8&@4#6~�$��p8@0 5~��HC9GK�173HGE
A1�
Looks like i2c was successful. Have a good day.
  �T527C193BF10����������������������������������������������������������������ASUS-G75VW roman # xrandr --verbose
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
VGA-0 disconnected (normal left inverted right x axis y axis)
   Identifier: 0x27e
   Timestamp:  72677
   Subpixel:   unknown
   Clones:   
   CRTCs:      0 1 2 3
   Transform:  1.000000 0.000000 0.000000
               0.000000 1.000000 0.000000
               0.000000 0.000000 1.000000
              filter:
   CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
   BorderDimensions: 4
      supported: 4
   Border: 0 0 0 0
      range: (0, 65535)
   SignalFormat: VGA
      supported: VGA
   ConnectorType: VGA
   ConnectorNumber: 1
   _ConnectorLocation: 1
LVDS-0 connected primary 1920x1080+0+0 (0x280) normal (normal left inverted right x axis y axis) 382mm x 215mm
   Identifier: 0x27f
   Timestamp:  72677
   Subpixel:   unknown
   Gamma:      1.0:1.0:1.0
   Brightness: 1.0
   Clones:   
   CRTC:       0
   CRTCs:      0 1 2 3
   Transform:  1.000000 0.000000 0.000000
               0.000000 1.000000 0.000000
               0.000000 0.000000 1.000000
              filter:
   CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
   Backlight: 100
      range: (0, 100)
   EDID:
      00ffffffffffff000daf201700000000
      021501049026157802ed95a3544c9c26
      0f505400000001010101010101010101
      010101010101e13680ae703826403423
      36007ed71000001a1d2480a070381f40
      302035007ed71000001a000000fe0048
      4339474b803137334847450a00000000
      000041319e0000000002010a202000f3
   BorderDimensions: 4
      supported: 4
   Border: 0 0 0 0
      range: (0, 65535)
   SignalFormat: LVDS
      supported: LVDS
   ConnectorType: Panel
   ConnectorNumber: 0
   _ConnectorLocation: 0
  1920x1080 (0x280) 140.490MHz +HSync -VSync *current +preferred
        h: width  1920 start 1972 end 2007 total 2094 skew    0 clock  67.09KHz
        v: height 1080 start 1083 end 1089 total 1118           clock  60.01Hz
  1920x1080 (0x281) 92.450MHz +HSync -VSync
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock  44.45KHz
        v: height 1080 start 1083 end 1088 total 1111           clock  40.01Hz
DP-0 disconnected (normal left inverted right x axis y axis)
   Identifier: 0x282
   Timestamp:  72677
   Subpixel:   unknown
   Clones:   
   CRTCs:      0 1 2 3
   Transform:  1.000000 0.000000 0.000000
               0.000000 1.000000 0.000000
               0.000000 0.000000 1.000000
              filter:
   CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
   BorderDimensions: 4
      supported: 4
   Border: 0 0 0 0
      range: (0, 65535)
   SignalFormat: TMDS
      supported: TMDS
   ConnectorType: DisplayPort
   ConnectorNumber: 3
   _ConnectorLocation: 3
HDMI-0 disconnected (normal left inverted right x axis y axis)
   Identifier: 0x283
   Timestamp:  72677
   Subpixel:   unknown
   Clones:   
   CRTCs:      0 1 2 3
   Transform:  1.000000 0.000000 0.000000
               0.000000 1.000000 0.000000
               0.000000 0.000000 1.000000
              filter:
   CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
   BorderDimensions: 4
      supported: 4
   Border: 0 0 0 0
      range: (0, 65535)
   SignalFormat: TMDS
      supported: TMDS
   ConnectorType: HDMI
   ConnectorNumber: 2
   _ConnectorLocation: 2
DP-1 disconnected (normal left inverted right x axis y axis)
   Identifier: 0x284
   Timestamp:  72677
   Subpixel:   unknown
   Clones:   
   CRTCs:      0 1 2 3
   Transform:  1.000000 0.000000 0.000000
               0.000000 1.000000 0.000000
               0.000000 0.000000 1.000000
              filter:
   CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0
   BorderDimensions: 4
      supported: 4
   Border: 0 0 0 0
      range: (0, 65535)
   SignalFormat: DisplayPort
      supported: DisplayPort
   ConnectorType: DisplayPort
   ConnectorNumber: 3
   _ConnectorLocation: 3


I get EDID data for my dated VGA connector too. I mostly use VGA here. nvidia-settings also parses EDID for my HDMI on two different cheapy lcd televisions. I only use notebooks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum