LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-22-2007, 11:52 PM   #1
neilthereildeil
LQ Newbie
 
Registered: May 2006
Posts: 19

Rep: Reputation: 0
Xorg.conf for intel 82815 chipset


Hello. i just installed gentoo, and compiled X. when i run startx, i see X in terminal 7, but it appears as a small square in the middle of my screen. i see black bars on each side. I am using a Sony vaio pcgr505jl with the intel 82815 chipset. the graphics card is the 815 family. i compiled the i810 kernel module and the 815 modules. the graphics driver im using is i810. i followed the directions at the intel website for the 82815 chipset. also, the mouse pointer appears about 2 centimeters to the left of where it is rendered on the screen. so if i click the mouse, it clicks on something 2 centimeters to the right of where it is rendered.



heres my xorg.conf file:

http://rafb.net/p/IK0d7626.html





and here is my Xorg.0.log file:

http://rafb.net/p/k72muC90.html




thank you in advance.
 
Old 12-24-2007, 03:07 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Links return 404 not found.
 
Old 12-24-2007, 06:30 PM   #3
neilthereildeil
LQ Newbie
 
Registered: May 2006
Posts: 19

Original Poster
Rep: Reputation: 0
nevermind. i found the following website that has a lot of really good information for sony laptops running linux(including the kernel .config file and xorg.conf):

http://darkridge.net/~jpr5/

i just copied their xorg.conf from their pcgr505jl page, and it worked fine on my laptop.

Last edited by neilthereildeil; 12-24-2007 at 06:32 PM.
 
Old 03-26-2008, 05:48 PM   #4
IanGlenn
LQ Newbie
 
Registered: Nov 2004
Posts: 11

Rep: Reputation: 0
Hey, having the same problems, but the site listed has no xorg.conf...

Wondering if you could provide some aid?
 
Old 03-26-2008, 06:26 PM   #5
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
post your xorg.conf
did you run gentoos xorg setup program?
 
Old 03-28-2008, 04:42 PM   #6
neilthereildeil
LQ Newbie
 
Registered: May 2006
Posts: 19

Original Poster
Rep: Reputation: 0
xorg.conf

hey. heres my xorg.conf file. i commented out that other mouse input device path for when i plug in an external mouse instead of using the mouse pad in my laptop.I hope this helps!

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
# FontPath "/usr/share/X11/fonts/misc"
# FontPath "/usr/share/X11/fonts/cyrillic"
# FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
# FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
# FontPath "/usr/share/X11/fonts/Type1"
# FontPath "/usr/share/X11/fonts/CID"
# FontPath "/usr/share/X11/fonts/100dpi"
# FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
# FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
# FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,bg"
Option "XkbVariant" "bds"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "auto"
# Option "Device" "/dev/input/mice"
Option "Device" "/dev/input/mouse2"
Option "ZAxisMapping" "4 5 6 7"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "Intel Corporation 82815 CGC [Chipset Graphics Controller]"
Driver "i810"
BusID "PCI:0:2:0"
Option "XvMCSurfaces"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 31.5-48.5
VertRefresh 40-70
Option "dpms"
# ModeLine "872x654@75" 60.00 872 904 1128 1160 654 666 674 687
# Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82815 CGC [Chipset Graphics Controller]"
Monitor "Monitor0"
DefaultDepth 16
Option "Accel"
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
Absolute 80 80
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
Endsection
 
Old 03-28-2008, 07:53 PM   #7
IanGlenn
LQ Newbie
 
Registered: Nov 2004
Posts: 11

Rep: Reputation: 0
First of all, WOW.

Thank you both for responding so quickly and being so helpful. It literally gives me chills that there is a community of people that are so helpful without asking anything. The linux community, especially linuxquestions.org is one of those things I would show people to restore their faith in people's good nature. This may seem melodramatic, but I can't thank you both enough.

The xorg.conf worked perfectly the second try.

For future reference if someone else should run into it:

1. The final line "Endsection" should be "EndSection"
2. I had to comment out 'Option "Device" "/dev/input/mouse2"'

And from there it ran stunningly.

thanks again so much.

Ian
 
Old 03-28-2008, 08:18 PM   #8
neilthereildeil
LQ Newbie
 
Registered: May 2006
Posts: 19

Original Poster
Rep: Reputation: 0
yea no problem dude. thats the spirit of open source. community progress and everyone helping eachother. i was pretty happy when i got it working too.
 
Old 03-28-2008, 08:21 PM   #9
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
That's all I could find too... there you have it: enough eyeballs and you don't need an expert
 
Old 11-24-2008, 03:42 PM   #10
Nylo
LQ Newbie
 
Registered: Nov 2008
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by neilthereildeil View Post
nevermind. i found the following website that has a lot of really good information for sony laptops running linux(including the kernel .config file and xorg.conf):

http://darkridge.net/~jpr5/

i just copied their xorg.conf from their pcgr505jl page, and it worked fine on my laptop.
I'm having the same res issue and the same Vaio PCG-505JL. Your link is broke. If you could post/email your xorg.conf? Im at my wits end.

Thanks,
Nylo

Ibex 8.10
 
Old 11-26-2008, 01:39 AM   #11
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
most of the time changing driver to "vesa" also helps.
 
Old 11-27-2008, 01:18 PM   #12
Nylo
LQ Newbie
 
Registered: Nov 2008
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by geniushasan View Post
most of the time changing driver to "vesa" also helps.
Its running the vesa drivers. Ive loaded the 82815 drivers but Ibex will not acknowledge them. Funny thing is I didn't have this issue with 8.04 Hardy.

My issue is the thick black border surrounding the desk top.

Thanks
Nylo
 
Old 11-29-2008, 01:37 PM   #13
neilthereildeil
LQ Newbie
 
Registered: May 2006
Posts: 19

Original Poster
Rep: Reputation: 0
hey. ive had the video driver wrking for awhile now. however, im still faing 2 problems with this chipset:
1) i cannot get the video to come back after suspending the system. when i come back from suspend, everything works except the display. if i remember the state i left the computer in, i can even resume a song in mplayer on tty1 after coming back from suspend. does anyone know how to get display back after suspend?
2) i still get the problems with the black bars around the sides of the screen when im in virtual terminals 1-6. however, tty7(the one running X) is full screen. does anyone know how to fix this?

heres my xorg.conf file(it was in one of my above posts also):






# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
# FontPath "/usr/share/X11/fonts/misc"
# FontPath "/usr/share/X11/fonts/cyrillic"
# FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
# FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
# FontPath "/usr/share/X11/fonts/Type1"
# FontPath "/usr/share/X11/fonts/CID"
# FontPath "/usr/share/X11/fonts/100dpi"
# FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
# FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
# FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

#Section "InputDevice"
# Identifier "Keyboard1"
# Driver "Keyboard"
# Option "XkbModel" "pc104"
# Option "XkbLayout" "us"
# Option "XKbOptions" ""
#EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,bg"
Option "XkbVariant" "bds"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "auto"
# Option "Device" "/dev/input/mice"
Option "Device" "/dev/input/mouse2"
Option "ZAxisMapping" "4 5 6 7"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "Intel Corporation 82815 CGC [Chipset Graphics Controller]"
Driver "i810"
BusID "PCI:0:2:0"
Option "XvMCSurfaces"
Option "VBERestore" "true"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 31.5-48.5
VertRefresh 40-70
Option "dpms"
# ModeLine "872x654@75" 60.00 872 904 1128 1160 654 666 674 687
# Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82815 CGC [Chipset Graphics Controller]"
Monitor "Monitor0"
DefaultDepth 16
Option "Accel"
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
Absolute 80 80
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
Endsection




let me know if u have any questions.
 
Old 12-01-2008, 03:22 PM   #14
Nylo
LQ Newbie
 
Registered: Nov 2008
Posts: 4

Rep: Reputation: 0
Thanks. Ill give this a shot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
working xorg.conf file for Intel 845G Graphics dizzi Linux - Hardware 3 11-06-2007 03:18 PM
Modeline Voodoo xorg.conf - Intel driver i810 to blame? rewtedesco Linux - Hardware 43 01-27-2007 07:28 PM
Intel 82815 [i815] acting glitchy Seiken Linux - Hardware 1 03-31-2005 08:20 PM
resolution problem with intel 82815 joshni Linux - Hardware 4 05-17-2004 03:26 PM
Intel 82801/82815 ICH2 driver required for Kernel 2.2 jbacchi Linux - Networking 0 04-01-2004 09:59 AM


All times are GMT -5. The time now is 10:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration