Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Dec 2014, 22:10
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Screen Rotation
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Author Message
ldrew


Joined: 02 May 2009
Posts: 21

PostPosted: Sat 02 May 2009, 16:39    Post subject:  Screen Rotation
Subject description: does anybody know how to get the screen to rotate?
 

Hi, I've been trying to find out how to get the screen to rotate on an old laptop running Puppy 4.2. I have tried the windows shortcuts being Alt+Ctl+Arrow key to no avail. I have tried using Xrandr in the command line but since I am new to puppy i was unsuccessful. Any insight into my problem would be tremendous. What i am trying to do is mount the laptop under a desk to use as a music jukebox. I have installed songbird and everything is great except i cannot find out how to get the screen to rotate 180 degrees. Please help
Thanks
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6464
Location: Auckland, New Zealand

PostPosted: Sat 02 May 2009, 17:54    Post subject:  

Code:
xrandr -o inverted

Assuming your graphics driver supports it.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
ldrew


Joined: 02 May 2009
Posts: 21

PostPosted: Sat 02 May 2009, 18:03    Post subject:  

@ disciple
I have tried doing this several times. I get an error message-

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 153 (RANDR)
Minor opcode of failed request: 2 (RRSetScreenConfig)
Serial number of failed request: 12
Current serial number in output stream: 12

I am not too sure what this is trying to tell me or how to fix it. Thanks for any input I'll try whatever. Is there any other way to get the screen to invert? If i tried this command in XVESA would it work?
Back to top
View user's profile Send private message 
ravensrest


Joined: 22 Feb 2008
Posts: 324
Location: Hood Canal, WA

PostPosted: Sat 02 May 2009, 18:09    Post subject:  

Your video controller must be capable of performing rotations and inversions. In a terminal, type 'xrandr'. You should get something like below:

Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1280 x 1200
VGA-0 disconnected (normal left inverted right)
DVI-0 connected 1280x1024+0+0 (normal left inverted right) 338mm x 270mm
1280x1024 60.0*+ 75.0 59.9
1152x864 75.0
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3
640x480 75.0 72.8 60.0
720x400 70.1
S-video disconnected (normal left inverted right)

If the information about (normal left inverted right) is not present, your video board does not support those functions.

If it does, the correct syntax is 'xrandr -o [normal, left right, inverted]'

BS
Back to top
View user's profile Send private message 
ldrew


Joined: 02 May 2009
Posts: 21

PostPosted: Sat 02 May 2009, 18:15    Post subject:  

@ravensnest

That is correct. I get that screen however the only information present is pertaining to the screen. nothing about VGA or S-Video. So i guess i'm out of luck?
Back to top
View user's profile Send private message 
ldrew


Joined: 02 May 2009
Posts: 21

PostPosted: Sat 02 May 2009, 18:19    Post subject:  

what i'm trying to recreate is found here
http://bluelinecity.com/projects/kitchenet/

This guy's computer has similar specs CPU & Ram. About the same era computer. I have an Acer Travelmate 737TLV that originally ran Windows 98.
Back to top
View user's profile Send private message 
ldrew


Joined: 02 May 2009
Posts: 21

PostPosted: Sat 02 May 2009, 18:22    Post subject:  

I just changed my video to XVESA. I then ran the same command and the screen goes blank for a minute then comes back on. The terminal error simply says failed to change the screen configuration!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6464
Location: Auckland, New Zealand

PostPosted: Sat 02 May 2009, 19:15    Post subject:  

I'm not sure that XVesa supports randr.

I've just tried rotating my screen (in Xorg) and discovered I have the same problem. I have an old Nvidia graphics card that was able to rotate in older Puppies when I compiled the Nvidia drivers myself, but it won't rotate now using an Nvidia .pet. So either the .pet is faulty or xrandr or something in Puppy is faulty. I'll try compiling the drivers to see which it is.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
ravensrest


Joined: 22 Feb 2008
Posts: 324
Location: Hood Canal, WA

PostPosted: Sat 02 May 2009, 19:39    Post subject:  

Xrandr will list whatever video ports your board supports. Mine has DVI, VGA, and S-video outputs, all of which are capable of inverting and rotating the image.

Once again, if you do not see the info (normal inverted right left), your board is NOT capable of those functions.
Back to top
View user's profile Send private message 
ldrew


Joined: 02 May 2009
Posts: 21

PostPosted: Sat 02 May 2009, 19:44    Post subject:  

I have successfully rotated the screen in XVESA. I first set up XVESA using 1024x768x24 and the command failed. The desktop however presented normally. I then reran the XVESA wizard and used 1024x768x16 settings. After i did this the screen flipped nicely for me. Is there a way to automate this command so i don't have to every time on startup. I'm not sure if im going to need to invert the mouse.
Thanks
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6464
Location: Auckland, New Zealand

PostPosted: Sun 03 May 2009, 06:22    Post subject:  

Quote:
Once again, if you do not see the info (normal inverted right left), your board is NOT capable of those functions

No; your board as currently set up in Puppy is not capable of them Smile
Like I said, I have a card (well actually more than one) that can rotate... but I can't currently get it to in Puppy.
BTW an update: I tried compiling the Nvidia drivers myself again today, but I can't figure out how to install the kernel source the way they want... I put it in /usr/src, but then it complains about not being able to find the kernel config... when I point it to that it complains that it can't tell what kernel version it was for Sad

Quote:
Is there a way to automate this command so i don't have to every time on startup.

Put it in a script in /root/Startup
You can actually add it as an setting in xorg.conf, but I can't remember exactly how and where. Can anyone remember if doing that automatically rotates the mouse as well?

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
ldrew


Joined: 02 May 2009
Posts: 21

PostPosted: Sun 03 May 2009, 09:16    Post subject:  

@ disciple
I actually was successful in flipping it i just had to play with the XVesa settings. It is working fine for me now. Thanks for the advice on the startup issue. Any particular place i need to place that command?
Back to top
View user's profile Send private message 
zenfunk

Joined: 18 Mar 2009
Posts: 222

PostPosted: Mon 04 May 2009, 04:03    Post subject:  

Not sure this works, but you probably could just ad the command to your .xinitrc.
If it fails you have to change back the xinitrc from the commandline- so be sure you remember the name of your commandline text editor. Very Happy

Cheers,
Christian
Back to top
View user's profile Send private message 
ldrew


Joined: 02 May 2009
Posts: 21

PostPosted: Mon 04 May 2009, 11:57    Post subject:  

thanks zenfunk i'll try that
Anybody have any suggestions on inverting the mouse?
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6464
Location: Auckland, New Zealand

PostPosted: Fri 22 May 2009, 23:48    Post subject:  

Weird. Before when I installed the nvidia .pet I got this:
Code:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 153 (RANDR)
Minor opcode of failed request: 2 (RRSetScreenConfig)
Serial number of failed request: 12
Current serial number in output stream: 12

I think even if I added
Code:
   Option "RandRRotation" "on"
to the device section of xorg.conf
Now if I add that it works.
Also, this didn't work:
Code:
   Option     "Rotate" "CCW"                # [<str>]

Now it does, and both ways rotate the mouse to match the screen. Unfortunately it disables running xrandr Sad
Code:
~# xrandr -o left
Xlib:  extension "RANDR" missing on display ":0.0".
RandR extension missing

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0778s ][ Queries: 12 (0.0048s) ][ GZIP on ]