LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-31-2008, 03:01 PM   #1
din
Member
 
Registered: Nov 2006
Posts: 53

Rep: Reputation: 15
x server configuration.


Hi. I am new to slackware. I installed slack on my new
acer extenza 5620z after some search and research.
Still have some problems.
Will start with 2 of them:

1. I have success starting x server with 1280x800 resolution,but i have a doubt in options HorizSync and VertRefresh.
What i did - just cut and past this lines from my suse
partition. Is it ok? Do i have to type it? Can it damage my laptop screen? I couldn't find this info on the acer site or in the manuals. I don't now where to find this info.

xorg:
# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 30-62

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 43-60

EndSection

**********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
#VideoRam 4096
# Insert Clocks lines here if appropriate
EndSection
**********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

Subsection "Display"
Depth 8
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x800" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubsection

EndSection

2. xorg configured by default with vesa driver instead of "intel". Is it ok?
If i will run 3d or compiz - will it work?

lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)

Thanks.
 
Old 01-31-2008, 03:06 PM   #2
CrEsPo
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware 12
Posts: 184

Rep: Reputation: 30
1. If it worked in SUSE without a problem then it'll work in Slackware without a problem. A lot times it's easier to copy an automatically configured xorg.conf and then edit it as needed like you did.

2. Compiz wont work with VESA, well, if it does it wont work well. You'll need to configure your video card to use the Intel drivers and make sure it's running with DRI enabled.
 
Old 01-31-2008, 03:14 PM   #3
din
Member
 
Registered: Nov 2006
Posts: 53

Original Poster
Rep: Reputation: 15
Hi, CrEsPo.
Thank for quick reply.
1. I need to install driver for "intel" first, wright?
If yes, i will search for some info about how to...
2. "make sure it's running with DRI enabled" - don't know hat it means,
but i will find out.

thanks.
 
Old 01-31-2008, 03:33 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
DRI is direct rendering infrastructure. Here's how to enable it (follow the guide for i810, it should work):
http://www.linuxquestions.org/questi...in-x11-402003/

If you want, running 'xorgsetup' or 'xorgcfg' can oftentimes auto detect refresh rates properly ... usually not for laptops tho.
 
Old 01-31-2008, 11:56 PM   #5
din
Member
 
Registered: Nov 2006
Posts: 53

Original Poster
Rep: Reputation: 15
H_TeXMeX_H, thanks for a link.

There is one thing i can't find - if i want to run xorg with
"intel" driver - may i just put lines like that:

Section “Device”
Identifier “Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller”
Driver “intel”
Option “DRI” “true”
Option “XVideo” “true”
EndSection

May it work?
How do i know if xorg have intel driver? Is it xf86-video-intel?
If not, how i download it?
I have to get understanding of this.

Thanks for help.

Last edited by din; 02-01-2008 at 12:03 AM.
 
Old 02-01-2008, 04:45 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Yeah, read the man pages 'man intel' and 'man i810', in fact they are the same thing (pretty much):

Quote:
intel supports the i810, i810-DC100, i810e, i815, i830M, 845G, 852GM,
855GM, 865G, 915G, 915GM, 945G, 945GM, 965G, 965Q, 946GZ, 965GM,
945GME, G33, Q33, and Q35 chipsets.
Yes, that's the intel package, there's also the i810 package, both should be installed by default.
 
Old 02-01-2008, 05:14 AM   #7
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Just as a lark, try running `xorgcfg`. Just click on the exit button when it appears, and if the screen looks okay, let it write the two files it wants to.

On new hardware, this usually works a treat.
 
Old 02-01-2008, 08:35 AM   #8
din
Member
 
Registered: Nov 2006
Posts: 53

Original Poster
Rep: Reputation: 15
OK. Thanks for reply.
`xorgcfg` - worked fine. It piked up intel driver as expected
and seems that all another configuration was ok
Now i try to enable DRI. After enable (from the link :
http://www.linuxquestions.org/questi...in-x11-402003/)
i get :
glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2

cat /var/log/Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
(EE) AIGLX: Screen 0 is not DRI capable

cat /var/log/Xorg.0.log | grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(WW) intel(0): Bad V_BIOS checksum
(WW) intel(0): ESR is 0x00000010, page table error
(WW) intel(0): PGTBL_ER is 0x00000010, display A pte
(WW) intel(0): Existing errors found in hardware state.
 
Old 02-01-2008, 09:22 AM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
It looks like there's a line in you 'xorg.conf' something like:
Code:
Section "Device"

	BusID       "PCI:0:2:1"

EndSection
Change it to:
Code:
Section "Device"

	BusID       "PCI:0:2:0"

EndSection
Save and try again.
 
Old 02-01-2008, 09:52 AM   #10
din
Member
 
Registered: Nov 2006
Posts: 53

Original Poster
Rep: Reputation: 15
Hi, H_TeXMeX_H.
1. I already have this line:
BusID "0:2:0"
2. Another thing - desktop font looks not so clear.
Maybe some misconfiguration in xorg.conf.
I am not sure.

I will keep checking it.....
Thanks

Last edited by din; 02-01-2008 at 10:34 AM.
 
Old 02-01-2008, 10:43 AM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Note that the Mode line in the DRI section should be '0666' not '0660'.

Everything else seems to be ok. Does direct rendering work now ?

You may be able to find more info on the laptop here:
http://www.acerpanam.com/synapse/for...erPanAm.com/us
click my system information ...

So, is this xorg.conf the one from suse ? If so, maybe try starting with one made by 'xorgcfg' or 'xorgsetup'.
 
Old 02-01-2008, 11:12 AM   #12
din
Member
 
Registered: Nov 2006
Posts: 53

Original Poster
Rep: Reputation: 15
OK. First of all thanks to everyone that help me.
I tried first xorg.conf from suse. It worked cool but no rendering.
Than i tried create xorg with xorgcfg. It was also ok, but still no rendering.

glxinfo | grep rend
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

It my xorg now:
Everithing seems ok here (to me at list )

Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
Load "dbe"
Load "xtrap"
Load "dri"
Load "GLcore"
Load "glx"
Load "extmod"
Load "record"
Load "freetype"
Load "type1"
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"

#DisplaySize 330 210 # mm
Identifier "Monitor0"
VendorName "AUO"
ModelName "8174"
EndSection

Section "Device"

### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24

SubSection "Display"
#Viewport 0 0
Depth 24
Modes "1280x800" "1024x768" "800x600"
EndSubSection

EndSection

Section "DRI"
Mode 0666
EndSection

Same errors :
cat /var/log/Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
(EE) AIGLX: Screen 0 is not DRI capable



cat /var/log/Xorg.0.log | grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) intel: No matching Device section for instance (BusID PCI:0:2:1) found
(WW) intel(0): Bad V_BIOS checksum
(WW) intel(0): ESR is 0x00000010, page table error
(WW) intel(0): PGTBL_ER is 0x00000010, display A pte
(WW) intel(0): Existing errors found in hardware state.
 
Old 02-01-2008, 12:18 PM   #13
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Try one more thing, and if this doesn't work, I don't know what else to do to enable direct rendering. So for your xorg.conf which you just posted,
First, change the driver from "intel" to "i810", just to see.
Second, in the "Module" section load 'dri' after 'glx', not sure if it has to be this way, but this is the way they are in the HOWTO.

If you're running in "1280x800", that's the native resolution so fonts will look best in that. You can also measure the display area of your screen in milimeters and put that in '#DisplaySize 330 210 # mm', that has helped me some in the past.
 
Old 02-01-2008, 12:52 PM   #14
din
Member
 
Registered: Nov 2006
Posts: 53

Original Poster
Rep: Reputation: 15
OK. It doesn't work. I think maybe problem not in xorg.
In suse direct rendering working fine. The same xorg.config
worked in slack, but without rendering. Anything i tried to
change in xorg file didn't work. So i begin to think it not
in xorg. Maybe it's not a problem i can fix in one day.
I will search for some info. Till now i found a thread about
this problem because of not updated intel drivers.
However, i am not sure how to check if there is update for intel package.
So for now thanks a lot.
I will keep trying.
It is all about not give up from the start.
Am i wright?
 
Old 02-01-2008, 06:19 PM   #15
trim
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Rep: Reputation: 0
I have configured my graphic card; resolution and refresh rate with this instruction:

http://linwin.eu/en/linux/conf/screen.php

For me it works
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pppoe server+radius server configuration ye_adam Linux - Networking 2 01-12-2006 02:36 PM
X server configuration diehard45fr Linux - Software 3 11-21-2003 01:30 PM
X server configuration J_Szucs Linux - Software 3 11-13-2001 02:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration