LinuxQuestions.org
Help answer threads with 0 replies.
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 08-26-2009, 03:02 PM   #1
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 46

Rep: Reputation: 15
Unhappy xorgsetup + intel driver


hello!
i have slackware current on my dell latitude D500 laptop,installed fresh.
after xorgsetup i get only a black screen.
on my desktop i have the old xorg.conf file from slackware 12.2,so i tried to change xorg.config .
now i have GUI but all wrong .
what should i do ?of course it's not xorgconfig on my system.
thanks

Last edited by just1newbie; 08-28-2009 at 12:43 AM.
 
Old 08-26-2009, 03:25 PM   #2
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Hello ciudata,

With the Xorg version in -current, xorg.conf file is no longer necessary. Refer to file CHANGES_AND_HINTS.TXT in -current directory.

Quote:
Speaking of Xorg, the version of Xorg shipped with Slackware 13.0 will not
(in most cases) require an /etc/X11/xorg.conf file at all. Configuration of
input devices and such is handled by HAL, and the X server autoconfigures
everything else. You can still create an xorg.conf file if you wish, or you
can create a minimal xorg.conf with only the specific contents that you wish
to override (as an example, to use a binary-only video driver).
Due to removed drivers and other such changes, it's quite possible that your
old xorg.conf will not work correctly with this version of Xorg.

If you need to use a non-US keyboard layout, then copy the file located at
/usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy
and edit it to suit your needs. Have a look at the contents of that file
for an example and more information. If you prefer to do this the "old" way
using /etc/X11/xorg.conf, then you can use "X -configure" or "xorgsetup" to
generate an xorg.conf, then add the following lines to the "ServerFlags"
section to disable input device hotplugging via HAL:
Option "AllowEmptyInput" "false"
Option "AutoAddDevices" "false"
Option "AutoEnableDevices" "false"
This is also relevant if you prefer to disable HAL completely for whatever
reason.

So I would suggest that you remove your xorg.conf file (but make a backup in case) and look at the result: are your keyboard and mouse detected. Are you happy with your screen resolution?

However, you may need a minimal xorg.conf to select a video driver other than "vesa" or to change your default screen resolution (if you can not do it in KDE or xfce).

If you are not familiar with the structure of xorg.conf, I would suggest that you manually create a minimal xorg.conf file by copying only the following sections from your 12.2 xorg.conf file: Monitor, Device, Screen, ServerLayout, DRI and Extensions. Also comment out the InputDevice lines in the ServerLayout section.
 
Old 08-26-2009, 03:33 PM   #3
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 46

Original Poster
Rep: Reputation: 15
before i start xorgsetup i tried startx but i had no luck!my mouse and keyboard work well ,but i have no image.
 
Old 08-26-2009, 03:48 PM   #4
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 46

Original Poster
Rep: Reputation: 15
Unhappy

i dont have DRI and Extensions .i made the changes.now i have a different kind of wrong !
 
Old 08-26-2009, 03:54 PM   #5
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Quote:
Originally Posted by ciudatu View Post
i dont have DRI and Extensions .i made the changes.now i have a different kind of wrong !
Shall we call it progress?

Please try to explain in detail your problems so that we may try to solve them (one by one if needed).

Also post the content of your xorg.conf file. It will help along the road.

Last edited by gegechris99; 08-26-2009 at 03:55 PM. Reason: Added request to post xorg.conf
 
Old 08-26-2009, 04:00 PM   #6
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 46

Original Poster
Rep: Reputation: 15
it is a progress !the screen images it's full whit lines !but it,s blue (i now from the desktop -it,s the whrigt color.the sound it's still ok!
 
Old 08-26-2009, 04:01 PM   #7
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
I edited my previous post but you may not have read the modification I made.

Can you please post the content of your minimal xorg.conf file?
 
Old 08-26-2009, 04:02 PM   #8
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 46

Original Poster
Rep: Reputation: 15
i can only post what i have in the old xfile on desktop pc!i'm now on the desktop pc.how can i transfer the file?
 
Old 08-26-2009, 04:05 PM   #9
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 46

Original Poster
Rep: Reputation: 15
thise is my old xorg.conf file.i made the changes on my laptop xorg.conf:



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

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "latitude"
Option "XkbLayout" "us"
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 "Monitor Vendor"
ModelName "Monitor Model"
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 "82852/855GM Integrated Graphics Device"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
 
Old 08-26-2009, 04:19 PM   #10
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
OK,

You have an intel driver and it's known to cause some trouble in -current/13.0 (please search for other threads in this forum dealing with this topic).

One possibility is to install an alternate intel driver among those available in the extra directory.

I'm sorry I may not be able to help more as I do not have an intel graphic card.
 
Old 08-26-2009, 04:23 PM   #11
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 46

Original Poster
Rep: Reputation: 15
i thank you for your time and effort!
have a good sleep!
 
Old 08-27-2009, 01:11 PM   #12
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 46

Original Poster
Rep: Reputation: 15
hello !
i've played inside xorg.conf and now i have GUI.but images are verry big.probable wrong resolution.thise is the new xorg.conf :
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/local"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
EndSection

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
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 "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5-50
VertRefresh 40-90
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5 - 50
VertRefresh 40-90
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 "vesa"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:0:2:0"
EndSection


Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

.
advice?
 
Old 08-27-2009, 02:20 PM   #13
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
You need to give more details in the screen section.

Below is my own screen section where I already changed the Identifier, Device and Monitor fields to be like your configuration.

In fact, I have a LCD 16/9 monitor so I have included my own modeline (i.e resolution) in my xorg.conf that is not copied below. I will go into more detail on this topic if you also use such a monitor.

But as a first step try to copy and paste it to replace your current screen section.

Code:
Section "Screen"
    Identifier  "Screen0"
    Device      "Card0"
    Monitor     "Monitor0"

# 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 "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1280x1024" "1152x864" "1024x768"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection
Another alternative is for you to configure the resolution in KDE4 with the system configuration tool (go to the Display part of it).
 
Old 08-27-2009, 02:40 PM   #14
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 46

Original Poster
Rep: Reputation: 15
hi !
before i read your post i downloaded and installed the intel drive from the extra directory,and after the change made in var/log...,and in xorg.conf ,voila...,it's working.for the people who need it i will put the new xorg.conf :
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/local"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
EndSection

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

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
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 "Monitor Vendor"
ModelName "Monitor Model"
#HorizSync 31.5-50
#VertRefresh 40-90
# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
# Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync

EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
#HorizSync 31.5 - 50
#VertRefresh 40-90
# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
# Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
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 "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:0:2:0"
EndSection


Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection

.
do you think i must change the post for this,so the people with intel card to see it?
i also want to thank you for your counsels !
 
Old 08-27-2009, 02:59 PM   #15
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Hello,

I'm glad the intel alternative drivers worked for you. Can you tell us which driver version worked for you?

You can change the post title by saying [SOLVED] and maybe add "intel driver issue".
 
  


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
slackware xorgsetup bug? chaosorama Slackware 3 08-21-2009 10:18 PM
xorgsetup not working slackware current samac Slackware 7 03-24-2007 07:00 AM
I don't have the commands xorgconfig or xorgsetup onthos Slackware 5 03-07-2006 11:44 AM
xorgconfig and xorgsetup phantom1nc Slackware - Installation 5 01-28-2005 03:56 PM
xorgsetup WilliamS Slackware 4 09-14-2004 12:09 PM

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

All times are GMT -5. The time now is 10:37 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