Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Troubles with Xorg
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
justASimpleUser
n00b
n00b


Joined: 12 Dec 2011
Posts: 8

PostPosted: Mon Dec 12, 2011 10:37 pm    Post subject: [SOLVED] Troubles with Xorg Reply with quote

Hi all.
I'm a newbie in Gentoo, in posting messages, in this site, and newbie in English, so sorry, if I'm wrong somewhere.
I have asus eee pc 1005HA, in Ubuntu resolution is 1024x600, 60Hz. Video card is embedded. Intel GMA 9**.
The trouble is: I can't switch the resolution(number of pixels) from 800x600 to 1024x600 in gentoo. It would be very nice, if you will lead me the way.
I've tryed to solve it by my one, but the whole day didn't help.
So. my /etc/X11/xorg.conf
Code:

Section "ServerLayout"
   Identifier     "X.org Configured"
   Screen      0  "Screen0" 0 0
   Screen      1  "Screen1" RightOf "Screen0"
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/TTF/"
   FontPath     "/usr/share/fonts/OTF/"
   FontPath     "/usr/share/fonts/Type1/"
   FontPath     "/usr/share/fonts/100dpi/"
   FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
   Load  "glx"
   Load  "dri"
   Load  "record"
   Load  "dbe"
   Load  "extmod"
   Load  "dri2"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/input/mice"
   Option       "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "1024x600_60.00"
   ModelName    "1024x600@60.00 Hz"
   Modeline "1024x600_60.00" 48.96 1024 1064 1168 1312 600 601 604 622 -HSync +Vsync
EndSection

Section "Monitor"
   Identifier   "Monitor1"
   VendorName   "1024x600_60.00"
   ModelName    "1024x600@60.00 Hz"
   Modeline "1024x600_60.00" 48.96 1024 1064 1168 1312 600 601 604 622 -HSync +Vsync
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "intel"
   BusID       "PCI:0:2:0"
EndSection

Section "Device"
   Identifier  "Card1"
   Driver      "vesa"
   BusID       "PCI:0:2:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 24
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes "1024x600_60.00"
   EndSubSection
EndSection

Section "Screen"
   Identifier "Screen1"
   Device     "Card1"
   Monitor    "Monitor1"
   DefaultDepth 24
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes "1024x600_60.00"
   EndSubSection
EndSection

I plan to install some light-weight wm, but now I installed xfce with hope that tools of setting up the screen will work. but setting -> smth -> display doesn't make the situation better.
How I checked the resolution:
1) full screen in evilWM(ctrl-alt-x) and then information about the window(ctrl-alt-i)
2) Rounds look like ellipses
3) in settings -> smth -> display in xfce resolution is 800x600
Thanks.[/code]


Last edited by justASimpleUser on Thu Dec 15, 2011 7:08 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: Mon Dec 12, 2011 10:58 pm    Post subject: Reply with quote

Remove the xorg.conf and try again. If it doesn't work, use pastebin to post your /var/log/Xorg.0.log
Back to top
View user's profile Send private message
justASimpleUser
n00b
n00b


Joined: 12 Dec 2011
Posts: 8

PostPosted: Tue Dec 13, 2011 8:32 am    Post subject: Reply with quote

Thanks for your reply!
Deleting the conf file didn't help.
As I understand pastebin - is a server for hosting some text data.
http://pastebin.com/hVNppmb4
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Tue Dec 13, 2011 11:28 am    Post subject: Reply with quote

Remove xf86-video-vesa and post the log again.

But if I go through the usual suspects... Are you in the video group? Is udev running? Is KMS activated in the kernel? And check this thread for further ideas: https://forums.gentoo.org/viewtopic-t-889962-highlight-intel.html
Back to top
View user's profile Send private message
justASimpleUser
n00b
n00b


Joined: 12 Dec 2011
Posts: 8

PostPosted: Tue Dec 13, 2011 2:48 pm    Post subject: Reply with quote

thanks.
I can't change the resolution from 800x600 to 1024x600.
without vesa startx didn't launched xfce.
log file without vesa http://pastebin.com/jpv8MF9N
Ok, thanks, I'll look through that branch of discussion.
Back to top
View user's profile Send private message
justASimpleUser
n00b
n00b


Joined: 12 Dec 2011
Posts: 8

PostPosted: Tue Dec 13, 2011 3:03 pm    Post subject: Reply with quote

Device Drivers -> Grafics support -> Support for frame buffer
I have only 2 options(Enable video Mode handling Helpers & Enable Tile Blitting support) Is that the way how the kernel should be configured?
Back to top
View user's profile Send private message
justASimpleUser
n00b
n00b


Joined: 12 Dec 2011
Posts: 8

PostPosted: Tue Dec 13, 2011 3:20 pm    Post subject: Reply with quote

Are you in the video group? yes
Is udev running? ps -ax | grep udev gives the folowing results:
1086 ? S<s 0:00 /sbin/udevd --daemon
1708 ? S< 0:00 /sbin/udevd --daemon
1709 ? S< 0:00 /sbin/udevd --daemon
10356 pts/1 S+ 0:00 grep --colour=auto udev

Is KMS activated in the kernel? If this is activating of KMS:
Device Drivers --->
Graphics support --->
/dev/agpgart (AGP Support) --->
<*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
<*> Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)
i915 driver
[*] Enable modesetting on intel by default
Then yes
Back to top
View user's profile Send private message
justASimpleUser
n00b
n00b


Joined: 12 Dec 2011
Posts: 8

PostPosted: Tue Dec 13, 2011 5:00 pm    Post subject: Reply with quote

Gusar, Thank you! :))
Something from from your advices or of the brunch of discussion, you mentioned helped! I really don't know what exactly, but it helped! It's need to be revealed, what actually helped, but it's not today's job...
Thanks a lot! :)
PS: Thanks!
Back to top
View user's profile Send private message
justASimpleUser
n00b
n00b


Joined: 12 Dec 2011
Posts: 8

PostPosted: Tue Dec 13, 2011 5:07 pm    Post subject: Reply with quote

I switched kernels back and found, that the previous kernel was just wrong. So the problem was in kernel settings.
Again, thanks a lot!
Back to top
View user's profile Send private message
justASimpleUser
n00b
n00b


Joined: 12 Dec 2011
Posts: 8

PostPosted: Tue Dec 13, 2011 5:16 pm    Post subject: Reply with quote

also :))
I unmerged x86-intel-video, startx, didn't want to load up. So this is the second mistake.
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