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

Notices


Reply
  Search this Thread
Old 10-14-2008, 03:15 AM   #1
ffsola
LQ Newbie
 
Registered: Sep 2008
Distribution: Debian
Posts: 13

Rep: Reputation: 0
Resolution problem.


when i run dpkg-reconfigure xserver-xorg, it just ask me too chose keyboard ,mouse then exit.
below is my xorg.conf,It's strange they all have a "Configured" tag ,I think maybe dexconf configures them for me ,but where the real configure file stored?

I want use intel videocard driver and change the resolution ,did I have to edit this file directly?

]# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
EndSection
 
Old 10-14-2008, 11:57 AM   #2
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Not seen the like of your xorg.conf myself, where's the:

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 32
Modes "1920x1200" "1600x1200"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1920x1200" "1600x1200"
EndSubSection
EndSection

type stuff????

Just got that off internet, not suggesting figures are that sensible necessarilly.

The thing that reconfigures xorg.conf usually offers a choice of resolutions. Try running, as root, dpkg-reconfigure -phigh xserver-xorg like it say.

Something like kde control center will offer a thing to change resolutions.

Last edited by lugoteehalt; 10-14-2008 at 12:01 PM.
 
Old 10-14-2008, 07:38 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
the odd part is that there is no Video driver specified..
is the system detecting your video card properly, or at all ?

please post the output of lspci
If you have a new system Debian Etch may not recognize the intel chip on your graphics controller. If that is the case we can make several suggestions on how to address that issue.

you can run dexconf manually and see what it creates.. be sure to specify the '-o' parameter to tell dexconf what file to create

then you can see what dexconf creates for your system, or if it throws any errors when creating the config file..

Code:
debianetch:~# dexconf -o /root/xorgtest.conf

debianetch:~# cat xorgtest.conf

# /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/fonts/X11/misc"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
        FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "Device"
        Identifier      "nVidia Corporation NV40 [GeForce 6800]"
        Driver          "nv"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       28-64
        VertRefresh     43-60
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "nVidia Corporation NV40 [GeForce 6800]"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x1024" "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x1024" "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x1024" "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1024x768"
        EndSubSection
EndSection

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

Section "DRI"
        Mode    0666
EndSection
pretty darn close.

Last edited by farslayer; 10-14-2008 at 07:40 PM.
 
Old 10-14-2008, 10:54 PM   #4
ffsola
LQ Newbie
 
Registered: Sep 2008
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
@lugoteehalt:that's all my xorg.conf file, so weird!

@farslayer:I try dexconf -o /root/xorgtest.conf, the xorgtest.conf it generated is exactly the same as i posted.

my lspci output
Quote:
mpatible controller: Intel Corporation Q963/Q965 Integrated Graphics Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DM Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HO (ICH8DO) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02)
xorg log
Quote:
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 15 11:29:45 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section. Using the first Screen section.
(**) |-->Screen "Default Screen" (0)
(**) | |-->Monitor "Configured Monitor"
(==) No device specified for screen "Default Screen".
Using the first device section listed.
(**) | |-->Device "Configured Video Device"
(==) |-->Input Device "Configured Mouse"
(==) |-->Input Device "Generic Keyboard"
(==) The core pointer device wasn't specified explicitly in the layout.
Using the first mouse device.
(==) The core keyboard device wasn't specified explicitly in the layout.
Using the first keyboard device.
(==) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified. Using compiled-in default.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled
~~~~~~~~~~~~~~~~~~

Last edited by ffsola; 10-14-2008 at 11:01 PM.
 
Old 10-14-2008, 11:07 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Found this post. Interesting
Quote:
Intel DQ965GF motherboard I had exactly the same problem. The problem is not X.org, but the kernel: apparently the agpgart module of the default kernel in Etch (2.6.18) doesn't support the Q965 chipset.

Just download the 2.6.20 kernel from unstable (linux-image-2.6.20-1-686) and install it (dpkg -i filename), and everything should work. During booting, the module agpgart is automatically loaded and reports a 965Q chipset (dmesg|grep agp)

(Note: I have a line VideoRAM=128000 in /etc/X11/xorg.conf)

A workaround if this still doesn't work: reconfigure X (dpkg-reconfigure xserver-xorg) and select the Vesa driver. One problem with the Vesa driver (on my computer): when switching back from text mode to graphics mode, the screen becomes blank and starts flashing.
So if you were to upgrade to Testing to get a newer kernel, it would probably all get squared away..
 
Old 10-16-2008, 03:09 AM   #6
ffsola
LQ Newbie
 
Registered: Sep 2008
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
My kernel is 2.6.26 and I can start X
thanks anyway
 
Old 10-16-2008, 03:28 AM   #7
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Update your PCI ID list so that other scripts function properly:
update-pciids

Then attempt to reconfigure X again.
 
Old 10-16-2008, 09:57 AM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Could always copy the xorg.conf i posted, and manually correct it for your monitor and video controller...
 
Old 10-16-2008, 10:33 AM   #9
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Looks to me like you think you are running Etch (if you think at all), but Etch does not have kernel 2.6.26 available. Did you build it your self? If not, where did you get it?

Chances are you have some kind of ugly mixed system with some pieces that are just too old to work correctly with your hardware. Just to help us get a handle on how big the mess is likely to be, output from the following commands might be helpful.

$ uname -r
$ apt-cache policy libc6
$ cat /etc/apt/sources.list
 
Old 10-16-2008, 10:25 PM   #10
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
could be my fault. I assumed he was running etch since he didn't specify anywhere what version he was running.. You think I would have learned by now not to do that
 
Old 10-17-2008, 02:06 AM   #11
ffsola
LQ Newbie
 
Registered: Sep 2008
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
Yes my system is kind of mixed.
I first install it by a etch cd with base system, then change the source.list to use testing branch,
and run
Quote:
aptitude update
aptitude upgrade
to upgrade it to lenny.

Then I install xorg and other software manually, and also the 2.6.26 linux kernel is installed by aptitude too.

I will give update-pciids a try after back home. thanks for help.
 
Old 10-17-2008, 01:34 PM   #12
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Just on off chance try putting 'env LANG=C <command>' before things like reconfiguring X. Got into trouble not doing that myself recently.
 
Old 10-17-2008, 01:55 PM   #13
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 60
The new "empty" xorg is normal in Lenny or Sid. All the settings seem to be picked up by default, and you have to monkey with the file quite a bit to get non-default values read.

So, if you're just wondering why it's empty that's why. But are you having a problem with your resolution?
 
Old 10-18-2008, 08:28 PM   #14
ffsola
LQ Newbie
 
Registered: Sep 2008
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: 0
sorry, little off topic . My key question is why my
Quote:
dpkg-reconfig xserver-xorg
didn't show me the resolutions select screen, this must be abnormal , Debian has no reason to do that defaultly without give user a chance to select their prefer.
 
Old 10-22-2008, 04:47 AM   #15
lugoteehalt
Senior Member
 
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
Quote:
Originally Posted by ffsola View Post
sorry, little off topic . My key question is why my didn't show me the resolutions select screen, this must be abnormal , Debian has no reason to do that defaultly without give user a chance to select their prefer.
Bloody hell, this happen to me today and already forgot remedy.

It was something like closing konqueror and nautilus and then killing them, because they still show in top for some reason.

To be on safe side why not shut down X, and make sure everything is terminated, and run dpkg-reconfigure -phigh xserver-xorg as root. That's what x itself says to do. Could try putting env LANG=C dpkg-reconfigure -phigh xserver-xorg. I'm using Etch and this will give the option of resolutions.

ctrl+alt+keypad+ to cycle through resolutions.
 
  


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
Resolution Problem on 6.06 broknindarkagain Ubuntu 4 07-13-2006 10:21 PM
Resolution problem XaXo-BG Linux - Software 10 01-22-2005 10:47 AM
Resolution problem Inexactitude Mandriva 0 12-01-2003 03:40 PM
name resolution problem sdkramer Linux - Networking 1 11-24-2001 07:49 PM
Resolution Problem ady Linux - Newbie 1 07-22-2001 08:25 PM

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

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