Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xrandr doesn't show my resolution.
View unanswered posts
View posts from last 24 hours

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


Joined: 25 Oct 2011
Posts: 9

PostPosted: Thu Feb 09, 2012 9:35 am    Post subject: Xrandr doesn't show my resolution. Reply with quote

Hello,

I've been trying to setup a minimal gentoo installation, with fluxbox wm, so far I've been having hard time configuring my X. :(
Installing gentoo on a HP Compaq 6710s

Here's my xrandr output

Code:
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768       61.0*
   800x600        61.0


As you can see, I haven't got the option to set the right resolution for my laptop, I've been thinking maybe the xorg isn't using the right video driver.

My grep -i driver /var/log/Xorg.0.log output:

Code:
[  4980.263]    X.Org Video Driver: 11.0
[  4980.263]    X.Org XInput driver : 13.0
[  4980.289] (==) Matched intel as autoconfigured driver 0
[  4980.289] (==) Matched vesa as autoconfigured driver 1
[  4980.289] (==) Matched fbdev as autoconfigured driver 2
[  4980.289] (==) Assigned the driver to the xf86ConfigLayout
[  4980.290] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  4980.316]    Module class: X.Org Video Driver
[  4980.316]    ABI class: X.Org Video Driver, version 11.0
[  4980.316] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  4980.324]    Module class: X.Org Video Driver
[  4980.324]    ABI class: X.Org Video Driver, version 11.0
[  4980.324] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  4980.330]    ABI class: X.Org Video Driver, version 11.0
[  4980.330] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
[  4980.331] (II) VESA: driver for VESA chipsets: vesa
[  4980.331] (II) FBDEV: driver for framebuffer: fbdev
[  4980.424] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  4980.439]    ABI class: X.Org Video Driver, version 11.0
[  4980.440]    ABI class: X.Org Video Driver, version 11.0
[  4980.440]    ABI class: X.Org Video Driver, version 11.0
[  4980.497]    ABI class: X.Org Video Driver, version 11.0
[  4980.732]    Module class: X.Org XInput Driver
[  4980.732]    ABI class: X.Org XInput driver, version 13.0
[  4980.732] (II) Using input driver 'evdev' for 'Power Button'
[  4980.762] (II) Using input driver 'evdev' for 'Video Bus'
[  4980.762] (II) No input driver/identifier specified (ignoring)
[  4980.763] (II) Using input driver 'evdev' for 'Sleep Button'
[  4980.763] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[  4980.764] (II) No input driver/identifier specified (ignoring)
[  4980.765] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[  4980.766] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[  4980.767]    Module class: X.Org XInput Driver
[  4980.767]    ABI class: X.Org XInput driver, version 13.0
[  4980.767] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[  4980.827] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad


I see that the right driver is loaded and then replaced by vesa and then replaced fbdev? Am I understanding the output even correctly?

The main goal right now is to setup a dual monitor setup, I was hoping, you could suggest the best way of achieving it?

Thanks in advance! :)
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Thu Feb 09, 2012 9:43 am    Post subject: Reply with quote

If you had posted the full log, you'd see that vesa and fbdev get unloaded later. Or not, depending on whether the intel driver loaded correctly (vesa and fbdev are fallbacks for that case). In any case, without the full log you can't receive further help.

Just go through this thread, it covers everything about intel graphics: https://forums.gentoo.org/viewtopic-t-889962-highlight-.html. My guess, you're missing KMS support in your kernel.
Back to top
View user's profile Send private message
barkley128
n00b
n00b


Joined: 25 Oct 2011
Posts: 9

PostPosted: Thu Feb 09, 2012 12:27 pm    Post subject: Reply with quote

Gusar wrote:
If you had posted the full log, you'd see that vesa and fbdev get unloaded later. Or not, depending on whether the intel driver loaded correctly (vesa and fbdev are fallbacks for that case). In any case, without the full log you can't receive further help.

Just go through this thread, it covers everything about intel graphics: https://forums.gentoo.org/viewtopic-t-889962-highlight-.html. My guess, you're missing KMS support in your kernel.


grep -i UnloadModule /var/log/Xorg.0.log
Code:
[  4980.497] (II) UnloadModule: "fbdev"
[  4980.497] (II) UnloadModule: "fbdevhw"
[  4980.876] (II) UnloadModule: "synaptics"


The vesa module is not listet, so I suppose, xorg is using it as a driver.
Thanks for the link, I'll do some research.
Back to top
View user's profile Send private message
barkley128
n00b
n00b


Joined: 25 Oct 2011
Posts: 9

PostPosted: Thu Feb 09, 2012 12:49 pm    Post subject: Same thing Reply with quote

KMS is enabled
Code:
Device Drivers ->[/post]
   Graphics support ->
      -*- Support for frame buffer devices  --->
         ...
         *** Frame buffer hardware drivers ***


Well, I think there's some problem with many more drivers, not just video..
After running lsmod, I got:
Code:
Module                  Size  Used by
iwl3945                61492  0
iwl_legacy             42741  1 iwl3945


I'll post the lspci output:

Code:
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
02:04.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b6)
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
18:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)


Last edited by barkley128 on Thu Feb 09, 2012 1:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Thu Feb 09, 2012 1:16 pm    Post subject: Re: Same thing Reply with quote

barkley128 wrote:
KMS is enabled
Code:
Device Drivers ->[/post]
   Graphics support ->
      -*- Support for frame buffer devices  --->
         ...
         *** Frame buffer hardware drivers ***

This particular part says nothing about whether KMS is there or not. CONFIG_DRM_I915_KMS=y is what you need.

barkley128 wrote:
Well, I think there's some problem with many more drivers, not just video..
After running lsmod, I got:

Drivers can be either modules or built-in. Without seeing your kernel config it's impossible to tell if stuff is actually missing, or if it's already in the kernel. Use pastebin to post the full kernel config.
Back to top
View user's profile Send private message
barkley128
n00b
n00b


Joined: 25 Oct 2011
Posts: 9

PostPosted: Thu Feb 09, 2012 1:28 pm    Post subject: Re: Same thing Reply with quote

Gusar wrote:
barkley128 wrote:
KMS is enabled
Code:
Device Drivers ->[/post]
   Graphics support ->
      -*- Support for frame buffer devices  --->
         ...
         *** Frame buffer hardware drivers ***

This particular part says nothing about whether KMS is there or not. CONFIG_DRM_I915_KMS=y is what you need.

barkley128 wrote:
Well, I think there's some problem with many more drivers, not just video..
After running lsmod, I got:

Drivers can be either modules or built-in. Without seeing your kernel config it's impossible to tell if stuff is actually missing, or if it's already in the kernel. Use pastebin to post the full kernel config.


You were right about the KMS, I've enabled it and waiting for the kernel to recompile, will post any news.

By the way, pastebin link to my kernel config.

EDIT: Adding KMS option didn't change anything, xrandr still doesn't show higher resolutions.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6194

PostPosted: Thu Feb 09, 2012 2:02 pm    Post subject: Reply with quote

Now, as kernel config looks more or less OK (unless CONFIG_FB_EFI matters), pastebin the whole xorg log.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Thu Feb 09, 2012 2:17 pm    Post subject: Reply with quote

Oh, I can very well imagine what's wrong. The amount of people that do this mistake is... just wow.

https://forums.gentoo.org/viewtopic-t-911610-highlight-.html
Back to top
View user's profile Send private message
barkley128
n00b
n00b


Joined: 25 Oct 2011
Posts: 9

PostPosted: Thu Feb 09, 2012 2:57 pm    Post subject: Reply with quote

VoidMage wrote:
Now, as kernel config looks more or less OK (unless CONFIG_FB_EFI matters), pastebin the whole xorg log.


Xorg log.

Will read your provided topic Gusar, thanks.
Maybe you could point out what's not needed in the kernel config to make it more lightweight?
Back to top
View user's profile Send private message
barkley128
n00b
n00b


Joined: 25 Oct 2011
Posts: 9

PostPosted: Thu Feb 09, 2012 9:08 pm    Post subject: Reply with quote

Gusar wrote:
Oh, I can very well imagine what's wrong. The amount of people that do this mistake is... just wow.

https://forums.gentoo.org/viewtopic-t-911610-highlight-.html


You were right, if thinking about not mounted /boot :lol:
Reviewed my kernel config, set the driver as a module, recompiled and.. facepalmed myself..

So the reason really was the disabled KMS.

Big Thank You Gusar, finally I can use the right resolution :)
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