You are not logged in.

#1 2011-03-22 19:17:12

dersd
Member
From: Karelia
Registered: 2011-03-22
Posts: 8

[SOLVED] Xorg and Intel 945G issue

Today I've upgraded software, log is here: http://sprunge.us/BTNj
And after reboot got strange issue: my monitor supports 1280x1024 resolution, but Xorg automatically set it to 1024x768 and 1280x1024 now not supported at all.

> xrandr                                                            ~
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0*
   800x600        60.3     56.2 
   848x480        60.0 
   640x480        59.9

Here's Xorg.log: http://sprunge.us/hJhf
Tried booting without KMS, but Xorg couldn't find any screen.

> lspci | grep VGA                                                                                              ~
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)

> cat /etc/X11/xorg.conf.d/10-monitor.conf                                                                      ~
Section "Monitor"
    Identifier    "Monitor0"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver    "intel"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection "Display"
        Depth     24
        Modes     "1280x1024_75.00"
    EndSubSection
EndSection

My old xorg.conf: http://sprunge.us/JEMJ

Last edited by dersd (2011-04-08 17:35:59)

Offline

#2 2011-04-07 15:00:19

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: [SOLVED] Xorg and Intel 945G issue

First, the current Intel driver needs KMS to run, you can't run X without it.

Second, do you have an Xorg.log where your sreen's native resolution was correctly detected?

Offline

#3 2011-04-07 15:02:43

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Xorg and Intel 945G issue

Moved to Applications & Desktop Environments.


ᶘ ᵒᴥᵒᶅ

Offline

#4 2011-04-07 16:09:58

dersd
Member
From: Karelia
Registered: 2011-03-22
Posts: 8

Re: [SOLVED] Xorg and Intel 945G issue

Marcel- wrote:

First, the current Intel driver needs KMS to run, you can't run X without it.

Second, do you have an Xorg.log where your sreen's native resolution was correctly detected?

Yes, found two logs: http://sprunge.us/EKCB and http://sprunge.us/XPhc

Offline

#5 2011-04-07 18:45:51

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: [SOLVED] Xorg and Intel 945G issue

It seems that your driver doesn't retrieve all modes using EDID. Can you add a ModeLine to your Monitor section in 10-monitor.conf:

Section "Monitor"
  Identifier   "Monitor0"
  VendorName   "Philips"
  ModelName    "170B"
  HorizSync    30.0 - 83.0
  VertRefresh    56.0 - 76.0
  Modeline "1280x1024"  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
  Option        "PreferredMode" "1280x1024"
EndSection

Offline

#6 2011-04-08 05:02:34

dersd
Member
From: Karelia
Registered: 2011-03-22
Posts: 8

Re: [SOLVED] Xorg and Intel 945G issue

Marcel- wrote:

It seems that your driver doesn't retrieve all modes using EDID. Can you add a ModeLine to your Monitor section in 10-monitor.conf:

Section "Monitor"
  Identifier   "Monitor0"
  VendorName   "Philips"
  ModelName    "170B"
  HorizSync    30.0 - 83.0
  VertRefresh    56.0 - 76.0
  Modeline "1280x1024"  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
  Option        "PreferredMode" "1280x1024"
EndSection

Thank you! Tried it out and now it does support this mode:

Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 4096 x 4096
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x1024      60.0*+
   1024x768       60.0  
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9

But it does not want to set it by default, still X11 loads with 1024x768

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection "Display"
        Depth    24
        Modes    "1280x1024"
    EndSubSection
EndSection

Last edited by dersd (2011-04-08 05:03:28)

Offline

#7 2011-04-08 10:11:27

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: [SOLVED] Xorg and Intel 945G issue

dersd wrote:
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 4096 x 4096
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x1024      60.0*+
   1024x768       60.0  
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9

But it does not want to set it by default, still X11 loads with 1024x768

Strange, then why is there an asterisk after 1280x1024? Can you show your current Xorg.log?

Offline

#8 2011-04-08 12:49:37

dersd
Member
From: Karelia
Registered: 2011-03-22
Posts: 8

Re: [SOLVED] Xorg and Intel 945G issue

Marcel- wrote:
dersd wrote:
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 4096 x 4096
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x1024      60.0*+
   1024x768       60.0  
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9

But it does not want to set it by default, still X11 loads with 1024x768

Strange, then why is there an asterisk after 1280x1024? Can you show your current Xorg.log?

Here: http://sprunge.us/HjWH (:
I used some GUI tool that helped me to set default resolution!

Offline

#9 2011-04-08 13:24:21

Marcel-
Member
From: Utrecht, NL
Registered: 2006-12-03
Posts: 266

Re: [SOLVED] Xorg and Intel 945G issue

So, you solved this problem? Because the line

[    20.285] (II) intel(0): Output VGA1 using initial mode 1280x1024

suggests that your screen is set to the desired resolution immediately after starting X.

Offline

#10 2011-04-08 17:38:00

dersd
Member
From: Karelia
Registered: 2011-03-22
Posts: 8

Re: [SOLVED] Xorg and Intel 945G issue

Marcel- wrote:

So, you solved this problem? Because the line

[    20.285] (II) intel(0): Output VGA1 using initial mode 1280x1024

suggests that your screen is set to the desired resolution immediately after starting X.

I guess this way - yes. I used lxrandr to set correct resolution.

Offline

Board footer

Powered by FluxBB