WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #45 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
« Last Edit: June 29, 2018, 11:03:32 AM by Johnson9 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14567
Re: Screen rotate - can't deal
« Reply #46 on: June 29, 2018, 10:59:35 AM »
What does this give:
Code: [Select]
$ Xorg -nolisten tcp

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #47 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
« Last Edit: June 29, 2018, 11:12:33 AM by Johnson9 »

Offline Johnson9

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

Offline Pats

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

Offline Pats

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

Offline Juanito

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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10965
Re: Screen rotate - can't deal
« Reply #52 on: June 30, 2018, 01:28:20 AM »
The error was that it couldn't open MSR. Try "sudo modprobe msr" before starting X.
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 #53 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





« Last Edit: June 30, 2018, 09:18:40 AM by Johnson9 »

Offline Johnson9

  • Newbie
  • *
  • Posts: 48
Re: Screen rotate - can't deal
« Reply #54 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)
« Last Edit: June 30, 2018, 10:14:24 AM by Johnson9 »

Offline Juanito

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

Offline Johnson9

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

Offline Juanito

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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10965
Re: Screen rotate - can't deal
« Reply #58 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.
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 #59 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
« Last Edit: June 30, 2018, 12:09:34 PM by Johnson9 »