Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
S
scom
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
scom
Commits
ac4a59e9
Kaydet (Commit)
ac4a59e9
authored
Ara 07, 2007
tarafından
Fatih Aşıcı
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
change kernel option: xorg=composite --> enable_composite
üst
2e9f6438
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
zorg
zorg/zorg
+10
-7
No files found.
zorg/zorg
Dosyayı görüntüle @
ac4a59e9
...
...
@@ -632,10 +632,13 @@ class intelWorkaround:
run
(
*
cmd
)
def
getKernelOpt
(
cmdopt
):
for
cmd
in
""
.
join
(
loadFile
(
"/proc/cmdline"
))
.
split
():
if
cmd
.
startswith
(
"
%
s="
%
cmdopt
):
return
cmd
[
len
(
cmdopt
)
+
1
:]
.
split
(
","
)
def
getKernelOpt
(
cmdopt
=
None
):
if
cmdopt
:
for
cmd
in
""
.
join
(
loadFile
(
"/proc/cmdline"
))
.
split
():
if
cmd
.
startswith
(
"
%
s="
%
cmdopt
):
return
cmd
[
len
(
cmdopt
)
+
1
:]
.
split
(
","
)
else
:
return
""
.
join
(
loadFile
(
"/proc/cmdline"
))
.
split
()
return
""
...
...
@@ -906,7 +909,7 @@ def keysVideoCards(cards):
keys_vc
[
"AIGLX_OPTS"
]
=
""
if
"
composite"
in
getKernelOpt
(
"xorg"
):
if
"
enable_composite"
in
getKernelOpt
(
):
if
cards
[
i
]
.
Driver
in
(
"ati"
,
"intel"
):
keys_vc
[
"AIGLX_OPTS"
]
=
'Option "XAANoOffscreenPixmaps" "true"'
...
...
@@ -946,7 +949,7 @@ def keysMonitors(monitors, cards):
else
:
keys_mon
[
"DEPTH"
]
=
"16"
if
cards
[
i
]
.
Driver
==
"ati"
and
"
composite"
in
getKernelOpt
(
"xorg"
):
if
cards
[
i
]
.
Driver
==
"ati"
and
"
enable_composite"
in
getKernelOpt
(
):
keys_mon
[
"DEPTH"
]
=
"24"
sec_monitor
+=
template_monitor
%
keys_mon
...
...
@@ -1060,7 +1063,7 @@ def autoConfigure():
# Enable composite extension if requested
keys_main
[
"AIGLX_OPTS"
]
=
""
if
"
composite"
in
getKernelOpt
(
"xorg"
):
if
"
enable_composite"
in
getKernelOpt
(
):
keys_main
[
"COMPOSITE"
]
=
composite_option
if
cards
[
0
]
.
Driver
in
(
"ati"
,
"intel"
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment