Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: Johnson9 on June 22, 2018, 11:48:00 AM

Title: Screen rotate - can't deal
Post by: Johnson9 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 (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
Title: Re: Screen rotate - can't deal
Post by: xyz-worx 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
Title: Re: Screen rotate - can't deal
Post by: Pats 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 !
Title: Re: Screen rotate - can't deal
Post by: Johnson9 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
Title: Re: Screen rotate - can't deal
Post by: Pats 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 .
Title: Re: Screen rotate - can't deal
Post by: xyz-worx 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
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 25, 2018, 01:42:45 PM
Thank you for advice, I will keep trying to rotate screen - I use LCD screen.
Title: Re: Screen rotate - can't deal
Post by: Johnson9 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
Title: Re: Screen rotate - can't deal
Post by: Pats 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.
Title: Re: Screen rotate - can't deal
Post by: Pats 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 ! :)
Title: Re: Screen rotate - can't deal
Post by: Johnson9 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).
Title: Re: Screen rotate - can't deal
Post by: Rich 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
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 26, 2018, 08:03:27 AM
 :-[  :-[  :-[
I will try tomorrow morning
Title: Re: Screen rotate - can't deal
Post by: Pats 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 !
Title: Re: Screen rotate - can't deal
Post by: Johnson9 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.
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 26, 2018, 11:05:32 AM
I am sorry for post after post but I can't edit the last one (don't have the option to do it)

Some years before on this computer was installed Debian 6 and the screen was rotated - but I do not know the person who did it.

However that allows think that the equipment is able to handle the rotation of the screen.
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 26, 2018, 12:13:59 PM
Hope you have added "RandRotaion" line  for screen rotation :

I feel very stupid but my xorg.conf file was created by me and is empty. (It's hard to admit but I dont have "RandRotation" in this file)

I searched for xorg.conf file in /usr/local/share/X11/xorg.conf.d/ but it isn't there.

When I tried this steps:
Shutdown -> exit to prompt
Putting command cd /etc/X11 next Xorg -configure in location /root/ was created file xorg.conf.new
but when I try copy it with command cp /root/xorg.conf/new /etc/X11/xorg.conf to /etc/X11/xorg.conf and restart the computer I receive error failed in waitforX


Command X -configure doesn't work

(in /etc/ I create folder X11 and file xorg.conf
sudo -s
cd  /etc/
mkdir X11
touch /etc/X11/xorg.conf

and add etc to file .filetool.lst in opt folder)

I hope that I did not anger you with my ignorance.
Title: Re: Screen rotate - can't deal
Post by: Pats on June 26, 2018, 04:42:00 PM
From your attached screen shots , I noticed that you do'nt have proper /etc/X11/xorg.conf file.
1) Using "sudo" ,  rename or delete above file if it is already present.
2) Then using "sudo" ,   copy the sample xorg.conf.vesa file bundled with Xorg package. 
3) Make required changes in Device section , as already mentioned above in a sample Device section  . If not sure about your card or driver try to use "intel"
 4) Backup
 5) logout and login again to terminal mode ( not GUI terminal )  and try "xrandr" .

**** Also I would suggest to go thru following Tinycore discusions to know the details and errors in  "xrandr" command :
  1) http://forum.tinycorelinux.net/index.php?topic=14424.0
2) http://forum.tinycorelinux.net/index.php?topic=19397.15
3) http://forum.tinycorelinux.net/index.php?topic=12240.0

Note : You may also ggl for using Screen Rotation and xrandr command in Xvesa mode.

Best Luck ! :)
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 27, 2018, 03:09:51 AM
Regarding to the last post

1. - file deleted
2. - I stuck on this point.

I can't find any xorg.conf file. (photo with name 1 from attachments)


Regarding to the older messages

Code: [Select]
xrandr --newmode "1200x900_60.00"   88.50  1200 1272 1392 1584  900 903 907 934 -hsync +vsync
Don't work. (I tried it also in puppy live cd). https://imgur.com/a/cdZs2d8 (https://imgur.com/a/cdZs2d8)

This photo https://imgur.com/a/cTgvFMu (https://imgur.com/a/cTgvFMu) shows result of
Code: [Select]
xrandr command from puppy.

xorg.conf file from puppy https://imgur.com/a/f7fYEnX (https://imgur.com/a/f7fYEnX)

Puppy live CD create xorg.conf file automatically and in this file is line with
Code: [Select]
"RandRotaion" (line 38)

In a moment I will try to check other live cd distros and suggested commands which I haven't checked yet

I will let you know about effects.

Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 27, 2018, 04:03:43 AM
** 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

I added this to the file /etc/X11/xorg.conf that I created myself - there was nothing else in it

The result was failed in waitforX


I also tried this command

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

fbset -i -v

Result in this photo https://imgur.com/a/AhDFWUR (https://imgur.com/a/AhDFWUR)



EDIT

Report about graphics card from puppy https://imgur.com/a/0SxmXaC (https://imgur.com/a/0SxmXaC) if I understand correctly, my card only supports vesa ??
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 27, 2018, 04:47:38 AM
In puppy live CD I add line
Code: [Select]
Option "RandRRotation" "on" to file xorg.conf in section Device and next I try some command https://imgur.com/a/Wk8mreX (https://imgur.com/a/Wk8mreX) without success.


EDIT:
.  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


I tried this in puppy  - no success
Title: Re: Screen rotate - can't deal
Post by: Pats on June 27, 2018, 04:50:39 AM
LOL ... :)
All your Imgur photos looks like blank screen ! What do'nt you just copy / paste  actual errors in your posts ?

Also why you do'nt copy / paste the contents of automatically generated xorg.conf file from Puppy into your TCL's /etc/X11/xorg.conf file ?

Also try to search in prvs TCL forum mesages , when and why "failed in waitforX" message appears and what is boot codes and booting process ! Also pl read Wiki for some basics how to setup many things ! Have you gone thru 3 links provided in my prvs post ?

But keep trying to explore TCL and linux , many are here to help !
:)
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 27, 2018, 05:34:27 AM
LOL ... :)
All your Imgur photos looks like blank screen ! What do'nt you just copy / paste  actual errors in your posts ?

I think that photo is a good method because you can see what I wrote in to command line and check if I did not make a mistake in the command

I check Imgur links before paste it here ;/ they work

But I copy it to postimage (maybe here photos will work)
https://imgur.com/a/cdZs2d8 (https://imgur.com/a/cdZs2d8) - https://postimg.cc/gallery/2y50in67m/ (https://postimg.cc/gallery/2y50in67m/)
https://imgur.com/a/cTgvFMu (https://imgur.com/a/cTgvFMu) - https://postimg.cc/image/h770fk0q9/ (https://postimg.cc/image/h770fk0q9/)
https://imgur.com/a/f7fYEnX (https://imgur.com/a/f7fYEnX) - https://postimg.cc/gallery/3jksn9mia/ (https://postimg.cc/gallery/3jksn9mia/)
https://imgur.com/a/AhDFWUR (https://imgur.com/a/AhDFWUR) - https://postimg.cc/image/eedsvl5jl/ (https://postimg.cc/image/eedsvl5jl/)
https://imgur.com/a/0SxmXaC (https://imgur.com/a/0SxmXaC) - https://postimg.cc/gallery/1wrg7o20i/ (https://postimg.cc/gallery/1wrg7o20i/)
https://imgur.com/a/Wk8mreX (https://imgur.com/a/Wk8mreX) - https://postimg.cc/gallery/29x32g5de/ (https://postimg.cc/gallery/29x32g5de/)



Also why you do'nt copy / paste the contents of automatically generated xorg.conf file from Puppy into your TCL's /etc/X11/xorg.conf file ?

I would probably try to do this if the rotation on puppy worked - but here it also did not work (I can not rotate the screen)

Also try to search in prvs TCL forum mesages , when and why "failed in waitforX" message appears and what is boot codes and booting process ! Also pl read Wiki for some basics how to setup many things ! Have you gone thru 3 links provided in my prvs post ?

But keep trying to explore TCL and linux , many are here to help !
:)

I read them, but I did not understand everything. I will read them one more time, and after that I will look for topics about error "failed in waitforX"

Thank you for your time and patience
Title: Re: Screen rotate - can't deal
Post by: Misalf on June 27, 2018, 07:38:18 AM
If you're using Openbox, things can be made easy:
Openbox - xrandr pipe menu for resolution and stuff
http://forum.tinycorelinux.net/index.php/topic,19886.msg123419.html
Title: Re: Screen rotate - can't deal
Post by: Pats on June 27, 2018, 11:23:50 AM
I think , solution to "Failed to ..
 gamma ... default etc"  error and setting higher resolution for your screen , is already given by jaunito  by loading  xf86-video-ati.tcz  in this thread :
http://forum.tinycorelinux.net/index.php?topic=21461.0

. But it requires some tinkering and good knowledge of linux commands and Xorg...
 In the meanwhile you can try this command if you have properly setup your xorg.conf file and screen resolution with prvsly explained command . Also before using following command , pl check if -o and -r are required in place of --output and --rotate .... "xrandr --help"  will show you all available options ..
 
Quote
xrandr --output LVDS --auto --rotate normal --pos 0x0 --output VGA --auto --rotate left --right-of LVDS

 ... Note: From your given screen shots , it looks OK for screen rotation and your video card is : VGA integrated in AMD Geode™ LX 80024-bit TTL18-bit single-channel LVDS. Not sure if you require some AMD specific drivers or not !

Or if you know abt Openbox , Misalf has already shown the path with readymade script.
... Linux is interesting to explore. You never cease to learn ! :)
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 27, 2018, 03:15:32 PM
Evidently I have too little experience  :(

If this
You could try xf86-video-ati + graphics-KERNEL without the xorg.conf snippets?
is a solution for my problem - how to try this?

I understand that I must install xf86-video-ati and in some way load graphics-KERNEL - but how??

I think that I found proper KERNEL http://teknoraver.net/software/geode/ ?


. But it requires some tinkering and good knowledge of linux commands and Xorg...

This is definitely above my strength.


Or if you know abt Openbox , Misalf has already shown the path with readymade script.
... Linux is interesting to explore. You never cease to learn ! :)

I don't know openbox but I will try to use it - maybe I manage with this (Wish me success)

I do not deny but I probably do not have the ability and the amount time that it requires.
I may be wrong but I have the impression that I have an exceptionally uphill with it.
Title: Re: Screen rotate - can't deal
Post by: Pats on June 27, 2018, 06:09:15 PM
I really do not know ,  how much is your linux know-how in general and Tinycorelinux in perticular , as you have already said that you are a newbie ! But if you really do not know many small things like :
Quote
If you forget to hit <ENTER> at the end of last line of the xorg.conf file,  it may not  work .
Then it is time , you better read FAQ and Wiki pages  , links of which are available at top side of this forum's index page.

 If a command with --verbose keyword is not giving any error, then you can try that command without --verbose option.

Also do you know that ,  you can also rotate screen in xvesa with following command :
Quote
Xvesa --screen 640x480@90x24

Though I have not tried it in TCL !  Since I have Intel chipset with Intel graphics card supporting high resolutions , I never faced so many problems in Xorg -except slow speed due to less RAM !

 Lastly I would suggest , you better go one-step-at-a-time approach in TCL and allow some more time to experiment in Linux. Just try with xserver-xorg-video-ati extention loaded and then try " xrandr" command. See if any errors are repeated. You can always revert to prvs state by unloading the extention.

Also in older version of TCL , there was a bug in  the xf86-video-intel driver , but then applying  *xf86-video-intel v. 2.20.12*  had solved xrandr problems. Hopefully current version of TCL may  have solved many such problems without any patches.

In the mean-while keep reading and trying various options of "xrandr" command. Different distros with different hardware requires a lot of "try and error" approach. There is no Out-Of-Box   and Fit-for-all soln in Linux , as you already know it !

 Best Luck !
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 27, 2018, 10:01:41 PM
Always when depends me on time The things can not go on my way. 

I found this https://support.amd.com/en-us/kb-articles/Pages/geode-linux-drivers.aspx (https://support.amd.com/en-us/kb-articles/Pages/geode-linux-drivers.aspx)

Well, I will continue try and fight. but probably without success.

Thank you guys for Time and help Special thanks for Pats for Pattiencie to my person
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 27, 2018, 11:08:32 PM
Sorry for mistakes in previous post - I wrote it from mobile phone...

I want to say that I really wanted to make this quickly. (I don't know why I wrote "depends me")


I found tophic with similar problem https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-geode/+bug/377929 - when I look on it I tkink that this is probably to complex problem for me

And release note (from windows but for this graphics) http://files.fcopos.co.uk/EBN_DriverBankDVD/VersionC2/Driver/Main%20Board%20Driver/VGA/AMD%20LX800/SmartPOS/readme.txt


Maybe one of this driver will work for me https://github.com/bitrig/bitrig-xenocara/tree/master/driver/xf86-video-geode
https://github.com/freedesktop/xf86-video-cyrix

https://cgit.freedesktop.org/xorg/driver/xf86-video-geode/
https://www.x.org/wiki/GeodeDriver/

Pattiencie - patience (cell phone dictionary changed it - I don't know why)

One more time sorry for all mistakes.
Title: Re: Screen rotate - can't deal
Post by: Pats on June 28, 2018, 08:08:08 AM
You are partlly correct about problems , but I already know that there were some updates available in Windoz , _XP etc for many _AMD chipsets to solve rotation and other errors. But a link provided by you shows manufacturers log mentioning abt rotation in 90 , 180 and 270 degrees !
.. So there must be a patch for linux also , but that procedure may be beyond the scope !
... But this thread must  be helpful to many newbies for linux knowledge , I hope !   :)
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 29, 2018, 03:52:06 AM
I gave myself a little break and only today I sat down again. But it can not be easy - all the time uphill.

I downloaded and unzipped driver - but when I try to ./configure it an error appears - error refers to the time of created files.

https://imgur.com/a/ejG7Hsp - https://postimg.cc/gallery/15ao43h2q/96141698/
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 29, 2018, 04:34:30 AM
I thought I dealt with this error, but that would be too beautiful...

https://imgur.com/a/yKIyoqH - https://postimg.cc/gallery/2kfi7z582/b03954e4/

I search for this error - http://forum.tinycorelinux.net/index.php?topic=6671.0 so I will try fight on

EDIT:it's probably over my head, and certainly beyond my abilities.

https://imgur.com/a/YAMEOl0 - https://postimg.cc/gallery/1movan4fm/4f9ccc1d/
Title: Re: Screen rotate - can't deal
Post by: Juanito on June 29, 2018, 04:52:59 AM
Have you checked if you can rotate your screen using the modesetting driver?

To test, load graphics-KERNEL and Xorg-7.7, but do not load any other xf86-video* drivers. Then try this from a terminal window:
Code: [Select]
$ xrandr -o left
$ xrandr -o normal

It works for me with intel hd4400 graphics
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 29, 2018, 05:12:26 AM
No, I didn't tried modesetting driver.

Probably this is a stupid question but how to load the graphics-KERNEL??? Can you send me some tutorial or something else which can help me load the graphics-KERNEL?

If someone tell me how to make it - I will definitely.

I have load Xorg-7.7 and I think I have idea how I can load graphics-KERNEL. I'm going to check it out.

Title: Re: Screen rotate - can't deal
Post by: Juanito on June 29, 2018, 05:28:31 AM
Boot to a console prompt or exit to a console prompt and then:
Code: [Select]
$ tce-load -i graphics-KERNEL Xorg-7.7
$ startx
$ xrandr -o left
$ xrandr -o normal
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 29, 2018, 05:48:35 AM
Unfortunately, none of this

Code: [Select]
graphics-4.14.10-tiny core.tcz not found!
EDIT okay - I downloaded what was not found.
Title: Re: Screen rotate - can't deal
Post by: Juanito on June 29, 2018, 05:54:07 AM
Code: [Select]
$ tce-load -wil graphics-KERNEL
Title: Re: Screen rotate - can't deal
Post by: Juanito on June 29, 2018, 06:05:30 AM
and btw, the xorg.conf snippet to get things to work on my machine is:
Code: [Select]
$ cat /usr/local/share/X11/xorg.conf.d/10-rotate-left.conf
Section "Monitor"
   Identifier "<defaultmonitor>"
   Option "Rotate" "left"
EndSection

Monitor name found by looking at Xorg.0.log:
Code: [Select]
$ cat /var/log/Xorg.0.log
...
[  8985.808] (==) No screen section available. Using defaults.
[  8985.808] (**) |-->Screen "Default Screen Section" (0)
[  8985.808] (**) |   |-->Monitor "<default monitor>"
[  8985.808] (==) No monitor specified for screen "Default Screen Section".
...
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 29, 2018, 06:08:15 AM
Xrandr did not work

https://imgur.com/a/vjIm4VI - https://postimg.cc/gallery/2n4zmdl4i/4988de47/

Ok. I will make the same file as you have

EDIT

I make file file 10-rotate-left.conf

https://postimg.cc/gallery/1ogcvcqwi/2636f25b/ -https://imgur.com/a/PzJLTGy

After that I go to Shutdown -> Exit to Prompt and write this command

Code: [Select]
$ tce-load -i graphics-KERNEL Xorg-7.7
$ startx

and in terminal window I try xrandr -o left

https://postimg.cc/gallery/ntwbge2a/ - https://imgur.com/a/SrJPVQ1
Title: Re: Screen rotate - can't deal
Post by: Juanito on June 29, 2018, 06:13:32 AM
OK - I guess that means your graphics chipset is not supported by the modesetting driver and it falls back to the vesa driver, which does not support rotation.

If you look in /var/log/Xorg.0.log, what do you see in this section:
Code: [Select]
[  8985.827] (==) Matched intel as autoconfigured driver 0
[  8985.827] (==) Matched modesetting as autoconfigured driver 1
[  8985.827] (==) Matched fbdev as autoconfigured driver 2
[  8985.827] (==) Matched vesa as autoconfigured driver 3
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 29, 2018, 06:26:19 AM
I make photo
https://imgur.com/a/YdCT69U - https://postimg.cc/image/wd663wjjl/7cefe369/

EDIT I have to go out for an hour because I'm contracted, but when I come back, I'll try
to follow your advice.
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 29, 2018, 08:27:19 AM
I copy content of my /var/log/xorg.0.log file and paste to pastebin https://pastebin.com/GN2dkC4z
Title: Re: Screen rotate - can't deal
Post by: Juanito on June 29, 2018, 09:10:29 AM
OK, so you have:
Code: [Select]
[    62.195] (==) Matched geode as autoconfigured driver 0
[    62.195] (==) Matched modesetting as autoconfigured driver 1
[    62.195] (==) Matched fbdev as autoconfigured driver 2
[    62.195] (==) Matched vesa as autoconfigured driver 3

..the modesetting driver is unloaded, so either graphics-KERNEL was not loaded or modesetting doesn't support your hardware.

I'll look at compiling xf86-video-geode
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 29, 2018, 09:33:25 AM
Yes I have

Code: [Select]
[    62.195] (==) Matched geode as autoconfigured driver 0
[    62.195] (==) Matched modesetting as autoconfigured driver 1
[    62.195] (==) Matched fbdev as autoconfigured driver 2
[    62.195] (==) Matched vesa as autoconfigured driver 3

in my xorg.0.log


Thank you and sorry for problem.
Title: Re: Screen rotate - can't deal
Post by: Juanito on June 29, 2018, 09:36:28 AM
xf86-video-geode posted - hopefully loading that will help
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 29, 2018, 10:40:47 AM
Ok, I make clear system installation.

Load Xorg-7.7 and xf86-video-geode - after that restart computer and unfortunately have error
Code: [Select]
failed in waitforX  ;(

Maybe I made something in wrong way
https://imgur.com/a/NyZKcIt - https://postimg.cc/gallery/jb9gjvfc/d1e80a8d/ - photo of install Xorg
https://imgur.com/a/uh8BVPp - https://postimg.cc/image/j6hys8grb/12b7109f/ - photo of install xf86-video-geode

https://imgur.com/a/KAGRyGq - https://postimg.cc/gallery/vovhi9js/2a651b2a/ - photo of error after restart

:(

I feel stupid because I can't manage that and you sacrifice your time to help me

EDIT
I will try one more time but this time I will make xorg.file with this code

Code: [Select]
#############################################################
# /etc/X11/xorg.conf for 1024x600 and 800x480 laptop panels #
#############################################################
#### By J.KASPER and B.HIBRY #### for Hercules eCafe 800 ####
#############################################################
Section "Module"
    Load  "ztv"
EndSection
Section "Device"
    Identifier "card0"
    Driver "geode"
    BusID "PCI:0:1:1"
    Option "PanelMode" "33450 800 840 968 1056 480 490 492 525"
EndSection
Section "Monitor"
    Identifier "monitor0"
    Modeline  "1024x768" 64.56 1024 1056 1296 1328 768 783 791 807 -hsync +vsync
    Modeline  "1024x600" 48.96 1024 1064 1168 1312 600 601 604 622 -hsync +vsync
    Modeline   "800x480" 33.45  800  840  968 1056 480 490 492 525 -hsync +vsync
    Option "dpms"
EndSection
Section "Screen"
    Identifier "Default Screen"
    Monitor "monitor0"
    Device "card0"
    DefaultDepth 24
    Subsection "Display"
        Depth 24
        Modes "1024x600" "1024x768" "800x480"
    EndSubsection       
EndSection
### EOF ###

from xf86-video-geode README file
Title: Re: Screen rotate - can't deal
Post by: Juanito on June 29, 2018, 10:59:35 AM
What does this give:
Code: [Select]
$ Xorg -nolisten tcp
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 29, 2018, 11:09:21 AM
There is more info but I don't know how to scroll up.

https://imgur.com/a/BNLxndV - https://postimg.cc/image/zdo97xst3/9dded4c3/

SHIFT + PAGE UP give me only one line more
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 29, 2018, 01:58:37 PM
Attempt with manually created xorg.conf file with content from README file located in xf86-video-geode unfortunately failed

I don't understand what I make wrong.

I make some photo (two photo of each screen - if one them would not be too focus)
https://imgur.com/a/wh0dsBk - https://postimg.cc/gallery/11yj1az88/
Title: Re: Screen rotate - can't deal
Post by: Pats on June 29, 2018, 02:49:44 PM
Quote
SHIFT + PAGE UP give me only one line more


Some useful "vi commands"

[Control] - Move back one full screen
[Control][f] - Move forward one full screen
[Control][d] - Move forward 1/2 screen
[Control] - Move back (up) 1/2 screen

... A little-bit ggling always help.
Title: Re: Screen rotate - can't deal
Post by: Pats on June 29, 2018, 04:05:33 PM
A sample xorg.conf file is given for Geode device , pl remove syntax errors if any :

Code: (xorg_conf) [Select]
Section "Monitor"
 Identifier  "ACER-VGA" 
DisplaySize  215 215
HorizSync   24.0-80.0
 VertRefresh  56.0-90.0
EndSection

Section "Monitor"
Identifier  "lap-LVDS"
HorizSync   31.5-50
 VertRefresh 40.0-60.0
EndSection

Section "Device"
Identifier "Geode Device"
Driver      "geode"
Option      "DRI" "true" 

#Option "MonitorLayout"  "CRT,LFP"
#Option "Clone"  "true"
#Option "CloneRefresh" 60

BusID "PCI:0:02:0"

Screen0
#VideoRam    4096
# Insert Clocks lines here if appropriate

EndSection


Section "Screen"

Identifier "Screen"
Device     "Geode Device (Rev 2) "
Monitor     "ACER-VGA"
DefaultDepth 16

Subsection "Display"
Depth       16
Modes 1440x900 1280x768 1024x768 800x600 640x480 Virtual 1440 1440
#ViewPort    0 0
EndSubsection
EndSection

Section "Screen"
Identifier  "Screen 1"
Device      "Geode"
Monitor    " lap-LVDS"
DefaultDepth 16

Subsection "Display"
Depth       16
Modes 1280x768 1024x768& 800x600 640x480 #Virtual 1440 1440 #ViewPort    0 0
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout" 
Option "AIGLX"  "false"

# The Identifier line must be present
Identifier  "Dual Layout"
 
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 0"
Screen "Screen 1" "RightOf "Screen 0"
InputDevice "Mouse"  "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
Group "video"
Mode    0660
EndSection
Title: Re: Screen rotate - can't deal
Post by: Juanito on June 30, 2018, 12:28:36 AM
For me, the troubleshooting sequence would be:

* check that xf86-video-geode works (does it need graphics-KERNEL and/or Xorg-7.7-3d) without an xorg.conf
* check that "xrandr -o left" works without an xorg.conf
* get rotation to work with an xorg.conf snippet
Title: Re: Screen rotate - can't deal
Post by: curaga on June 30, 2018, 01:28:20 AM
The error was that it couldn't open MSR. Try "sudo modprobe msr" before starting X.
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 30, 2018, 09:06:27 AM
In the previous post I attached photo but I forgot about Xorg.0.log - so here it is https://pastebin.com/YihErui6 Xorg.0.log from attempt with Xorg.conf file with content from README file located in xf86-video-geode pack

For sure I will try all your adviced today.
But before you wrote your last post I maked attempt with the content of Xorg.conf file from Pats post and now I write about it

(I have the same error -Failed in waitforX)
Photo https://imgur.com/a/enIC6oC - https://postimg.cc/gallery/p7bt6j14/bae239c2/
and Xorg.0.log https://pastebin.com/dit1VmgX





Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 30, 2018, 10:02:08 AM
For me, the troubleshooting sequence would be:

* check that xf86-video-geode works (does it need graphics-KERNEL and/or Xorg-7.7-3d) without an xorg.conf
* check that "xrandr -o left" works without an xorg.conf
* get rotation to work with an xorg.conf snippet

I made fresh install of system - just in case.

Install xf86-video-geode - https://postimg.cc/image/n07qqdbpz/62f0a75f/ - https://imgur.com/a/ZwnWrTj

Reboot and try xrandr -o left in terminal - https://imgur.com/a/w5mAqeX - https://postimg.cc/image/4kn9t2krr/981e6dee/ (sh: xrandr: not found)

Next step - install graphics-KERNEL https://imgur.com/a/SrNJVZY - https://postimg.cc/image/613dorxl3/e838cd17/

Reboot after install graphics-KERNEL and try xrandr -o left in terminal https://imgur.com/a/DSvWlgV - https://postimg.cc/image/v8e9osg1z/079f6b5d/ (sh: xrandr: not found)

Next step - install Xorg-7.7-3d - https://imgur.com/a/ovk4nEC - https://postimg.cc/image/budfpih07/415b0794/
Reboot and unfortunately error - failed in waitforX

I know that this time I have installed Xorg-7.7-3d not Xorg-7.7 but I tried this

The error was that it couldn't open MSR. Try "sudo modprobe msr" before starting X.

and after that command I wrote startx -  the effect is black screen https://imgur.com/a/mYyhIzc
https://postimg.cc/image/fqqrl8err/099447d7/


Now I will make fresh install of system and try only Xorg-7.7-3d and xf86-video-goede (without graphics-KERNEL)
Title: Re: Screen rotate - can't deal
Post by: Juanito on June 30, 2018, 10:14:15 AM
It is quite difficult to follow what you are doing.

Boot to the console prompt (boot code "text") without any xorg.conf and then:
Code: [Select]
$ tce-load -i graphics-KERNEL Xorg-7.7-3d xf86-video-geode
$ sudo modprobe msr
$ startx
[open terminal window]
$ xrandr -o left
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 30, 2018, 10:56:45 AM
Ok, sorry for my chaotic, I only tried to test as many options as possible.

Ok, so I made fresh install of system (https://imgur.com/a/vMup3J8 - https://postimg.cc/image/3l65ot2d3/cc691953/)
and used option Exit to Prompt

In Prompt:
Code: [Select]
tce-load -wi graphics-KERNEL Xorg-7.7-3d xf86-video-geode
because when I used
Code: [Select]
tce-load -i command return error - 
Quote
graphics-4.14.10.tcz not found!
so I use
Code: [Select]
tce-load -wi

https://imgur.com/a/PjyfUrE - https://postimg.cc/gallery/1k6tsrm54/ad6b3cac/

After use startx I have only black screen
https://imgur.com/a/hcHPgUk - https://postimg.cc/image/qb5ahcb5j/87511ec1/

Now I will try make the same seqention but with use Xorg-7.7 not Xorg-7.7-3d
Title: Re: Screen rotate - can't deal
Post by: Juanito on June 30, 2018, 11:28:19 AM
After loading graphics-KERNEL, Xorg-7.7-3d and xf86-video-geode, did you load the msr kernel module prior to starting x?

If yes, then instead of "startx" use "Xorg -nolisten tcp" to check for an error.
Title: Re: Screen rotate - can't deal
Post by: curaga on June 30, 2018, 11:29:18 AM
That you got a black screen means that most likely you did everything right, the right driver loaded, but it's not working (buggy). Geode is very old, and not many people work on the driver.
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 30, 2018, 11:38:41 AM
One more time I made fresh install of system.

Exit to Prompt and this time I used
Code: [Select]
tce-load -wil and try with Xorg-7.7 instead of Xorg-7.7-3d

https://imgur.com/a/Ny6zFUU - https://postimg.cc/gallery/2qjln7krc/2aa7d4c4/

Next
Code: [Select]
sudo modprobe msr and
Code: [Select]
startx occurs the same problem as before -BLACK SCREEN

After loading graphics-KERNEL, Xorg-7.7-3d and xf86-video-geode, did you load the msr kernel module prior to starting x?

If yes, then instead of "startx" use "Xorg -nolisten tcp" to check for an error.

If this command
Code: [Select]
sudo modprobe msr is used for
Quote
load the msr kernel module prior to starting x
then YES.

Ok, I will check this

Code: [Select]
tce-load -wil graphics-KERNEL, Xorg-7.7-3d and xf86-video-geod
sudo modprobe msr
Xorg -nolisten tcp

and I will tell you about effects

EDIT:
Code: [Select]
Xorg -nolisten tcp showed something in very short time and next black screen
https://imgur.com/a/7ohRWGe - https://postimg.cc/gallery/xd0nw82g/eff28712/

in a moment I will make film showing that

EDIT 2:
Video https://www.dropbox.com/s/387imy9uzmq7c7b/20180630_204941.mp4?dl=0
https://uploadfiles.io/ied1e
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on June 30, 2018, 12:19:21 PM
I tried Xorg-7.7 instead of Xorg-7.7-3d

Code: [Select]
tce-load -i graphics-KERNEL Xorg-7.7 and xf86-video-geod
sudo modprobe msr
Xorg -nolisten tcp

Effects are the same as on video in previous post (one more link to video https://streamable.com/4ka9m - if the previous ones would not work)


That you got a black screen means that most likely you did everything right, the right driver loaded, but it's not working (buggy). Geode is very old, and not many people work on the driver.

So what I can do?
I really need to rotate this screen - otherwise I can throw away this computer because it will not be useful
Title: Re: Screen rotate - can't deal
Post by: curaga on July 01, 2018, 01:09:46 AM
You can:
- report the bug and hope someone fixes it
- install a graphics card from another vendor
- try older versions (TC 6.x and 4.x have older versions of the geode driver)
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 01, 2018, 04:39:01 AM
I will try to report this bug.

Thanks you all very very much for your time and patience to me.

I'm very sorry and sorry for that it all went to waste.

Thanks again and warmly greetings.
Title: Re: Screen rotate - can't deal
Post by: Pats on July 01, 2018, 10:31:12 AM
If Geode driver is buggy and Rotation is not posible then other option may be :

1) If after appering blank window then try to  exit to console prompt and delete  ~. Xauthority file, startx  and see if all is normal.

2) If everything fails :
Maybe only solution is framebuffer ( without any X-server ) while booting :  Check
https://unix.stackexchange.com/questions/68369/rotate-console-on-startup-debian

But I have never tried it , so do'nt know how to do it !
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 01, 2018, 02:59:47 PM
https://unix.stackexchange.com/questions/68369/rotate-console-on-startup-debian

There may be something in it, because in debian which as I mentioned was installed on this computer if I remember correctly the screen was rotated already during system startup - but I am not sure about this.

I'm sure only that it was debian and the screen was rotated.
Title: Re: Screen rotate - can't deal
Post by: Pats on July 01, 2018, 06:36:00 PM
If you are so sure about it , then you should probably try one old version and one latest version  of Debian Live CD to check rotation.  If successful you can carry-on your urgent work with it.
Then in your free time , you can solve TCL setup.  Jaunito has already  provided Geode driver in repo , curaga helped to eliminate MSR  problem. May be you will  be able to solve the remaining black or blank screen problem .

 By the way , you may be able to capture any error message of black screen in a file with this  command :
 
Code: [Select]
Xorg -nolisten tcp &> error.txt
or
Code: [Select]
Xorg -nolisten tcp >out 2>&1

... No space btw &> and 2>& .

If all fails , curaga has suggested 3 options !
Best Luck !
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 02, 2018, 11:39:05 AM
I will do this tomorrow.

Now I have other idea to solve my problem.

The plan from the beginning is to use this computers as web kiosks - after launching, any browser (opera) should be opened in full screen mode  (i can make it) and display the indicated web page (this also I can make). After the system has been shut down improperly and restarted, it should also display the indicated page. Except to displaying a simple HTML page, they are not supposed to do anything more. Site to display is one of the company's internal pages - simple HTML (there are no flash content or anything like that).

Except of displaying this simple page, computers will not have any other tasks, there is not touchscreen or none of these things, no mouse or keyboard will not be attached to the computers. Showing the page will be it’s only task and it will not be required to do anything more.

So the idea is to rotate only webpage with some javascript?

Code: [Select]
javascript: document.body.setAttribute( "style", "-o-transform: rotate(-90deg);");
But how to make it permanently ?
Title: Re: Screen rotate - can't deal
Post by: Misalf on July 02, 2018, 03:11:50 PM
Too bad you haven't yet been able to solve your issue regarding screen rotation under TinyCore in this specific case, however, I'm afraid coding javascript is another story entirely and not related to TinyCore.
Title: Re: Screen rotate - can't deal
Post by: curaga on July 03, 2018, 01:10:22 AM
I think you can use Opera's user js to do that.
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 04, 2018, 03:46:41 PM
Hi
Before making bug report of driver and start fight with javascript I tested all available option and do the advice from Pats post.

By the way , you may be able to capture any error message of black screen in a file with this  command :
 
Code: [Select]
Xorg -nolisten tcp &> error.txt
or
Code: [Select]
Xorg -nolisten tcp >out 2>&1

... No space btw &> and 2>& .

If all fails , curaga has suggested 3 options !
Best Luck !


I wrote all available options

Code: [Select]
Xorg-7.7
xf86-video-geode
graphics-KERNEL

Code: [Select]
Xorg-7.7-3d
xf86-video-geode
graphics-KERNEL

Code: [Select]
Xorg-7.7
graphics-KERNEL

Code: [Select]
Xorg-7.7-3d
graphics-KERNEL

Code: [Select]
Xorg-7.7
xf86-video-geode

Code: [Select]
Xorg-7.7-3d
xf86-video-geode


I dont know how exactly and why but the rorate of screen works.

In option
Code: [Select]
Xorg-7.7
graphics-KERNEL

after restart computer - on the screen shows option of screen resolution and xrandr works.

Shutdown -> Exit to prompt and enter
Code: [Select]
tce-load -i Xorg-7.7 graphics-KERNEL
startx

or

Code: [Select]
tce-load -i Xorg-7.7 graphics-KERNEL
Xorg -nolisten tcp

and in terminal

xrandr -o left

not works, but after restart xrandr -o left works.


But it works only after restart of computer.

I dont understand why it works but I am happy and to tell the truth is only thanks to you guys.
Some photos to show what I'm talking about https://imgur.com/a/0dsmCHd - https://postimg.cc/gallery/1kqudtcwo/

Thank you very much once again.
Title: Re: Screen rotate - can't deal
Post by: Pats on July 04, 2018, 10:45:29 PM
If the problem is solved with no more queries, then this thread can be marked as "Solved" !
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 05, 2018, 02:40:54 AM
When I manage to make it rotate permanently, I will let you know that this topic is solved.
Title: Re: Screen rotate - can't deal
Post by: Pats on July 05, 2018, 04:12:40 AM
Quote
When I manage to make it rotate permanently, I will let you know that this topic is solved.

Since you thank-ed  everyone , thought your problem is solved.

You may be interested in following topics of FAQ :
 Bootcodes.
How do I add/load/install extensions?
Extensions disappear after booting. How do I keep my extensions?
How do I update my extensions?
How do I start X apps on boot?
How to use startup scripts?

 Also , "corebook" is a good resource for many common tasks !
Title: Re: Screen rotate - can't deal
Post by: Rich on July 05, 2018, 06:15:12 AM
Hi Johnson9
... Also , "corebook" is a good resource for many common tasks !
You can download it from here:
http://tinycorelinux.net/book.html
It's a well written book that's an easy read. I highly recommend it.
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 05, 2018, 11:38:05 AM
The book will be useful. I can not understand and find the dependence of why the screen rotation works and when it starts to work.

Yesterday evening it worked, and today I did not manage to turn the screen even once.
I do not remember that I did anything yesterday other than today.

Horribly annoying.

Title: Re: Screen rotate - can't deal
Post by: Pats on July 05, 2018, 06:39:30 PM
In corebook.pdf , on page 3 - 2nd para , why other (Rest)  contributors are "Rosted"  ? :)

 Hope it a typo and already known to the author !
Title: Re: Screen rotate - can't deal
Post by: Rich on July 05, 2018, 07:01:41 PM
Hi Pats
Is this the paragraph you are referring to?
Quote
I would like to thank Andyj, Coreplayer2 and Richard A. Rost for
helpful comments and suggestions.
The section I highlighted in bold is my name.
Title: Re: Screen rotate - can't deal
Post by: Pats on July 05, 2018, 08:13:08 PM
Quote
The section I highlighted in bold is my name.


Hi Rich - aka - Rost ...Yah , I was refering same , and sorry I was NOT knowing your name , 'Cause since from many years , I know you as "Rich" !
If the said line would have been in next para ... or like "And Rost for .... " , then it would have been better !

Thanks for clearing confusion !
Sorry for off-topic discusion !
Title: Re: Screen rotate - can't deal
Post by: Pats on July 05, 2018, 08:26:40 PM
... ~ snip ~ ... Yesterday evening it worked, and today I did not manage to turn the screen even once.
I do not remember that I did anything yesterday other than today.

Horribly annoying.


If  you were successful to rotate the screen prvsly , then I am sure , by trying hard with diffetent combinations of the command , you would be successful again.
... Best Luck !
Title: Re: Screen rotate - can't deal
Post by: Rich on July 05, 2018, 08:27:40 PM
Hi Pats
Rost  is my last name and  A.  is my middle initial.
Title: Re: Screen rotate - can't deal
Post by: Pats on July 05, 2018, 09:29:10 PM
Hi Rich, Many thanks to you and all others including Curaga for your great contribution to  a great book like "Corebook" !
... Actually I was silently wishing for such a book on Tinycore , 2 years before it's actuall launch !
Thanks again !
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 17, 2018, 05:30:03 AM
Hi,

(...)If  you were successful to rotate the screen prvsly , then I am sure , by trying hard with diffetent combinations of the command , you would be successful again.
... Best Luck !
Finally I found the combinations of the commands. Here it is

Install clear system,
Quote
Shutdown -> Exit to Prompt
Code: [Select]
tce-load -wi Xorg-7.7 graphics-KERNEL xf86-video-geode
next
Code: [Select]
filetool.sh -b
next
Code: [Select]
sudo restart
After restart computer show error
Quote
Failed in WaitforX

so I put
Code: [Select]
Xorg -nolisten tcp

This command shows error about msr

The error was that it couldn't open MSR. Try "sudo modprobe msr" before starting X.

so next I'm entering the command

Code: [Select]
sudo modprobe msr as curaga advised

and
Code: [Select]
startx
When I tried
Code: [Select]
Xorg -nolisten tcp after
Code: [Select]
sudo modprobe msr the screen go black and nothing happen.

After
Code: [Select]
startx the desktop loaded and in terminal I put
Code: [Select]
xrandr -o left and it works.

I will be grateful for advice on what to do now to achieve my destination.

I been fighting with this for a few days and I do not have any ideas.
From what I've tried, nothing works.
Best regards

Title: Re: Screen rotate - can't deal
Post by: Juanito on July 17, 2018, 06:24:18 AM
..so it appears you need to:

* set the following "onboot": Xorg-7.7 graphics-KERNEL xf86-video-geode flwm aterm wbar
* add "sudo modprobe msr" to bootlocal.sh
* add the text below to /usr/local/share/X11/xorg.conf.d/10-rotate-left.conf

Section "Monitor"
   Identifier "<defaultmonitor>"
   Option "Rotate" "left"
EndSection

* make a backup
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 17, 2018, 07:42:21 AM
Tomorrow morning i will try that and I will let you know about effects.
Title: Re: Screen rotate - can't deal
Post by: Pats on July 17, 2018, 07:50:05 PM
Quote
....I will be grateful for advice on what to do now to achieve my destination.


From your message , following steps seems to be working for you :
1) Install TC fresh .
2) tce-load -wi Xorg-7.7 graphics-KERNEL xf86-video-geode
3) filetool.sh -b
4) sudo modprobe msr
5) Xorg -nolisten tcp
6) Exit to command prompt : startx
7) In DT terminal:  xrandr -o left

Juanito has alteady shown , how to make changes persistent for every boot with backup . He has already helped by providing *geode* extension.

 By the way, you have to create a .conf file yourself , if not exists already !
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 18, 2018, 01:39:33 AM
..so it appears you need to:

* set the following "onboot": Xorg-7.7 graphics-KERNEL xf86-video-geode flwm aterm wbar
* add "sudo modprobe msr" to bootlocal.sh
* add the text below to /usr/local/share/X11/xorg.conf.d/10-rotate-left.conf

Section "Monitor"
   Identifier "<defaultmonitor>"
   Option "Rotate" "left"
EndSection

* make a backup

I added entry "usr" in file ".filetool.lst" in opt folder and after that created file named "10-rotate-left.conf" in /usr/local/share/X11/xorg.conf.d/ and restarted the computer to test if file was backuped.

I had to created the "10-rotate-left.conf" file because it not exist.

When I maded sure that the file was backuped I added this text

Quote
Section "Monitor"
   Identifier "<defaultmonitor>"
   Option "Rotate" "left"
EndSection

to it and I restarted the computer - after restarted the result was only black screen.

Maybe in file "10-rotate-left.conf" I need to added something more?

I will try make this one more time but this time I will start from installed a fresh system.


Quote
....I will be grateful for advice on what to do now to achieve my destination.


From your message , following steps seems to be working for you :
1) Install TC fresh .
2) tce-load -wi Xorg-7.7 graphics-KERNEL xf86-video-geode
3) filetool.sh -b
4) sudo modprobe msr
5) Xorg -nolisten tcp
6) Exit to command prompt : startx
7) In DT terminal:  xrandr -o left

Juanito has alteady shown , how to make changes persistent for every boot with backup . He has already helped by providing *geode* extension.

 By the way, you have to create a .conf file yourself , if not exists already !

Close but it is a slight difference

1) YES
2) YES
3) YES
4) YES
5) NO - when I tried "Xorg -nolisten tcp" then the screen go black. 
In this step i entry command "startx"
6) NO - I exit to prompt after install system and steps (2,3,4,5) I type in prompt
7) If "DT terminal" is terminal in graphics windows then YES, because after startx the desktop loads



I am very grateful to all of you for help and without you I would not have been able to go as far as I am now
Title: Re: Screen rotate - can't deal
Post by: Pats on July 18, 2018, 03:30:24 AM
Quote
...5) NO - when I tried "Xorg -nolisten tcp" then the screen go black. 


Just for the knowledge  - if I am not wrong :

"Exit to Prompt", is achieved , either via Exit menu or via CTRL+ALT+BACKSPACE key combination .
... Whether this key combo works in your black screen or not , I dont know !

But overall , good going !
Title: Re: Screen rotate - can't deal
Post by: Pats on July 18, 2018, 04:14:46 AM
Forgot to add : Ctrl-Alt-Backspace may result in data loss , since it returns to login prompt. Useful ifX-Server freezes and if there is no other alternative.

.. ctrl-alt-delete combo is the preferred mechanism, as unlike ctrl-alt-backspace they are designed to shut down apps nicely and give the user several options on how to logout (hibernate, suspend, etc.)

Just for info !
Title: Re: Screen rotate - can't deal
Post by: Rich on July 18, 2018, 04:36:57 AM
Hi Johnson9
I added entry "usr" in file ".filetool.lst" in opt folder and after that created file named "10-rotate-left.conf" in /usr/local/share/X11/xorg.conf.d/ and restarted the computer to test if file was backuped.

I had to created the "10-rotate-left.conf" file because it not exist.

When I maded sure that the file was backuped I added this text

Quote
Section "Monitor"
   Identifier "<defaultmonitor>"
   Option "Rotate" "left"
EndSection

to it and I restarted the computer - after restarted the result was only black screen. ...
NO NO NO. You do not want to backup the entire  /usr  directory, ever.  The  usr  line you have in  filetool.lst  should be:
Code: [Select]
usr/local/share/X11/xorg.conf.d/10-rotate-left.conf
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 18, 2018, 06:15:11 AM
Quote
...5) NO - when I tried "Xorg -nolisten tcp" then the screen go black. 


Just for the knowledge  - if I am not wrong :

"Exit to Prompt", is achieved , either via Exit menu or via CTRL+ALT+BACKSPACE key combination .
... Whether this key combo works in your black screen or not , I dont know !

But overall , good going !


I'm not sure if I understand correctly, so I took a photo https://imgur.com/a/dZ7xhoY - https://postimg.cc/image/poq6xdif1/

I don't used keyboard shortcuts because I do not know them - I have too little experience with linux



NO NO NO. You do not want to backup the entire  /usr  directory, ever.  The  usr  line you have in  filetool.lst  should be:
Code: [Select]
usr/local/share/X11/xorg.conf.d/10-rotate-left.conf

I've made a second attempt - of course this time I have followed your attention and add to file ".filetool.lst" full path
Code: [Select]
usr/local/share/X11/xorg.conf.d/10-rotate-left.conf

After added text
Quote
Section "Monitor"
   Identifier "<defaultmonitor>"
   Option "Rotate" "left"
EndSection

to file "10-rotate-left.conf"

and restarted the computer - screen go black as before.

https://imgur.com/a/N7FspZu - https://postimg.cc/gallery/liq4ihzi/

Maybe I must add something more to file "10-rotate-left.conf" ?

Video of starting computer after added text to file "10-rotate-left.conf"

https://www.dropbox.com/s/njklzmlhi4u1bm6/20180718_152220.mp4?dl=0
https://streamable.com/6zniw
https://ufile.io/tt989


Before I added text to file "10-rotate-left.conf" but after added
* add "sudo modprobe msr" to bootlocal.sh

and restart the computer, desktop environment loads perfectly and from terminal with command "xrandr -o left" I can rotate screen
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 18, 2018, 12:32:00 PM
I really know that I've come so far only thanks to you and I really thank you so much for that. I also know that without you I will not be able to achieve my target.

Maybe this picture will be helpful https://imgur.com/a/VUq5N7k - https://postimg.cc/image/4cv84f0t3/
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 18, 2018, 01:36:55 PM
Content of file Xorg.0.log - maybe it will helpful https://pastebin.com/EiEKudQ8

EDIT:

I tried added this text

Section "Monitor"
   Identifier "<default monitor>"
   Option "Rotate" "left"
EndSection

to 10-rotate-left.conf


I changed "<defaultmonitor>" to "<default monitor>" 

Unfortunately, it did not help
Title: Re: Screen rotate - can't deal
Post by: Johnson9 on July 19, 2018, 01:32:42 AM
Hi,
Today I tried enter "X -configure" command in prompt.

Effects on photo https://imgur.com/a/78mwH27 - https://postimg.cc/gallery/36kmtu1jm/

Best regards
so close and so far away  :(
Title: Re: Screen rotate - can't deal
Post by: Pats on July 19, 2018, 02:35:24 AM
Quote
..so close and so far away 

You have done , what ever posible from your side . You cannot help , if the geode driver itself is buggy. It is already mentioned in bug-tracker site.

Now since you are mostly successful in rotating the screen, you must be knowing exact squence of commands. Now you can fine tune your system with different available options / work arounds on the net with due care to backup / rename all successful files first !  And try rotating sequence after every option.

For example :
1) Disable DRI or set AGP speed to 4x in BIOS settings , if posible in your BIOS.
2) Add :
Option "AGPFastWrite"  "false"
.. , somewhere in .conf file - may be in card section.

By the way , most linux systems have a powerful command to show all the hardware details like cpu , monitor , graphic card etc : 
inxi -b
Title: Re: Screen rotate - can't deal
Post by: Pats on July 19, 2018, 02:42:04 AM
Code: (xorg_conf) [Select]
Section "Monitor"        Identifier   "Monitor0"        HorizSync       30.0 - 81.0        VertRefresh     56.0 - 75.0        ModeLine "1680x1050_60" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync$        Option         "DPMS" "true"EndSectionSection "Device"        Identifier  "Card0"        Driver      "i810"        Card        "Intel 810"EndSectionSection "Screen"        Identifier "Screen0"        Device     "Card0"        Monitor    "Monitor0"        DefaultDepth     24        SubSection "Display"                Viewport   0 0                Depth     24                Modes    "1680x1050"        EndSubSectionEndSection

Try abv sample .conf file or add some of the options from abv file to your .conf file . Take care to take backup of your existing file first.
Best Luck !