LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-09-2007, 05:58 AM   #1
Tortanick
Member
 
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Rep: Reputation: 30
Xorg randomly switches between two different screen sizes


I've got an odd problem where Xorg (with KDM) seems to randomly switch between two diffrence screen sizes, however in both cases the KDE Control centre says its 1280x1040.

Dose anyone know of a problem like this? I tried looking through the logs but I don't know what to look for.
 
Old 11-09-2007, 06:55 AM   #2
KrahnacK
Member
 
Registered: Nov 2007
Location: /dev/volcano
Posts: 70

Rep: Reputation: 15
a little more info is needed... first, when does the switch occurs? at X start? or inside a session?
are you sure that there isn't a program trying to launch at fullscreen, so changing the resolution, and then failing to run, leaving the screen as it?

you can also try to search the X log (located in /var/log/Xorg.0.log for me) for the lines containing EE or WW
 
Old 11-09-2007, 07:44 AM   #3
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
I don't know about your particular problem, but it may help you to know that you can assign keystrokes to switching between supported resolutions in X. By default, that means you can hold down Ctrl and Alt and press either + or - on the numeric keypad to switch resoluitions.

At a guess, 1280x1040 is your virtual screen size, which may be larger than your physical screen size (in which case, if you move the mouse past the edge of the screen then it will scroll).

Hope that's of some help,
 
Old 11-09-2007, 08:57 AM   #4
Tortanick
Member
 
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Original Poster
Rep: Reputation: 30
rjllee, my screen is big enough for 1280x1040, no scrolling (either way)

Krahnack: Its visible before I login,as soon as I'm asked for the username and password. The key way to tell is the font size but its more visible when I actually log in, For example there is a gap between a colum on icons on my desktop and the bottom of my screen when its full sized, but when the size mysteriously shrinks the gap vanishes.

I used tail to check the last 100 lines for EE
(EE) AIGLX: Screen 0 is not DRI capable

Searching the last 100 for WW found nothing, so I checked the entire log, all I found was
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".


And I just realised I didn't post my xorg.conf file, so here it is
Code:
# 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 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 "Files"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "gb"
EndSection

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

Section "Device"
        Identifier      "Generic Video Card"
        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          "Generic Video Card"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Modes           "1280x1024"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection
 
Old 11-10-2007, 03:44 AM   #5
KrahnacK
Member
 
Registered: Nov 2007
Location: /dev/volcano
Posts: 70

Rep: Reputation: 15
what to say but i don't know...

your configuration seems to be normal

i think it's possible to have diffrent resolutions between desktop and login screen, but it shouldn't be changing inside a session...
can you be more precise on when does the change occur? are you using some application in full screen ? can an application in your crontab could be changing the resolution ?

it happens sometimes for me, that fullcreen games don't go back properly to desktop resolution when quitting, this is why i ask you that...
 
Old 11-10-2007, 07:11 AM   #6
Tortanick
Member
 
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Original Poster
Rep: Reputation: 30
It seems to happen on bootup, like I said its visible on the login screen and lasts throught the entire session, I'm yet to see it change with a simple xorg restart, only after a full reboot.

Thanks for trying anyway
 
Old 11-10-2007, 11:14 AM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Your xorg.conf isn't quite right, try this:

Code:
Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
        Depth           24
                Modes           "1280x1024"
        EndSubSection
EndSection
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel driver bug causes screen to stop displaying when changing screen sizes JoeyAdams Linux - Hardware 0 10-14-2007 03:58 PM
xorg screen res not being set properly with Xorg 6.9.0 sgnome Linux - Laptop and Netbook 2 06-12-2006 02:26 AM
Screen switches to 720x400 when exiting X baldy3105 Linux - General 2 11-14-2005 10:58 AM
slackware-current switches from xfree to xorg X-Server. patfins Slackware 25 05-31-2004 02:18 PM
mplayer screen sizes don't increase. unholy Linux - Software 4 10-21-2003 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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