WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Screen rotate - can't deal  (Read 3168 times)

Offline Johnson9

  • WikiUser
  • *
  • Posts: 48
Screen rotate - can't deal
« on: June 22, 2018, 11:48:00 AM »
Hi,
I am newbie at Linux and I have problem.
I manage to autostart Opera in fullscreen but I need one more thing - rotate the screen 90 degrees to the right

I have install Xorg-7.7 and xf86-video-intel but I can't find file xorg.conf in any of localization listed here https://www.x.org/releases/X11R7.7/doc/man/man5/xorg.conf.5.xhtml

I search any tutorial but without success - can someone send me link to instruction or write how to rotate screen?
Thank you in advance for your help and all the answers, every tip will be valuable to me.
Regards

Offline xyz-worx

  • Jr. Member
  • **
  • Posts: 62
Re: Screen rotate - can't deal
« Reply #1 on: June 25, 2018, 03:31:53 AM »
Hi Johnson9,

as far as I remember, xorg does not create a conf-file automatically.
But it should be possible to make your own one. I'm quite sure you
can find several threads here in this forum how to establish a custom
xorg configuration and especially where to place your own xorg.conf.
And if you are done, don't forget to backup the configuration via 'filetool'!

best regards       xyz-worx

Offline Pats

  • Sr. Member
  • ****
  • Posts: 266
Re: Screen rotate - can't deal
« Reply #2 on: June 25, 2018, 05:17:40 AM »
@johnson9 , the Xorg package itself should have a sample .conf file or it can be copied and modified from other distros as well .

Many years back , just for fun I had played with :
 
Quote
Option "RandRRotation" "on"

  in Puppy .

... Video controller should be capable of  rotations ! ...I guess , I had used following command to check card capabilities :
Quote
xrandr
  .

.. See if this link helps you : ...
newbeelink:ttp://www.murgalinux.com/puppy/viewtopic.php?p=301377 .
.. Best Luck !

Offline Johnson9

  • WikiUser
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #3 on: June 25, 2018, 05:55:07 AM »
Hi,
Thank you for reply.

I read few topic about xorg.conf in this forum but I think I am too little experience with Linux system
I managed to create a file xorg.conf in /etc/X11/
(I add etc to /opt/.filetool.lst - after that the xorg.conf file don't dissappear after restart)
But when I add
Quote
xrandr -o right
to xorg.conf and restart computer I have error
Quote
failed in waitforX

(In this attempt on computer I install only Xorg-7.7).
Best regards
« Last Edit: June 25, 2018, 05:57:58 AM by Johnson9 »

Offline Pats

  • Sr. Member
  • ****
  • Posts: 266
Re: Screen rotate - can't deal
« Reply #4 on: June 25, 2018, 10:40:12 AM »
If you are really new in linux , be careful while dealing with hardware related commands , wrong commands may burn-out the monitor !
Pl read carefully and ggl for more details to get the grasp before experimenting :
1) "xrandr"  is an official configuration utility to the RandR X Window System extension. It can be used to set the size, orientation or reflection of the outputs for a screen.
2) Use "xrandr" to query current settings. At the command line type:   
 
Quote
xrandr -q   

Output may be something like
Quote
:Screen 0: minimum 8 x 8, current 2704 x 1050, maximum 32767 x 32767
DP1 disconnected (normal left inverted right x axis y axis)
DP2 connected primary 1024x768+1680+0 (normal left inverted right x axis y axis) 0mm x 0mm   1024x768      60.00*    800x600       60.32    56.25     848x480       60.00     640x480       59.94 
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VGA1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm   1680x1050     59.95*+   1280x1024     75.02    60.02     1152x864      75.00     1024x768      75.08    60.00     800x600       75.00    60.32     640x480       75.00    60.00     720x400       70.08 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

3) To change screens orientation :
 
Quote
xrandr --output HDMI2 --rotate leftxrandr --output DP1 --rotate rightxrandr --output eDP --rotate inverted
.

Use proper output port , where the actual screen is attached .

Offline xyz-worx

  • Jr. Member
  • **
  • Posts: 62
Re: Screen rotate - can't deal
« Reply #5 on: June 25, 2018, 01:15:23 PM »
Hi Johnson9,

don't be afraid to demage your monitor - as long as you have a LCD type.
The worst thing you can get is a dark black screen.

@Pats:
You are right if you thinking about the old cathode ray tube monitors. The
high voltage signals to deflect the cathode ray were derived from the
horizontal/vertical blanking pulses; and if their timing was wrong, you
really could demage you monitor due to excessive voltages.

best regards xyz-worx

Offline Johnson9

  • WikiUser
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #6 on: June 25, 2018, 01:42:45 PM »
Thank you for advice, I will keep trying to rotate screen - I use LCD screen.

Offline Johnson9

  • WikiUser
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #7 on: June 26, 2018, 12:14:04 AM »
Hi,
I really can't deal with rotate this screen ;/

xrandr or xrandr -q don't give me any information about output - (shows only "default")

I installed lxrandr but this did not help me


Command
Quote
xrandr --default --rotate right

Give me only
Quote
output default cannot use rotation

I try
Quote
xrandr --addmode 1024x768_60.00 --orientation right

But this returns
Quote
Failed to get size of gamma ...


After install xf86-video-intel.tcz the error is
Quote
X Error of failed request:

I made some photos of errors.

Maybe some information about my hardware will be helpful

Processor: Geode LX800 (500 MHz) – no PAE Support
Motherboard: WAFER-LX800-R12 Ver. 1.2 (B027)
Disk: ICF1000IPS - 512 MB (company iEi) (compact flash)
Memory: Kingston 256 MB

https://www.ieiworld.com/en/product/model.php?II=200

I am sorry that I am so annoying but I am not be able to overcome it myself
Best Regards

Offline Pats

  • Sr. Member
  • ****
  • Posts: 266
Re: Screen rotate - can't deal
« Reply #8 on: June 26, 2018, 03:52:14 AM »
 Most of the problems in Xorg or xrandr comes  due to old or wrong drivers for your video card . I am not sure if driver for your card is supported in your TCL box.
..But try this :
 1 )
Quote
xrandr --newmode "1200x900_60.00"   88.50  1200 1272 1392 1584  900 903 907 934 -hsync +vsync


 2) Check if the mode has been added: 
Quote
xrandr

 3) Output may be something like :
Quote
Screen 0: minimum 64 x 64, current 640 x 480, maximum 16384 x 16384VGA-0 connected 640x480+0+0 0mm x 0mm   640x480        60.0*+   60.0*    1600x1200      60.0     1440x1050      60.0     1280x960       60.0     1024x768       60.0     800x600        60.0     1200x900_60.00 (0x1b2)   88.5MHz    h: width  1200 start 1272 end 1392 total 1584 skew    0 clock   55.9KHz    v: height  900 start  903 end  907 total  934           clock   59.8Hz


 4) Assign it to the video o/p . Previous step shows it as  VGA-0. ... 
Quote
xrandr --addmode VGA_0 1200x900_60.00
  5)
Quote
xrandr

 
O/put may be :
Quote
Screen 0: minimum 64 x 64, current 640 x 480, maximum 16384 x 16384VGA-0 connected 640x480+0+0 0mm x 0mm   640x480        60.0*+   60.0*    1600x1200      60.0     1440x1050      60.0     1280x960       60.0     1024x768       60.0     800x600        60.0     1200x900_60.00   59.8
....

6) .. Failed to get size of gamma for output" error is not important . ... Just restart the server :
 
Quote
killall Xorg

 Your new resolution now appears in the Monitor Setting resolution options.

Offline Pats

  • Sr. Member
  • ****
  • Posts: 266
Re: Screen rotate - can't deal
« Reply #9 on: June 26, 2018, 05:37:55 AM »
In prvs reply in point 1) :
Pl replace " with "   . ( DoubleQuoteMark) .

Hope you have added "RandRotaion" line  for screen rotation :

** You have to manually add the following line after the Device section where the driver is listed. A sample  "nvidia" Section of /etc/X11/Xorg.conf file is shown  , where .... option is included .***
 
Quote
Section "Device"
Identifier     "Device1"
Driver         "nvidia"
VendorName     "NVIDIA Corporation"
BoardName      "GeForce GT 430"
BusID          "PCI:4:0:0"
Screen         "1"
Option "RandRRotation" "on"
EndSection

....Save the file , logout and login again to allow the changes take effect.

... To rotate the screen to right :
Quote
xrandr -o right

Note : I guess ,  RANDR is supported as of X.Org version X11R6.8.1 and above . In prvs reply : use VGA-1 instead of VGA_1
...Or use proper option from the o/put result.
... But TCL specific and driver specific issues can be solved by Team TCL only and all are ready to help here. Just post your queries here , which I may not be able to solve ! :)

Offline Johnson9

  • WikiUser
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #10 on: June 26, 2018, 06:33:06 AM »
Most of the problems in Xorg or xrandr comes  due to old or wrong drivers for your video card . I am not sure if driver for your card is supported in your TCL box.
..But try this :
 1 )
Quote
xrandr --newmode "1200x900_60.00"   88.50  1200 1272 1392 1584  900 903 907 934 -hsync +vsync



I can't use that command ;/ - I add photo

I will say honestly that I also think that my problem is wrong graphics driver but I do not know which package to install (no specific information from the producer of the motherboard and my very little experience with linux make me don't cope).

Online Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5993
Re: Screen rotate - can't deal
« Reply #11 on: June 26, 2018, 07:22:48 AM »
Hi Johnson9
Quote
xrandr --newmode "1200x900_60.00"   88.50  1200 1272 1392 1584  900 903 907 934 -hsync +vsync
That should probably read:
Code: [Select]
xrandr --newmode "1200x900_60.00"   88.50  1200 1272 1392 1584  900 903 907 934 -hsync +vsync

Offline Johnson9

  • WikiUser
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #12 on: June 26, 2018, 08:03:27 AM »
 :-[  :-[  :-[
I will try tomorrow morning

Offline Pats

  • Sr. Member
  • ****
  • Posts: 266
Re: Screen rotate - can't deal
« Reply #13 on: June 26, 2018, 09:07:51 AM »
@johnson9
... Just check your system with Live CD of another linux Distro of your liking and check  xrandr command for screen rotation and if successful , note down xorg.conf file and other driver/ card  details from xrandr command output . It may help you for posible shortfalls in TCL.

.... By the way , check this :
****There are many posiblities for the xrandr command to fail : ...  XRandR and Xinerama conflicts due to  exclusivity .
... or rotation of the fb and xrandr mismatch ...

.  The  /etc/X11/xorg.conf  file with this config gave success in one case  :  ....
Quote
Section "Device"     
Identifier "Card0"     
Driver "wsfb"     
Option "Rotate" "CW"
EndSection

 ....  Also in another case in /boot/config.txt file :
Quote
filedisplay_rotate=0x10000

 produces desired effect .

...   In prvs versions  , there was a  bug , which was fixed in  Debian upstream package. More details at newbie link:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611619

 .... In the meanwhile try following to find any clues if the command works :
Quote
xrandr --verbose -o left

fbset -i -v

 .... Since I am away from my home and my TCL box , I am unable to experiment , but as still no response from senior members of TCL , may be the required drivers and features are not  availble/ updated in TCL for your Xorg version and hardware .

 Try your monitor / system with another linux distro first  , if it works there !

Offline Johnson9

  • WikiUser
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #14 on: June 26, 2018, 10:10:07 AM »
I sincerely thank you for your time, help  and patience to my person. For sure I will try tomorrow some live CD distro and I will tell if I managed to rotate the screen in any of them.