|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
xfce4 issue
Hello, I installed xfce4 on my HPC but the graphic environment does not work! I made a starxfce4 but I have errors here my output :
Code:
# startxfce4 /usr/local/bin/startxfce4: Starting X server X.Org X Server 1.18.4 Release Date: 2016-07-19 X Protocol Version 11, Revision 0 Build Operating System: OpenBSD 6.1 i386 Current Operating System: OpenBSD hpc-tulipe.my.domain 6.1 GENERIC.MP#291 i386 Build Date: 01 April 2017 02:13:40PM Current version of pixman: 0.34.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Sat Sep 9 02:36:43 2017 (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d" xf86TokenToOptinfo: table is NULL xf86TokenToOptinfo: table is NULL (EE) Fatal server error: (EE) no screens found(EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. xinit: giving up xinit: unable to connect to X server: Connection refused xinit: server error # Code:
[ 44.798] (==) MGA(0): Using SW cursor [ 44.798] (--) MGA(0): Linear framebuffer at 0xF9000000 [ 44.798] (--) MGA(0): MMIO registers at 0xFBCFC000 [ 44.798] (--) MGA(0): Pseudo-DMA transfer window at 0xFB000000 [ 44.798] (EE) MGA(0): Unable to map Framebuffer F9000000 400000. Bad file descriptor (9) [ 44.798] (II) MGA(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 16/16 [ 44.798] (**) MGA(0): Depth 16, (--) framebuffer bpp 16 [ 44.798] (==) MGA(0): RGB weight 565 [ 44.799] (II) MGA(0): Disabling MTRR support. [ 44.799] (==) MGA(0): Using XAA acceleration [ 44.799] (WW) MGA(0): Could not retrieve video BIOS! [ 44.799] (EE) MGA(0): Unable to detect video RAM. [ 44.799] (II) UnloadModule: "mga" [ 44.799] (II) UnloadSubModule: "vgahw" [ 44.799] (II) Unloading vgahw [ 44.799] (EE) Screen(s) found, but none have a usable configuration. [ 44.799] (EE) Fatal server error: [ 44.799] (EE) no screens found(EE) [ 44.799] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 44.799] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 44.799] (EE) [ 44.802] (EE) Server terminated with error (1). Closing log file. philippe |
|
|||
Are you running as root on purpose? Stop that.
Try this: Code:
$ echo "exec startxfce4" > ~/.xinitrc $ startx |
|
|||
i have do it but before i tried to install Gnome and i do this commands :
Quote:
|
|
|||
Quote:
I would try renaming xorg.conf.d to x_backup and rebooting. These days, in OpenBSD, xorg auto-configuration is pretty good and rarely needs manual configuration. |
|
|||
I followed your recommendations rename the file xorg.conf.d but this failed, did you have another idea?
|
|
|||
If you are restricted to an mga(4) video card, I would review the linked man page and perhaps try to specify the type of chipset. Your Xorg.0.log also mentions it is unable to detect the amount of video ram - I wonder if you have a Millenium II chipset?
Quote:
|
|
|||
My quad cores is an HP proliant ML150 G6, in a quik specs of HP i found only :
32MB shared supporting 1600x1200x16M resolution |
|
|||
with dmesg i found :
Quote:
|
|
|||
Try placing 10-mga.conf in /etc/X11/xorg.conf.d with the following contents:
Code:
Section "Device" Identifier "Mga" Driver "mgag200 pci" EndSection 1) Option "MGASDRAM" "boolean" Specify whether G100, G200 or G400 cards have SDRAM. The driver attempts to auto-detect this based on the card's PCI subsystem ID. This option may be used to override that auto-detection. The mga driver is not able to auto-detect the presence of of SDRAM on secondary heads in multihead configurations so this option will often need to be specified in multihead configurations. Default: auto-detected. 2) Option "PciRetry" "boolean" Enable or disable PCI retries. Default: off. 3) Option "ForcePciDma" "boolean" This forces the use of PCI DMA even if AGP DMA could be used. This option is primarily intended for testing purposes, but it could also be used on systems with a buggy or poorly function AGP implementation. Default: off. |
|
|||
hello I have added the section 10-mga.conf in /etc/X11/xorg.conf.d,
I always have mistakes! here is my /var/log/Xorg.0.log Quote:
I do not understand why you send me the file /etc/X11/xorg.conf.d instead of xorg.conf? regards philippe |
|
|||
Quote:
|
|
|||
I reformat my hard drive and install Gnome, without errors during the instalation, Gnome this load automatically, but with the settings that you indicated to me in the xorg.conf.
I think there is not enough parameter in the xorg.conf, as for example the name of the video card which is "matrox" the ram is 32 mega bits and according to the manufacturer the maximum resolution is of 1600 * 1200 pixels and 16 million colors. I made a Gnome instalation procedure it works on several of my computers, but my video output is directly on the motherboard. I do not understand why we address a "PCI" in the xorg.conf because the video card is in the motherboard? I can not mount an additional video card because the motherboard has its two chipsets unable to manage a video card in port "PCI". my blade works under windows SBS, Debian 9, Centos 7, and I have another hard drive for BSDs (NetBSD, OpenBSD, FreeBSD). Not easy to get information on this video card. What should I do to complete the xorg.conf the /var/log/Xorg.0.log file : Code:
[ 24.211] (II) Loader magic: 0x34e6a020 [ 24.212] (II) Module ABI versions: [ 24.212] X.Org ANSI C Emulation: 0.4 [ 24.212] X.Org Video Driver: 20.0 [ 24.212] X.Org XInput driver : 22.1 [ 24.212] X.Org Server Extension : 9.0 [ 24.212] (--) PCI:*(0:3:0:0) 102b:0522:103c:31fa rev 2, Mem @ 0xf9000000/16$ [ 24.212] (II) LoadModule: "glx" [ 24.231] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so [ 24.306] (II) Module glx: vendor="X.Org Foundation" [ 24.306] compiled for 1.18.4, module version = 1.0.0 [ 24.306] ABI class: X.Org Server Extension, version 9.0 [ 24.306] (==) AIGLX enabled [ 24.306] (II) LoadModule: "mgag200pci" [ 24.310] (WW) Warning, couldn't open module mgag200pci [ 24.310] (II) UnloadModule: "mgag200pci" [ 24.310] (II) Unloading mgag200pci [ 24.310] (EE) Failed to load module "mgag200pci" (module does not exist, 0) [ 24.310] (EE) No drivers available. [ 24.310] (EE) Fatal server error: [ 24.310] (EE) no screens found(EE) [ 24.310] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 24.310] (EE) Please also check the log file at "/var/log/Xorg.0.log" for a$ [ 24.310] (EE) [ 24.311] (EE) Server terminated with error (1). Closing log file. Code:
[ 24.310] (EE) Failed to load module "mgag200pci" (module does not exist, 0) [ 24.310] (EE) No drivers available. it lacks a module! Best regards Philippe |
|
|||
My Mistake - I thought that "vga1 at pci5 dev 0 function 0 "Matrox MGA G200e" rev 0x02" meant you had a pci card.
For an agp card try Code:
Section "Device" Identifier "Matrox" Driver "mgag200" EndSection |
|
|||
I have error Failed to load module "mgag200" (module does not exist, 0)
the module does not exist in the OpenBSD database, where i can find the module "mgag200", you have to go to the site of the manufacturer, how to procure such a module? Quote:
Philippe |
|
|||
In this Ubuntu thread it indicates that XAA rendering was removed by Xorg. You can try EXA (below) or disabling Acceleration entirely.
Code:
Section "Device" Identifier "Mga" Driver "mga" Option "AccelMethod" "EXA" EndSection Quote:
Last edited by shep; 16th September 2017 at 11:00 PM. Reason: Options -> Option |
|
|||
it's better not still good !
Quote:
thank you for your help !!! I go to bed ! with NetBSD 7.0.2 and pkgsrc2017Q2, I successfully compiled xfce4-desktop, it works! Regards Philippe |
|
|||
i have deactivate Option "AccelMethod" "EXA" but Gnome doesn't load !
|
|
|||
One of your logs tells to make sure that machdep.allowaperture=1
So, add "machdep.allowaperture=1" to /etc/sysctl.conf and reboot. If it still doesn't work, give us your dmesg outpud and Xorg.0.log So, maybe it wasn't necessary to edit xorg's configuration. BTW, running DE as root is really dumb idea.
__________________
mazocomp$ uname -a OpenBSD mazocomp.lan 6.3 GENERIC.MP#47 amd64 mazocomp$ |
|
|||
Also note that machdep.allowaperture should be 1 or 2 only if it's necessary, because it's secure to keep it 0.
__________________
mazocomp$ uname -a OpenBSD mazocomp.lan 6.3 GENERIC.MP#47 amd64 mazocomp$ |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
xfce4 issue | philo_neo71 | NetBSD Package System (pkgsrc) | 6 | 28th May 2018 12:11 PM |
xfce4 work fine, but gnome issue | philo_neo71 | OpenBSD Packages and Ports | 10 | 9th September 2016 01:12 AM |
xfce4 issue on sun blade | philo_neo71 | NetBSD Package System (pkgsrc) | 1 | 30th May 2016 02:56 AM |
OpenBSD xfce4 | kaschei | OpenBSD General | 5 | 28th June 2009 08:45 PM |
XFCE4 on 7.0 | TMD3 | FreeBSD Ports and Packages | 3 | 26th July 2008 03:22 AM |