Seite 1 von 2

Ubuntu 6.10 und Purepasic 3.94 -compiz deaktivieren- GELÖST

Verfasst: 25.11.2006 19:43
von uweb
Nach der Installation von Ubuntu 6.10 und Purepasic habe ich beim Aufruf vom pbcompiler die erwartete Meldung

Code: Alles auswählen

PureBasic 3.94 (Linux - x86) - (c) 2005 Fantaisie Software
A filename must be specified.
pbcompiler -h for help.
bekommen. Danach habe ich mir ein Skript geschrieben und vom Desktop ausgeführt.

Code: Alles auswählen

uwe@ubuntuP1500:~$ export PUREBASIC_HOME=/usr/share/purebasic
uwe@ubuntuP1500:~$ export PATH=$PUREBASIC_HOME/compilers:$PATH
uwe@ubuntuP1500:~$ purebasic
Gdk-ERROR **: BadMatch (invalid parameter attributes)
  serial 86 error_code 8 request_code 143 minor_code 3
Gdk-ERROR **: BadMatch (invalid parameter attributes)
  serial 94 error_code 8 request_code 143 minor_code 3
uwe@ubuntuP1500:~$ 
Nun bin ich mit meinem Latein am Ende.
gdk-Imlib11 und gdk-Imlib11-dev sind vorhanden.

Verfasst: 25.11.2006 19:47
von DarkDragon
GTK und GTK-Devel installiert? GDK auch?

Sicher, dass dein Verzeichnis nicht "purepasic" heißt?

Verfasst: 25.11.2006 19:50
von uweb
sowohl als auch - jeweils 1.2 und 2.0
Zumindest glaube ich das. Es ist schon eine ganze Weile her, daß ich zuletzt mit Linux herumgespielt habe. Diesmal will ich aber dabei bleiben.

edit :
/user/share/purebasic - stimmt

Verfasst: 25.11.2006 20:34
von ts-soft
In der xorg.conf muß compiz deaktiviert werden. Hinweise findeste im engl. Forum!

Verfasst: 25.11.2006 21:30
von uweb
Ich habe zwar einiges gefunden, glaube aber, daß das richtige nicht dabei war.
Zumindest hat sich nichts geändert.

/etc/x11/xorg.conf :

Code: Alles auswählen

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg


# #### war ein Tipp aus dem engl. PB-Forum ####
Section “Extensions”
	Option 		“Composite” “Disable”
EndSection
###############################################


Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
	FontPath	"/usr/share/fonts/X11/misc"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"NVIDIA Corporation NV17 [GeForce4 MX 440]"
	Driver		"nv"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-51
	VertRefresh	43-60
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA Corporation NV17 [GeForce4 MX 440]"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection

Re: Ubuntu 6.10 und Purepasic 3.94

Verfasst: 26.11.2006 01:23
von stbi
uweb hat geschrieben:... Purepasic
Werft den Purschen zu Poden! :lol:

Nix für ungut, aber die Vorlage war einfach unwiderstehlich. Jehoooova! :mrgreen:

Verfasst: 26.11.2006 01:24
von Kaeru Gaman
mist... stbi war schneller.. :mrgreen:

genau an den gag hab ich auch gedacht.

Verfasst: 26.11.2006 11:15
von uweb
OK, wer den Schaden hat braucht für Spott nicht zu sorgen.
Naja, selber schuld. Vor lauter Tippfaulheit habe ich den Tippi gleich multipliziert.

Was den Pfad und die Dateinamen angeht habe ich die vorhandenen benutzt und noch einmal kontrolliert.
Auch mein Skript ist wohl ok (mit "Burschen" und "Boden").

Code: Alles auswählen

uwe@ubuntuP1500:~$ export PUREBASIC_HOME=/usr/share/purebasic
uwe@ubuntuP1500:~$ export PATH=$PUREBASIC_HOME/compilers:$PATH
uwe@ubuntuP1500:~$ purebasic
Gdk-ERROR **: BadMatch (invalid parameter attributes)
  serial 86 error_code 8 request_code 142 minor_code 3
Gdk-ERROR **: BadMatch (invalid parameter attributes)
  serial 94 error_code 8 request_code 142 minor_code 3
Nach der o.g. Änderung wollte der XServer nicht mehr.

Code: Alles auswählen

sudo dpkg-reconfigure xserver-xorg
sudo /etc/init.d/gdm restart
Damit kam er wieder zum Laufen.
XGL (oder so ähnlich - habe ich mir dummerweise nicht notiert) habe ich bei der Gelegenheit abgewählt.
Mein Problem besteht aber immer noch.

Verfasst: 26.11.2006 14:01
von ts-soft
>> XGL (oder so ähnlich - habe ich mir dummerweise nicht notiert) habe ich bei der Gelegenheit abgewählt.
Würde ohne NVIDIA-Treiber sowieso nicht gehen, der NV-Treiber reicht da nicht
:wink:

Verfasst: 26.11.2006 14:44
von remi_meier
@uweb, du hast es falsch geschrieben.
Geh per Konsole nach
/etc/X11/
mach "sudo nano xorg.conf" (nano oder gedit oder was bei dir so geht)

dann fügst du die Zeilen wieder von Hand ein, Kate macht hier Schrott:
Nicht
# #### war ein Tipp aus dem engl. PB-Forum ####
Section “Extensions”
Option “Composite” “Disable”
EndSection

sondern
# #### war ein Tipp aus dem engl. PB-Forum ####
Section "Extensions"
Option "Composite" "Disable"
EndSection