Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-14-05, 12:45 AM   #1
jdrouin
Registered User
 
Join Date: Mar 2005
Posts: 6
Default 7167 allows rotation but does not resize - Suse 9.2

Hello, I'm using an FX 5700 LE video card with a 1600x1200 ViewSonic VP201b LCD, SuSE 9.2, kernel 2.6.8-24.11-smp, P4 prescott.

I installed the new 7167 driver from the .run package. I then added

Option "RandRRotation" "on"

to my XF86Config file. Also changed Option "Rotate" from "off" to "on".

My screen will rotate, but will not resize. So if I rotate left 90 degrees, the desktop goes offscreen to the right and there is black space beneath.

How can I get my screen to resize as well as rotate? Should I add a 1200x1600 modeline to XF86Config? If so, how do I calculate the modeline figures and what else should I add to the file?

I have copy-pasted my XF86Config below. Thanks for any help.

# /.../
# SaX generated X11 config file
# Created on: 2005-03-14T01:13:52-0500.
#
# Version: 4.8
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.8)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
InputDevices "/dev/ttyS0"
InputDevices "/dev/ttyS1"
InputDevices "/dev/ttyS2"
InputDevices "/dev/ttyS3"
InputDevices "/dev/ttyS4"
InputDevices "/dev/ttyS5"
InputDevices "/dev/ttyS6"
InputDevices "/dev/ttyS7"
InputDevices "/dev/ttyS8"
InputDevices "/dev/psaux"
InputDevices "/dev/logibm"
InputDevices "/dev/sunmouse"
InputDevices "/dev/atibm"
InputDevices "/dev/amigamouse"
InputDevices "/dev/atarimouse"
InputDevices "/dev/inportbm"
InputDevices "/dev/gpmdata"
InputDevices "/dev/mouse"
InputDevices "/dev/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
InputDevices "/dev/pointer0"
InputDevices "/dev/pointer1"
InputDevices "/dev/pointer2"
InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
Option "RandR" "on"
EndSection

Section "Module"
Load "glx"
Load "type1"
Load "extmod"
Load "dbe"
Load "freetype"
Load "v4l"
EndSection

Section "InputDevice"
Driver "kbd"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Buttons" "7"
Option "Device" "/dev/input/mice"
Option "Name" "GenPS/2 Genius Wheel Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Option "CalcAlgorithm" "CheckDesktopGeometry"
DisplaySize 360 270
HorizSync 29-95
Identifier "Monitor[0]"
ModelName "1600X1200@60HZ"
Option "DPMS"
VendorName "--> LCD"
VertRefresh 40-62
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1280x1024" 108.88 1280 1360 1496 1712 1024 1025 1028 1060
Modeline "1600x1200" 160.96 1600 1704 1880 2160 1200 1201 1204 1242
Modeline "1600x1024" 136.36 1600 1704 1872 2144 1024 1025 1028 1060
Modeline "1600x1000" 133.14 1600 1704 1872 2144 1000 1001 1004 1035
Modeline "1400x1050" 122.61 1400 1488 1640 1880 1050 1051 1054 1087
Modeline "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932
Modeline "1280x960" 102.10 1280 1360 1496 1712 960 961 964 994
Modeline "1280x800" 83.46 1280 1344 1480 1680 800 801 804 828
Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
Modeline "1152x864" 81.62 1152 1216 1336 1520 864 865 868 895
Modeline "1024x768" 64.11 1024 1080 1184 1344 768 769 772 795
Modeline "800x600" 38.22 800 832 912 1024 600 601 604 622
Modeline "768x576" 34.96 768 792 872 976 576 577 580 597
Modeline "640x480" 23.86 640 656 720 800 480 481 484 497
EndSection

Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1600x1024" "1600x1000" "1400x1050" "1440x900" "1280x1024" "1280x960" "1280x800" "1280x768" "1152x864" "1024x768" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Section "Device"
BoardName "GeForce FX 5700"
Driver "nvidia"
Identifier "Device[0]"
Screen 0
Option "Rotate" "on"
Option "RandRRotation" "on"
VendorName "NVidia"
EndSection

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
EndSection
jdrouin is offline   Reply With Quote
Old 03-14-05, 06:40 AM   #2
vslavik
Registered User
 
Join Date: Oct 2003
Posts: 16
Default Re: 7167 allows rotation but does not resize - Suse 9.2

Same problem here. It looks like a bug in XRandr implementation to me -- after rotating, the desktop size (both in pixels and physical!) should change. Adding new modelines may help, but often doesn't, because most monitors don't support this kind of resolution, e.g. my LCD chokes on 1024x1280.

When I add "Virtual 1024 1280" to my display definition in xorg.conf, then full screen is used after resize, but the root window doesn't resize, so it's still unusable. Besides, it makes the normal mode unusable, of course.

Can this please be fixed in the next version of the driver? It's great that NVidia driver supports rotation, but it would be even greater if it worked
vslavik is offline   Reply With Quote
Old 03-14-05, 07:10 AM   #3
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: 7167 allows rotation but does not resize - Suse 9.2

Quote:
Originally Posted by vslavik
Same problem here. It looks like a bug in XRandr implementation to me -- after rotating, the desktop size (both in pixels and physical!) should change. Adding new modelines may help, but often doesn't, because most monitors don't support this kind of resolution, e.g. my LCD chokes on 1024x1280.
Are you sure? It seems to work for me -- xrandr reports the actual screen size while xdpyinfo reports the rotated desktop size. You might need to restart your window manager to update its idea of the desktop size.

Code:
~$ xrandr -o left
~$ xdpyinfo | grep -B1 dots
  dimensions:    1024x1280 pixels (271x342 millimeters)
  resolution:    96x95 dots per inch
~$ xrandr
 SZ:    Pixels          Physical       Refresh
*0   1280 x 1024   ( 342mm x 271mm )  *75   60  
 1   1152 x 864    ( 342mm x 271mm )   75  
 2   1024 x 768    ( 342mm x 271mm )   75   70   60  
[...]
 12   320 x 240    ( 342mm x 271mm )   75   73   60  
Current rotation - left
Current reflection - none
Rotations possible - normal left inverted right 
Reflections possible - none
~$ xrandr -o normal
~$ xdpyinfo | grep -B1 dots
  dimensions:    1280x1024 pixels (342x271 millimeters)
  resolution:    95x96 dots per inch
AaronP is offline   Reply With Quote
Old 03-14-05, 07:35 AM   #4
vslavik
Registered User
 
Join Date: Oct 2003
Posts: 16
Default Re: 7167 allows rotation but does not resize - Suse 9.2

You're right, xdpyinfo reports the right size and restarting the window manager helps. Restarting WM shouldn't be necessary, though, that's the point of Xrandr. Maybe it's a bug in the WM... What WM are you using? I'm running kwin from KDE 3.2.2 (which correctly handles Xrandr resizes, hence my assumption it's a driver issue). Thanks!
vslavik is offline   Reply With Quote
Old 03-14-05, 08:34 AM   #5
labba
Registered User
 
Join Date: Jun 2004
Posts: 54
Default Re: 7167 allows rotation but does not resize - Suse 9.2

I have exacly the same Problem: see here: http://www.nvnews.net/vbulletin/show...t=47401&page=6

I sent a bugreport to nvidia but still I'm waiting for an answer...
After some testing I think this could be a KDE issue, because without a WM (just X with xterm) it works perfectly for me.
labba is offline   Reply With Quote
Old 03-14-05, 08:46 AM   #6
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 7167 allows rotation but does not resize - Suse 9.2

If it works without a window manager, then chances are KDE doesn't handle the resize event (correctly).
zander is offline   Reply With Quote
Old 03-14-05, 08:49 AM   #7
jdrouin
Registered User
 
Join Date: Mar 2005
Posts: 6
Default Re: 7167 allows rotation but does not resize - Suse 9.2

Thanks! I realized I can simply drag windows down into the black space, so it essentially works even though the root window is not resized.

I'm using KDE 3.3 and tried restarting KWin by typing

kwin --replace

in a Konsole window and all it did was turn the black space white.

Is there a better way to restart KWin?
jdrouin is offline   Reply With Quote
Old 03-14-05, 10:43 AM   #8
vslavik
Registered User
 
Join Date: Oct 2003
Posts: 16
Exclamation Re: 7167 allows rotation but does not resize - Suse 9.2

Works correctly with Metacity WM, too, so it indeed looks like a kwin bug, sorry for the noise.

(Update: Now reported to KDE team: bug #101516)

Last edited by vslavik; 03-16-05 at 08:03 AM.
vslavik is offline   Reply With Quote

Old 03-15-05, 11:09 AM   #9
dev_Urandom
Registered User
 
Join Date: Mar 2005
Posts: 3
Exclamation Re: 7167 allows rotation but does not resize - Suse 9.2

So, may be the answer is in applayng 'xrandr -o left' beetwen startinx X (Xorg) and startkde ?

Can anybody edit the X scripts to try this? I'am far from my linux machine now, will try this later.

And plz, mail me [devurandom at andex.ru], if you succed.
dev_Urandom is offline   Reply With Quote
Old 03-15-05, 11:17 AM   #10
vslavik
Registered User
 
Join Date: Oct 2003
Posts: 16
Default Re: 7167 allows rotation but does not resize - Suse 9.2

Quote:
Originally Posted by dev_Urandom
So, may be the answer is in applayng 'xrandr -o left' beetwen startinx X (Xorg) and startkde ?
That would, of course, work, but would also be quite useless - the point of Xrandr being changing resolution and orientation without having to restart the server.
vslavik is offline   Reply With Quote
Old 03-15-05, 12:00 PM   #11
dev_Urandom
Registered User
 
Join Date: Mar 2005
Posts: 3
Wink Re: 7167 allows rotation but does not resize - Suse 9.2

Quote:
Originally Posted by vslavik
That would, of course, work, but would also be quite useless - the point of Xrandr being changing resolution and orientation without having to restart the server.
"For whom how". I preffer vertical screen orientation mostly. But I agree with your point.


BTW, I often get KDE hanged with 'xrandr -o left', so have to press reset. Does anybody get the same problem? My soft is Xorg 6.8.2, latest NVidia driver, KDE 3.3.2
dev_Urandom is offline   Reply With Quote
Old 03-15-05, 01:41 PM   #12
labba
Registered User
 
Join Date: Jun 2004
Posts: 54
Default Re: 7167 allows rotation but does not resize - Suse 9.2

Quote:
Originally Posted by dev_Urandom
BTW, I often get KDE hanged with 'xrandr -o left', so have to press reset. Does anybody get the same problem? My soft is Xorg 6.8.2, latest NVidia driver, KDE 3.3.2
yeah I have this problem, too (http://www.nvnews.net/vbulletin/show...7&postcount=81).
I already wrote a bugreport to nvidia.
Does your machine freeze completely, or are you able to move your mouse?
Can you look if you also get those "Xid 13" Errors in dmesg, if your box crashes?
(http://www.nvnews.net/vbulletin/show...149#post566149)
labba is offline   Reply With Quote
Reply


Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Base mosaic and rotation? happyfunbot NVIDIA Linux 5 07-13-12 12:23 PM

All times are GMT -5. The time now is 03:19 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.