WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Running xorg over xvesa  (Read 9659 times)

Offline clusterBuster

  • Newbie
  • *
  • Posts: 1
Running xorg over xvesa
« on: September 09, 2009, 09:05:26 PM »
Hello. I'm trying to build a linux cluster for rendering purposes and I want to use the tiny core distro to do it. The nodes have to be able to run wine and this requires xorg to get access to the opengl libraries my win-based render node software uses. How do I shut down xvesa and make xorg the default X window system? Thank you for your time.

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Running xorg over xvesa
« Reply #1 on: September 10, 2009, 01:28:15 AM »
See the xorg extension, esp. the .info for installation notes

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Running xorg over xvesa
« Reply #2 on: September 10, 2009, 04:14:13 AM »
See the xorg extension, esp. the .info for installation notes

Please DO NOT follow .info instructions, it is outdated. Proper steps to setup TC 2.3

  • install Xorg-7.4.tczl
  • install graphics-2.6.29.1-tinycore.tczm

Then choose 'Exit to Prompt' in the Logout menu and restart Xorg typing 'startx' command as normal user. During next boot it will come up with Xorg, expecting that above extensions were loaded.

You even do not need any config file, Xorg will do everything itself. It is called 'confless' mode.

If you want to override the automatic settings, create /etc/X11/xorg.conf and add only the relevant sections. Usually it is used to define keyboard layout.

Sample xorg.conf to specify Hungarian keyboard layout, modify it according to your need:

Quote
Section "InputDevice"
   Identifier "Keyboard0"
   Driver "kbd"
   Option "XkbLayout" "hu"
   Option "XkbModel" "pc105"
EndSection

If you have your own xorg.conf add it to /opt/.filetool.lst

Quote
opt/bootlocal.sh
opt/backgrounds
opt/.tcrc
opt/.filetool.lst
opt/.xfiletool.lst
home/tc
etc/X11/xorg.conf

Depending on your graphics hardware, you may need an additional driver installed.
« Last Edit: September 15, 2009, 12:36:40 PM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14850
Re: Running xorg over xvesa
« Reply #3 on: September 10, 2009, 06:00:15 AM »
Quote
Depending on your graphics hardware, you may need an additional driver installed.

Yeah, in fact on my machine, the drivers are all there, but I need to manually "modprobe" one of the kernel modules (apgart, intel-apgart or drm, I don't remember which).

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Running xorg over xvesa
« Reply #4 on: September 10, 2009, 10:37:50 PM »
The instructions in the .info should still work for 2.3, although I suppose it could mention what's optional (and things like the new autoxsetup facility).

Also, restarting X should be sufficient (instead of the system)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Running xorg over xvesa
« Reply #5 on: September 11, 2009, 06:24:43 AM »
The instructions in the .info should still work for 2.3, although I suppose it could mention what's optional (and things like the new autoxsetup facility).

Also, restarting X should be sufficient (instead of the system)

Right, restarting X only is enough, I will add it to the text.

While .info instructions work for 2.3 now it takes care of .xsession so do not need to edit it neither to backup. It is so simple. But if the user do not know it, he will make changes what is not needed. Not only wasted time but a risk to do something wrong. This is while I kindly advice to change the .info content.
« Last Edit: September 11, 2009, 06:27:01 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline tclfan

  • Sr. Member
  • ****
  • Posts: 286
Re: Running xorg over xvesa
« Reply #6 on: September 11, 2009, 10:31:01 AM »
Right, restarting X only is enough, I will add it to the text.

While .info instructions work for 2.3 now it takes care of .xsession so do not need to edit it neither to backup. It is so simple. But if the user do not know it, he will make changes what is not needed. Not only wasted time but a risk to do something wrong. This is while I kindly advice to change the .info content.
This is remarkable achievement... Just to summarize: with TC 2.3 I no longer need to modify .Xsession to specify Xorg.  The only thing I need to do is:
1. Load Xorg and graphics tcz's
2. Restart X
TinyCore will remember to use Xorg after reboot and run confless?
This means I can actually boot a default TC LiveCD and if on the first boot I do the above, the subsequent boots from default LiveCD will be using Xorg? This is assuming I have a /tce directory somewhere e.g. on usb key, of course...
This is amazing, the simplicity and power of this modular architecture concept...

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Running xorg over xvesa
« Reply #7 on: September 11, 2009, 11:20:47 AM »
True. That is how I now have it working in v2.3 and what I mean where in the change log it is stated:
Quote
* Updated xsetup.sh to remove the xorg.conf requirement to support Xorg confless.

So with the proper extensions in your tce directory, a seamless Xorg boot is now possible.

Note: If your sysem still requires a configuration file, then by booting with the text or superuser option will in fact allow you to run Xorg -config and/or create/edit such. Adding it to the backup will then still allow an easy Xorg boot.
10+ Years Contributing to Linux Open Source Projects.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Running xorg over xvesa
« Reply #8 on: September 11, 2009, 02:16:38 PM »
Edited the Xorg .info files as requested.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Running xorg over xvesa
« Reply #9 on: September 17, 2009, 04:31:15 AM »
An article added to WIKI:

Using Xorg over Xvesa
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Running xorg over xvesa
« Reply #10 on: September 17, 2009, 02:59:31 PM »
An article added to WIKI:

Using Xorg over Xvesa


Programs that worked with xvesa can also stop working with xorg (eg, skype) (at least with the simple method listed)
« Last Edit: September 17, 2009, 03:01:59 PM by jpeters »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Running xorg over xvesa
« Reply #11 on: September 17, 2009, 03:13:51 PM »
Programs that worked with xvesa can also stop working with xorg (eg, skype) (at least with the simple method listed)

Do you have a working Skype? Tell me how...
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Running xorg over xvesa
« Reply #12 on: September 17, 2009, 07:10:01 PM »
Programs that worked with xvesa can also stop working with xorg (eg, skype) (at least with the simple method listed)

Do you have a working Skype? Tell me how...
wine  :)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Running xorg over xvesa
« Reply #13 on: September 18, 2009, 01:11:23 AM »
 :( I hoped you have a top secret native solution  ;)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline sci_fi

  • Jr. Member
  • **
  • Posts: 86
Re: Running xorg over xvesa
« Reply #14 on: September 19, 2009, 05:34:57 AM »
Good morning.

I believe I have found another discrepancy between the .tce libbrary and .tcz library.

I am in the process of converting from the .tce library to the .tcz  per recent comments in other threads. In doing this, I discovered that the process outlined in this thread of "Running xorg over xvesa" does not work with components chosen from  the .tcz library.

Apparently, the install of Xorg.tcz does not write the call of Xorg into the .xsession file. I have not dug deeper trying to determine why.

My .xsession file left over from .tce days worked fine when I used it, instead.

Best Regards,

sci_fi