LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Xorg.conf for intel 82815 chipset (https://www.linuxquestions.org/questions/linux-general-1/xorg-conf-for-intel-82815-chipset-608658/)

neilthereildeil 12-22-2007 11:52 PM

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.

Simon Bridge 12-24-2007 03:07 AM

Links return 404 not found.

neilthereildeil 12-24-2007 06:30 PM

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.

IanGlenn 03-26-2008 05:48 PM

Hey, having the same problems, but the site listed has no xorg.conf...

Wondering if you could provide some aid?

Simon Bridge 03-26-2008 06:26 PM

post your xorg.conf
did you run gentoos xorg setup program?

neilthereildeil 03-28-2008 04:42 PM

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

IanGlenn 03-28-2008 07:53 PM

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

neilthereildeil 03-28-2008 08:18 PM

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.

Simon Bridge 03-28-2008 08:21 PM

That's all I could find too... there you have it: enough eyeballs and you don't need an expert ;)

Nylo 11-24-2008 03:42 PM

Quote:

Originally Posted by neilthereildeil (Post 3000848)
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. :confused:

Thanks,
Nylo

Ibex 8.10

hasanatizaz 11-26-2008 01:39 AM

most of the time changing driver to "vesa" also helps.

Nylo 11-27-2008 01:18 PM

Quote:

Originally Posted by geniushasan (Post 3354802)
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

neilthereildeil 11-29-2008 01:37 PM

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.

Nylo 12-01-2008 03:22 PM

Thanks. Ill give this a shot.


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