You are not logged in.
As a side project, I decided to install Arch on a usb drive. I just installed Xorg (using the group).
Thus far, I've run xorg -configure, then moved the xorg.conf.new to /etc/X11/xorg.conf
I added in a "Synaptics" section, since this is on a laptop right now.
I'm using the "Vesa" device driver for maximum portability.
Upon starting X, using the default TWM as a test (and tried openbox as well), the screen goes black, comes back up, and then has multicolored, low-res artifacts all over the screen, not remotely resembling a desktop.
Upon switching to a different TTY, there is no prompt. All TTY's are left with a blinking underscore. The only way to get out of it is to hard reboot the machine.
I've already looked at the log, but saw nothing out of the ordinary at all. The last thing it said was that Synaptics was detected and loaded.
The Xorg.conf is also basically default. The only thing I changed was adding synaptics, then fiddling with the Vesa options trying to get it to work (neither option change worked).
Any clues, comrades?
Last edited by hwkiller (2010-11-06 22:02:04)
Offline
Just delete the xorg.conf.... it is generally not needed and it deprecated anyway.
Offline
How will it be properly configured if there are no configuration files in xorg.conf.d alluding to a device, monitors, or server layout?
I'm not up to speed on xorg 1.9's structure yet.
Offline
It uses udev. Standard configs are dropped into xorg.conf.d/ by some driver packages.
https://wiki.archlinux.org/index.php/Xorg
Offline
Again though, there is no configuration file for vesa. The only place that vesa is alluded to would be in the xorg.conf file.
Also, it finally allowed me to see the error (which didn't appear in the xorg log), and said something along the lines of
"Failed to set MTRR, 0xfb000000 somethingelsehere"
Does UDEV automatically detect the proper device to use?
I'm going to try creating a 10-monitor and scrap xorg.conf
Last edited by hwkiller (2010-11-06 16:44:36)
Offline
Alright, I'm posting from Lynx now from the computer.
The error is: "error setting MTRR (base=0xfb000000, size=0x00e00000, type = 1) Invalid Argument (22)
I scrapped the xorg.conf and created a 10-monitor.conf; inside of this I put in the bare essentials "Monitor, Device, Screen" and also tried the "NoMTRR" option under Screen. Any more suggestions?
Offline
maybe something in here:
https://bbs.archlinux.org/viewtopic.php?id=68093
I would really try without any custom configs first, one potential source of error less and it generally works without them. So you get into X, but have artifacts? What graphics do you have, did you try another driver then vesa?
Offline
Well, that still failed.
Here is a picture of the artifacts (excuse the use of an actual camera, I'm unaware of any other way while in this situation)
http://imgur.com/yqkLv.jpg
I haven't tried another driver. The reason I'm using Vesa is to ensure portability if I want to use Arch on another computer. On this same computer I'm running Arch on an nvidia card with the proprietary driver, and it works fine.
Additionally, apparently if I set the vga= mode in GRUB, I can get back to terminal once X fails.
If I don't, x fails, and I cannot see the terminal. However, I can type in the terminal as though it works. I just have to relogin on a different tty and issue a reboot blindly.
My GRUB settings are cleared, xorg monitor settings are default all except for a specified driver and "NoMTRR". Not sure what else to do.
Another hint is that when X starts, sometimes it flashes what looks to be my laptop's POST and linux's startup text; perhaps something to do with the framebuffer?
Last edited by hwkiller (2010-11-06 17:45:03)
Offline
Nvidia? Nouveau KMS will be auto-loaded. Try blacklisting it
cat /etc/modprobe.d/nouveau_blacklist.conf
blacklist nouveauOffline
Oh seriously? Let me try that out.
I didn't install nouveau, but there is a KMS assuming you do have it installed?
Offline
It ships with the kernel and KMS is enabled by default (although I don't know what the difference is to the xorg driver, you still need that one for X). The above file is added if you install the proprietary drivers because they don't work together, so maybe it is the same with vesa.
Offline
No go. Blacklisting noveau did stop KMS from changing resolution, but startx/X/xinit still fails with the error "error setting MTRR".
Going to try without any custom configs.
Offline
I'm using an arch setup on a usb pen in different machines
just do
pacman -S xf86-video-intel xf86-video-ati xf86-video-nouveau libgl mesa
and should work on most pc's at full performance
Nouveau needs a patch to work without a xorg.conf, theres an alternative (wiki - nouveau). Vesa usually fails on nvidia gpu's here.
(I haven't changed a thing to make xorg work with intel / ati / radeonhd, only nouveau requires a 20-nouveau.conf file)
.::. TigTex @ Portugal .::.
Offline
I just, to be absolutely sure, unnecessarily installed every package in the xorg-vide-drivers group. Now it is still giving me the "error setting MTRR" error, but is also saying "open /dev/fb0 : no such file or directory", which is the framebuffer device. Anyone know what to do?
Offline
Apparently nouveau is not in the video driver group. I manually installed it, and xorg failed and error'd saying that nouveau-dri did not exist. So I installed that as well. Now there are NO errors, but startingX is merely a black screen. Nothing is there.
Offline
what is in your ~/.xinitrc
Offline
Ah! Got it. Apparently TWM doesn't work for me. Openbox loaded right up though. Now to be overwhelmed by the customization.
Offline
if you want the framebuffer device to work do "pacman -S xf86-video-fbdev"
.::. TigTex @ Portugal .::.
Offline
if you want the framebuffer device to work do "pacman -S xf86-video-fbdev"
I'm not sure why it was trying to use the framebuffer device anyway; does vesa require it?
Also, it's automatically blacklisted for some reason.
Offline