SliTaz SliTaz Forum

You are not logged in.

#1 2015-03-31 21:59:54

Jon_J
Member
Registered: 2013-02-25
Posts: 38

Does anyone have an "Xorg.conf" example file for slitaz-rolling-core?

Does anyone have an "Xorg.conf" example file for slitaz-rolling-core?

If not, where can I input vga=791 ?

I cannot input it into the slitaz grub legacy screen because I'm using Grub2 with another distro to boot Slitaz

It doesn't work if I input vga=791 into the Grub2 commands. Grub2 just passes the boot to Slitaz, and then the Slitaz boot parameters are not able to be edited.

Thank you,

Jon

Offline

#2 2015-04-01 08:50:35

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Does anyone have an "Xorg.conf" example file for slitaz-rolling-core?

You should post the relevant part of grub.cfg. Normally you can put any option you want on the "linux" line.

Also, the vga= option may influence (badly *) the screen settings of X, but it's primarily intended to set the console resolution. So what do you want to do exactly?

(*) On my current setup the default console settings prevented X to display properly on every other boot.

Offline

#3 2015-04-01 08:58:30

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Does anyone have an "Xorg.conf" example file for slitaz-rolling-core?

I've just seen your post in the "5.0-RC2" thread. If you have trouble starting X you should also post Xorg.N.log (at least the lines related to graphics).

Offline

#4 2015-04-01 20:16:03

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Does anyone have an "Xorg.conf" example file for slitaz-rolling-core?

@distrolift

EDIT: Probably I was already asleep. Of course this post was intended @Jon_J and not @distrolift

I remember when I tested grub2 a few years ago having some similar problem.

In my notes, I've writen that [c]vga= [/c]was not supported; grub2 returned the message [c]text is deprecated. Use set gfxpayload=[/c]. But I don't remember exactly then how I did...

I've since gone back to grub legacy, grub2 didn't bring me anything more.

Have a look at grub2 docs:

http://www.linuxpedia.fr/doku.php/expert/grub2#premier_contact_avec_la_configuration (fr only, en link is dead)

or

http://www.gnu.org/software/grub/manual/grub.html#gfxpayload

or

http://www.gnu.org/software/grub/manual/grub.pdf for pdf file

Offline

#5 2015-04-02 01:58:53

Jon_J
Member
Registered: 2013-02-25
Posts: 38

Re: Does anyone have an "Xorg.conf" example file for slitaz-rolling-core?

llev

Sorry I didn't reply sooner, with 70 degree weather, it got very busy here.

I finally got 'X' loaded.

I put "vga=791" into my other distro's grub2 grub.conf (You're not supposed edit that file), but I did just to get the GUI in Slitaz and it worked.

I'm not as good finding things at the commandline.

I had previously uninstalled video-vesa following these instructions.

http://doc.slitaz.org/en:guides:poulsbo

I have the Intel GMA500 poulsbo chip in this Dell netbook and it is a challenge getting Slitaz to work with Intel drivers.

I'm not sure which are the graphics (video card) settings. I attached Xorg.0.log

I couldn't find Xorg.N.log.

Below is relevent line in my Grub2 grub.conf

======================================================

### BEGIN /etc/grub.d/30_os-prober_proxy ###

menuentry "unknown Linux distribution (on /dev/sda2)" --class gnu-linux --class gnu --class os {

    insmod part_msdos

    insmod ext2

    set root='(hd0,msdos2)'

    search --no-floppy --fs-uuid --set=root e7d9ae34-8eb3-474a-b7b9-1d267b77c4fd

    linux /boot/vmlinuz-3.2.53-slitaz root=/dev/sda2 vga=791

}

======================================================

Offline

#6 2015-04-02 03:45:51

Jon_J
Member
Registered: 2013-02-25
Posts: 38

Re: Does anyone have an "Xorg.conf" example file for slitaz-rolling-core?

1 hour later: I was going to edit my post above, but the word "EDIT" disappeared.

Following these instructions: http://doc.slitaz.org/en:guides:poulsbo

I have my Intel GMA500 poulsbo driver running in Slitaz-rolling-core Date March 17, 2015

When I first followed those instructions, where the author states:

======================================================

# nano /etc/rcS.conf

Look for the row called LOAD_MODULES and remove poulsbo from the list, also make sure that psb_gfx is present.

Then remove VESA and add the psb_gfx module (which is inside the linux-staging package)

======================================================

I was in text mode then and there was nothing inside /etc/rcS.conf (I was also running as root)

Today I booted Slitaz with vga=791 as shown above in my last post. The window manager loaded, and I followed the instructions above, again.

When I got to the part where you use nano to edit /etc/rcS.conf, this time the rcS.conf file was full of settings.

I finished following the instructions, rebooted into my other distro, removed "vga=791" from Grub2's grub.conf file, and rebooted a second time into Slitaz.

Yay! 1366x768 Hi Def graphics is working!! smile

Jon

BTW, I almost forgot. In those instructions the author says to download and install:

xorg-xf86-video-fbdev-0.4.2.tazpkg

That package has beed replaced by: xorg-xf86-video-fbdev-0.4.4.tazpkg

And the url in those instructions no longer exists. I found the 0.4.4 version in one of the repositories using a browser on my desktop box. Once I found it, I was able to install it.

Offline

#7 2015-04-02 18:02:14

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Does anyone have an "Xorg.conf" example file for slitaz-rolling-core?

Congrats Jon_J

The http://doc.slitaz.org/en:guides:poulsbo was written for 4.0

Difference between 4.0 and rolling/5.0

cooking/5.0 rolling iso is built with xorg-xf86-video-fbdev

See iso build log: http://cook.slitaz.org/cookiso.cgi?distro=rolling-core-4in1

For some oddball reason xorg-server loads vesa instead of fbdev.

Vesa must be removed for xorg-server to load fbdev

linux-staging-3.2.53 must be installed to get psb_gfx.ko.xz

tazhw writes poulsbo to /etc/rcS.conf LOAD_MODULES=

Remove poulsbo from /etc/rcS.conf LOAD_MODULES= and replace it with psb_gfx

Please paste the output to paste.slitaz.org and post the link:

cat /var/log/Xorg.0.log

lsmod

lspci -nn

Offline

#8 2015-04-03 03:34:30

Jon_J
Member
Registered: 2013-02-25
Posts: 38

Re: Does anyone have an "Xorg.conf" example file for slitaz-rolling-core?

I clicked "shorten url" there were too many options for me. Here's the full url.

http://paste.slitaz.org/?98b118ff39ef7b49#62G1QXXHHJU9/4/gnuYSiUA29rvMEoYJJObG81qoqFk=

When I installed xorg-xf86-video-fbdev-0.4.4.tazpkg there was no message that xorg-xf86-video-fbdev was already included/installed in slitaz 5.0

I did everything you mentioned, same as instructions at en:guides:poulsbo [SliTaz Doc] except for the newer xorg-xf86-video-fbdev-0.4.4.tazpkg

Jon

Offline

#9 2015-04-03 18:42:04

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Does anyone have an "Xorg.conf" example file for slitaz-rolling-core?

I updated the doc page for the new version number, thanks Jon_J.

Offline

#10 2015-04-03 18:57:39

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Does anyone have an "Xorg.conf" example file for slitaz-rolling-core?

The instructions are written for 4.0

A driver in the cooking repo won't work for 4.0

It would be best to rewrite the info so it is generic to slitaz and tazpkg versions.

For example:

Verify xorg-xf86-video-fbdev is installed and updated:

[c]tazpkg -gi xorg-xf86-video-fbdev[/c]

On 4.0 it will install correct version from the 4.0 repo.

On 5.0 if user is booted into core it will say it's installed.

Offline

#11 2015-04-03 19:17:53

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Does anyone have an "Xorg.conf" example file for slitaz-rolling-core?

The second sentence on the doc page is:

[c]Run the installer and when asked for source pick Web and paste the following url:

http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso[/c]
So I guess the installed system is not 4.0 anymore after that?

EDIT: I applied your suggestion, mojo.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]