WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #60 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
« Last Edit: June 30, 2018, 12:28:18 PM by Johnson9 »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Screen rotate - can't deal
« Reply #61 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)
The only barriers that can stop you are the ones you create yourself.

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #62 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.

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: Screen rotate - can't deal
« Reply #63 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 !

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #64 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.

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: Screen rotate - can't deal
« Reply #65 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 !

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #66 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 ?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Screen rotate - can't deal
« Reply #67 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.
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Screen rotate - can't deal
« Reply #68 on: July 03, 2018, 01:10:22 AM »
I think you can use Opera's user js to do that.
The only barriers that can stop you are the ones you create yourself.

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #69 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.

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: Screen rotate - can't deal
« Reply #70 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" !

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #71 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.

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: Screen rotate - can't deal
« Reply #72 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 !

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Screen rotate - can't deal
« Reply #73 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.

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #74 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.